Link to home
Start Free TrialLog in
Avatar of Corey_Griffin
Corey_Griffin

asked on

not compiling

how can i get this code to run on Visual Studio 6:

http://jmoiron.net/media/code/checkers.c.txt

//the error i get
compiling...
Cpp1.cpp
c:\documents and settings\galuser10104\my documents\cpp1.cpp(1) : fatal error C1083: Cannot open include file: 'GL/glut.h': No such file or directory
Error executing cl.exe.

Cpp1.exe - 1 error(s), 0 warning(s)
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
As I said in the previous post,

You need to add the include file path in VC IDE tools->options->directories, under include section , add you GL folder path

Best Regards,
DeepuAbrahamK
>>As I said in the previous post

Thanks. No need to repeat posts.
glut can be found at somwhere on:
http://www.opengl.org/

A tutorial on Glut at:
http://www.lighthouse3d.com/opengl/glut/

Regards
Friedrich
if you want to use glut in more than one projects you can add the GLUT include directory (subdiretc at

    Tools - Options - Directories - Include Directories

Additionally you should add the GLUT library path to    

    Tools - Options - Directories - Library Directories

Regards, Alex