pheserus
October 16th, 2011, 09:36 PM
I recently installed Xubuntu 11.10, and as I tried to recompile one of my C++/OpenGL applications that I got a bunch of errors.
I used this command:
g++ -lSDL -lGL -lGLU main.cppAnd I got:
undefined reference to `glBegin'
undefined reference to `glVertex3f'
undefined reference to `glEnd'Those are just a few. the list is really long. I was able to compile just fine before, so I checked and I can't find any of the OpenGL libraries that I used to have. Can anyone tell me what packages I need to install?
I used this command:
g++ -lSDL -lGL -lGLU main.cppAnd I got:
undefined reference to `glBegin'
undefined reference to `glVertex3f'
undefined reference to `glEnd'Those are just a few. the list is really long. I was able to compile just fine before, so I checked and I can't find any of the OpenGL libraries that I used to have. Can anyone tell me what packages I need to install?