Archived

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

jwblair

GLUT Question

Recommended Posts

jwblair    122
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."
http://members.home.com/chucklez/wtc/index.html

Share this post


Link to post
Share on other sites
Fruny    1658
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