Can't compile g++ simple console executable.
Posted: Mon May 06, 2013 2:30 am
hello.
I installed the codelite-5.1.0-mingw4.7.1-wx2.9.4.exe on Windows XP sp3.
The Codelite is installed in the directory c:\Codelite.
The Mingw is installed in the directory c:\Mingw-4.7.1.
I added the path in windows c:\Mingw-4.7.1\bin.
When trying to compile the g++ simple console executable from template project
I get an error like this:
Can anyone help me solve this problem?
Greetings.
I installed the codelite-5.1.0-mingw4.7.1-wx2.9.4.exe on Windows XP sp3.
The Codelite is installed in the directory c:\Codelite.
The Mingw is installed in the directory c:\Mingw-4.7.1.
I added the path in windows c:\Mingw-4.7.1\bin.
When trying to compile the g++ simple console executable from template project
Code: Select all
#include <stdio.h>
int main(int argc, char **argv)
{
printf("hello world\n");
return 0;
}
Code: Select all
C: \ WINDOWS \ system32 \ cmd.exe / c "mingw32-make.exe-j 1-e-f" Hello_world_wsp.mk ""
---------- Building project: [hello_world - Debug] ----------
mingw32-make [1]: Entering directory `C :/ Devel/w32/Codelite/hello_world '
mingw32-make [1]: *** [Debug / .d] Error 259
Hello_world.mk: 88: recipe for target `Debug / .d 'failed
mingw32-make [1]: Leaving directory `C :/ Devel/w32/Codelite/hello_world '
mingw32-make.exe: *** [All] Error 2
Hello_world_wsp.mk: 4: recipe for target `all 'failed
0 errors, 0 warnings
Greetings.