where are the opengl libraries get stored on ubuntu9.10 : i need this to mention in my make file and what are all the link files i need to mention
Install these to get OpenGL working:
sudo apt-get install mesa-common-dev
sudo apt-get install freeglut3
sudo apt-get install freeglut3-dev
The OpenGL files should be in:
/usr/include/GL/
The Terminal (Compiler) reads (e.g. g++) from:
/usr/bin/
Compile like this (you might need to link more libraries, but test this):
g++ filename -lglut -lGL -lGLU
/usr/lib/libGL.so
link with -lGL
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With