Hey, I was writing an opengl program and it happens that i have a problem with linking with math3d.h.
I am using ubuntu and g++.
The thing is that i dint install the package for the math3d coz i got the header file and a cpp file from the net with opengl superbible. So i just copied the header file and .cpp file to the local directory and did
#include "math3d.h"
But the thing is that i used to use swithes to link the other header files like gl.h, glu.h ,glut.h by giving.
g++ test.cpp -lGL -lGLU -lglut.
But i dont know what to give for math3d. I get an error saying undefined reference to the fucntions. This error i used to get when i dont give -lGL etc for the functions in those respective libraries.
I am totally stuck here and i dont know what to do and without this i cannot go forward.
please help me.
Thank you.