We have some code written for a RedHat 64 bit machine with Nvidia which utilses opengl for its visualization routines. In fact it uses some of the ArcBall routine from NeHe tutorial site.
The code has been ported to a dell laptop running ubuntu 9.04. The trouble is now how to compile the code or rather get the correct libraries installed. The files make reference to the following header files:
and the Makefile looks like this:
OBJS=Main.o Viewer.o ArcBall.o
LIBS=-L/usr/X11R6/lib64 -lGLU -lGL -lgd -lXxf86vm -lpthread
$(CXX) $(OBJS) -o $@ $(LIBS)
In a nutshell, how best to find the right versions of openGL. I appreciate that there are different versions and have used synaptic to demo a few of them, however am suffering from the compilation error:
Main.cpp:5:20: error: GL/glu.h: No such file or directory
Therefore is there a checklist of what should be installed to get this code running or at least the libraries installed?
Thanks in advance.