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)
C++C

Avatar of undefined
Last Comment
itsmeandnobodyelse
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
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
Avatar of jkr
jkr
Flag of Germany image

>>As I said in the previous post

Thanks. No need to repeat posts.
Avatar of F. Dominicus
F. Dominicus
Flag of Germany image

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
 
C++
C++

C++ is an intermediate-level general-purpose programming language, not to be confused with C or C#. It was developed as a set of extensions to the C programming language to improve type-safety and add support for automatic resource management, object-orientation, generic programming, and exception handling, among other features.

58K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo