To reproduce:
- create a new "Executable (G++)" project
- under "Project Settings -> Global Settings", enter several libraries (like "SDL GL GLU")
- build the project
The build will fail. This is an example build window output:
Code: Select all
----------Build Started--------
/bin/sh -c '"make" -j 2 -f "gridfire_wsp.mk"'
----------Building project:[ gridfire - Debug ]----------
make[1]: Entering directory `/home/johannes/code/tests/gridfire'
g++ -o ./Debug/gridfire ./Debug/main.o -L. -lSDL GL GLU
g++: GL: No such file or directory
g++: GLU: No such file or directory
make[1]: *** [Debug/gridfire] Error 1
make[1]: Leaving directory `/home/johannes/code/tests/gridfire'
make: *** [All] Error 2
----------Build Ended----------
0 errors, 0 warnings
Code: Select all
g++ -o ./Debug/gridfire ./Debug/main.o -L. -lSDL GL GLU
Code: Select all
g++ -o ./Debug/gridfire ./Debug/main.o -L. -lSDL -lGL -lGLU
Both are always reproducible. Tested with v2.10.4778 installed from Ubuntu repository as well as binaries built from SVN trunk (Revision 5008). Running Ubuntu 11.04 x86 32-bit.