Author Topic: code blocks doesnt want to build ( problem solved)  (Read 311 times)

Offline Schmidty

  • Single posting newcomer
  • *
  • Posts: 3
code blocks doesnt want to build ( problem solved)
« 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
« Last Edit: July 25, 2019, 08:02:14 pm by Schmidty »

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2432
Re: code blocks doesnt want to build
« Reply #1 on: July 25, 2019, 01:09:10 pm »
install a compiler....
Or install codeblocks that is bundled with a compiler...

Offline Schmidty

  • Single posting newcomer
  • *
  • Posts: 3
Re: code blocks doesnt want to build
« Reply #2 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

Online stahta01

  • Lives here!
  • ****
  • Posts: 6589
    • My Best Post
Re: code blocks doesnt want to build
« Reply #3 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)
« Last Edit: July 25, 2019, 03:04:08 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Schmidty

  • Single posting newcomer
  • *
  • Posts: 3
Re: code blocks doesnt want to build
« Reply #4 on: July 25, 2019, 08:01:30 pm »
thanks , it worked  :)