User forums > Help

Building Error

<< < (2/2)

Jeman:
I followed those instructions and this is all i get in the Build Log
-------------- Build: Debug in LOLOL ---------------

mingw32-g++.exe -Wall -fexceptions  -g     -c "C:\Users\Jordan\Desktop\C++ Stuffs\Tutorials\LOLOL\main.cpp" -o obj\Debug\main.o
Execution of 'mingw32-g++.exe -Wall -fexceptions  -g     -c "C:\Users\Jordan\Desktop\C++ Stuffs\Tutorials\LOLOL\main.cpp" -o obj\Debug\main.o' in 'C:\Users\Jordan\Desktop\C++ Stuffs\Tutorials\LOLOL' failed.
Nothing to be done.
Also when i installed it i selected full installiation

stahta01:
So you confirmed the exe existed; what folder was the exe inside of?

What folder is the Code::Blocks toolchain set to use?
(Also called the Compiler's Installation Directory)
seen via "Settings->Compiler and Debugger->Global Compiler settings->Toolchain executables"


Tim S.  

Jeman:
C:\Program Files\CodeBlocks\MinGW

stahta01:

--- Quote from: Jeman on May 27, 2012, 02:58:01 am ---C:\Program Files\CodeBlocks\MinGW

--- End quote ---

You MUST CONFIRM that the file mingw32-g++.exe exists inside the folder "C:\Program Files\CodeBlocks\MinGW\bin".
Does it exist?

Tim S.

stahta01:
What is needed to be done to test the command issued by CB works on the command line.
Open the CMD.exe command window and enter the below lines one at a time.
NOTE: You can skip the line(s) starting with REM.

--- Code: ---REM Set path to what CB uses
SET PATH=C:\Program Files\CodeBlocks\MinGW\bin;%PATH%

REM Directory to what CB used
CD /D "C:\Users\Jordan\Desktop\C++ Stuffs\Tutorials\LOLOL"

REM Command used by CB
mingw32-g++.exe -Wall -fexceptions -g -c "C:\Users\Jordan\Desktop\C++ Stuffs\Tutorials\LOLOL\main.cpp" -o obj\Debug\main.o

--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version