Hi All,
I have some opengl code that runs great, when I compile it on my laptop or works PC it compiles great. However on my new PC it reports a single opengl error. My new PC has ATI cataylst drivers, which according to manufacturer are correct. However when I run it I get the following error
Code:
/usr/bin/ld: /tmp/ccxGyjOs.o: undefined reference to symbol 'glNormal3f'
/usr/bin/ld: note: 'glNormal3f' 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: ld returned 1 exit status
make: *** [all] Error 1
As I said the code compiles on my laptop and desktop (both nvdia) but not my new PC (ati) so is there n issue with the ati driver, does anyone know a way round this?
Should add I do include in my libs GAME_LIBS = -lpthread `sdl-config --cflags --libs` -lSDL_mixer -lSDL_image -lSDL_ttf -lGLEW
Thanks