Jump to content

  • Log In with Google      Sign In   
  • Create Account


problem with headers


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 moeen k   Members   -  Reputation: 395

Like
0Likes
Like

Posted 08 March 2013 - 04:16 PM

hi. im new with open gl and i have a problem in make a project. when i add gltools.h in head of my file and write my project there is an erroe that say there is no such file or directory for gl\glew.h 

i didnt use this header but gltools.h file there is this header . but the file of this header is nowhere and i couldnt fint it. please tell me how to st up my project. i made it in both 2008 and 2010 visual studios and attached all important *.lib files. but there is still this error.

thanks



Sponsor:

#2 Nercury   Crossbones+   -  Reputation: 766

Like
0Likes
Like

Posted 08 March 2013 - 04:41 PM

If you download GLEW binary archive, you can find all header files in /include folder.



#3 blueshogun96   Crossbones+   -  Reputation: 873

Like
0Likes
Like

Posted 08 March 2013 - 06:52 PM

Adding to what Nercury just said, you also need to add the include and lib directories in your visual studio project.  That, or you could copy and paste the proper files into the actual include/lib directories in your Visual Studio installation.

 

I'm assuming you are also new to Visual Studio.  If you don't know how to set the above directories, read this blog article that explains how to do it in both 2008 and 2010.  http://blogs.msdn.com/b/vsproject/archive/2009/07/07/vc-directories.aspx

 

Shogun!


Follow Shogun3D on the official website: http://shogun3d.net

 

blogger.png twitter.png tumblr_32.png facebook.png





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS