• Advertisement
Sign in to follow this  

problem with headers

This topic is 1776 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

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

Share this post


Link to post
Share on other sites
Advertisement

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!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement