Advertisement

GLUT Question

Started by March 18, 2002 08:52 PM
1 comment, last by jwblair 22 years, 11 months ago
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
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
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]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
Advertisement
Thanks....I feel so stupid now...But I have learned! Thanks!
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

This topic is closed to new replies.

Advertisement