Can you post some more info? like how your compilers are configured? the build error?
Eran
New programmer: Build issue
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: New programmer: Build issue
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 1
- Joined: Wed Aug 20, 2014 11:11 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: New programmer: Build issue
I am having the same SHELL environment issue with CodeLite (we have to have Cygwin installed as well as CodeLite with MinGW). I tried the pre-release 6.1 version that is referenced in this thread, but now I get a different error:
It looks like g++ thinks that 'C:/Users/itstaff/Desktop/test/main.cpp -g' is somehow a file name rather than a file name and an option?
The file itself certainly exists and just contains:
Any help would be appreciated.
Code: Select all
C:\Windows\system32\cmd.exe /c "C:/MinGW-4.8.1/bin/mingw32-make.exe -j4 -e -f Makefile"
----------Building project:[ test - Debug ]----------
mingw32-make[1]: Entering directory 'C:/Users/itstaff/Desktop/test'
C:/MinGW-4.8.1/bin/g++.exe -c "C:/Users/itstaff/Desktop/test/main.cpp" -g -O0 -Wall -o ./Debug/main.cpp.o -I. -I.
g++.exe: error: C:/Users/itstaff/Desktop/test/main.cpp -g: No such file or directory
g++.exe: fatal error: no input files
compilation terminated.
mingw32-make[1]: *** [Debug/main.cpp.o] Error 1
test.mk:94: recipe for target 'Debug/main.cpp.o' failed
mingw32-make[1]: Leaving directory 'C:/Users/itstaff/Desktop/test'
mingw32-make.exe: *** [All] Error 2
Makefile:4: recipe for target 'All' failed
1 errors, 0 warnings
The file itself certainly exists and just contains:
Code: Select all
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}