Execution of 'mingw32-g++.exe -Wall -g -I"C:\Program Files\CodeBlocks\MinGW\include" -c D:\Programming\C++\TESTINGOPENGL\main.cpp -o obj\Debug\main.o' in 'D:\Programming\C++\TESTINGOPENGL' failed.What happens if you open a command shell, go into the directory "D:\Programming\C++\TESTINGOPENGL" and then enter (exactly like that):
Nothing to be done."
SET PATH=C:\Program Files\CodeBlocks\MinGW\bin;%PATH%
cd /D D:\Programming\C++\TESTINGOPENGL
That was a step in the right direction, it gave me a few syntax errors... but I would like to be able to run this from C::B. Do I have to make some kind of batch file?No. That means that either:
Before Morten command you might need to set the path to find MinGW GCC by doing the following in the command shell.Sorry, but that is not right, and would spoil what I have in mind. Please don't do that, just do the one command line I said in a plain new command shell.
Tim S.CodeSET PATH=C:\Program Files\CodeBlocks\MinGW\bin;%PATH%