Eclipse C++ OpenGL - Cant Build Project -


i installed eclipse on new pc (using mint 17.1) , run error every project far. problem when want launch project error:

"launch failed. binary not found."

i tried build project 2 errors:

./src/main.o: undefined reference symbol 'glenable' make: *** [opengl] fehler 1 

here console log:

01:49:45 **** incremental build of configuration debug project opengl **** make  building target: opengl invoking: gcc c++ linker g++ -l/usr/lib/ -l/usr/lib/x86_64-linux-gnu/mesa/ -o "opengl"  ./src/main.o   -lglut -lglu  /usr/bin/ld: ./src/main.o: undefined reference symbol 'glenable' //usr/lib/x86_64-linux-gnu/mesa/libgl.so.1: error adding symbols: dso missing command line collect2: error: ld returned 1 exit status make: *** [opengl] fehler 1  01:49:45 build finished (took 127ms) 

i searched web solutions can't seem find solution works.

based on error log, haven't linked -lgl. try adding libraries in linker settings


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -