News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

code blocks doesnt want to build ( problem solved)

Started by Schmidty, July 25, 2019, 01:06:31 PM

Previous topic - Next topic

Schmidty

I have just downloaded code blocks and im too sure what is happening but when i attempt to build and run i get this error message
Execution of 'mingw32-g.exe  -o bin\Debug\tese.exe obj\Debug\main.o' in 'E:\CMPG\tese' failed.

could someone please help me

BlueHazzard

install a compiler....
Or install codeblocks that is bundled with a compiler...

Schmidty

i attempted that by deleting my codeblocks i had and downloading one with a compiler yet it didnt fix it
-------------- Build: Debug in tese (compiler: GNU GCC Compiler)---------------

mingw32-g.exe  -o bin\Debug\tese.exe obj\Debug\main.o   
Execution of 'mingw32-g.exe  -o bin\Debug\tese.exe obj\Debug\main.o' in 'E:\CMPG\tese' failed.

-------------- Run: Debug in tese (compiler: GNU GCC Compiler)---------------

Checking for existence: E:\CMPG\tese\bin\Debug\tese.exe

thats the full message it shows me

stahta01

#3
Fix the toolchain settings

Change "mingw32-g.exe" to "mingw32-g++.exe" or "mingw32-gcc.exe" (if you want to only do C programming)
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Schmidty