PDA

View Full Version : Open GL issue



megibyan
18th July 2013, 15:27
Hi,

Maybe I place some files in wrong folders and now glut.lib cannot be read. Could anyone tell me step-by-step, were to put all .lib and .h files for glut work normally.

regards,
Mikael

ChrisW67
18th July 2013, 21:43
You install GLUT on Windows wherever you want to. You then tell your compiler and linker where to find the includes and libraries respectively. Your application needs to find the DLL at run time using the standard Windows mechanisms.

If this question is related to Qt then you probably need to read QMake, Declaring Other Libraries

saman_artorious
23rd July 2013, 10:08
Hi,

Maybe I place some files in wrong folders and now glut.lib cannot be read. Could anyone tell me step-by-step, were to put all .lib and .h files for glut work normally.

regards,
Mikael

you need to add the libraries to your .pro file. for GL utility library, you need to add
LIBS += -lGLUT