I put .h file under include/gl folder
.lib file under lib folders
under directory sdk/v6.1 as guided
.dll under window/system32 folder
Main Topics
Browse All TopicsI used visual c ++ express edition 2005. I run my program and i got a message above:Cannot open include file: 'GL/glut.h. can anyone help me how to setup work environment for visual c++ express edition2005
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Have you installed GLUT ?
http://www.opengl.org/reso
1>Compiling...
1>Homework2.cpp
1>c:\users\aly\documents\vi
1>Build log was saved at "file://c:\Users\aly\Docum
1>Homework2 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I put .h file(glut.h file) into this directory
C:\Program Files\Microsoft SDKs\Windows\v6.1\Include\
then put .lib file into lib folders
C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib
then I put glut32.dll into windows/system32 directory folder
after that I open vs c++ 2005 to create new project. then I open properties from new project , go to linker , choose input and add GlU32.Lib OpenGL32.Lib freeglut.lib glut32.lib to Additional dependencies. I still got problem after those step. Can you give me an advice
Business Accounts
Answer for Membership
by: PieterVbPosted on 2009-03-06 at 17:32:28ID: 23822692
Have you installed OpenGL and the OpenGL Utility Toolkit (GLUT)?
Have you added the folders containing the OpenGL and the GLUT headers to your includepath? (or in this case, the parent folders)
When that is fixed, have you added the OpenGL and GLUT lib-folder to your libpath?