Using GLUT..........

A

Advait

Hello everyone,


I am using GCC through DevC++ & Code Block Studio IDEs.
I got libraries "gl" & "glu" with these IDEs.
Programs based on these two libs gl & glu are executing well.
I want to use "glut" library. So I downloaded glut
package and copied it to respective folders i.e. to


include\GL\glut.h
lib\glut32.lib
and
%WinDir%\System\glut32.dll


then I test a glut program; It complied successfully
but while linking it gave me a list of errors.
Which setting do I need to change ?
If you know, Please guide me to overcome the problem !!!


yours
Advait
 
O

Ondra Holub

Advait napsal:
Hello everyone,


I am using GCC through DevC++ & Code Block Studio IDEs.
I got libraries "gl" & "glu" with these IDEs.
Programs based on these two libs gl & glu are executing well.
I want to use "glut" library. So I downloaded glut
package and copied it to respective folders i.e. to


include\GL\glut.h
lib\glut32.lib
and
%WinDir%\System\glut32.dll


then I test a glut program; It complied successfully
but while linking it gave me a list of errors.
Which setting do I need to change ?
If you know, Please guide me to overcome the problem !!!


yours
Advait

Well. Your question is off topic here, because it is not related to
standard C++ language and discusses some environment issues.

In Code::Blocks open your project, select from menu Project->Build
Options, on the left side select your target, on the right side slect
Linker, add there your .lib file, then select Directories, tab Linker
and add path to your .lib file there. It should work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top