Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


GLUT Question

This topic is 5970 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello All... I am currently using VC++ 6.0 and I am wondering why I must explicity tell my program where my glut.h file is. Currently I have: #include <\Program Files\Microsoft Visual Studio\VC98\Include\GL\glut.h> What I would like to have is: #include <glut.h> If I do it the first way how can I ensure that everyone has the file in the same place? I just cant. How can I make this declaration more generic so that it can be used with anyone on any windows based machine? Anything would help... Thanks! John William Blair
"The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, shepherds the weak through the valley of the darkness. For he is truly his brother''s keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee."

Share this post

Link to post
Share on other sites
Just write #include<GL/glut.h>.
Glut.h is supposed to go in the same place as your other GL headers, in the include/GL/ directory.

[edited by - Fruny on March 18, 2002 10:02:11 PM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!