Code::Blocks Forums

User forums => Help => Topic started by: Schmidty on July 25, 2019, 01:06:31 pm

Title: code blocks doesnt want to build ( problem solved)
Post by: Schmidty on July 25, 2019, 01:06:31 pm
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
Title: Re: code blocks doesnt want to build
Post by: BlueHazzard on July 25, 2019, 01:09:10 pm
install a compiler....
Or install codeblocks that is bundled with a compiler...
Title: Re: code blocks doesnt want to build
Post by: Schmidty on July 25, 2019, 01:12:28 pm
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
Title: Re: code blocks doesnt want to build
Post by: stahta01 on July 25, 2019, 02:39:53 pm
Fix the toolchain settings

Change "mingw32-g.exe" to "mingw32-g++.exe" or "mingw32-gcc.exe" (if you want to only do C programming)
Title: Re: code blocks doesnt want to build
Post by: Schmidty on July 25, 2019, 08:01:30 pm
thanks , it worked  :)
Title: Re: code blocks doesnt want to build ( problem solved)
Post by: Saadkhalid on June 10, 2020, 10:17:21 am
https://youtu.be/1QYgFiKGk3k

This video is complete tutorial to download and install codeblocks on windows pc.