Skip to content

Instantly share code, notes, and snippets.

@TheFlipside
Created September 11, 2013 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheFlipside/6529022 to your computer and use it in GitHub Desktop.
Save TheFlipside/6529022 to your computer and use it in GitHub Desktop.
g++ -I/usr/include/freetype2 -g -O2 -o .libs/simple simple-simple.o /usr/lib/libfreetype.so -lz -lbz2 /usr/lib/libglut.so -lm ../src/.libs/libftgl.so
/usr/bin/ld: simple-simple.o: undefined reference to symbol 'glEnable'
/usr/bin/ld: note: 'glEnable' is defined in DSO /usr/lib/libGL.so.1 so try adding it to the linker command line
/usr/lib/libGL.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [simple] Error 1
make[2]: Leaving directory `/sources/ftgl-2.1.3~rc5/demo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/ftgl-2.1.3~rc5'
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment