PDA

View Full Version : reqeust for guidance



kommuru
01-02-2005, 08:52 AM
Hi,
I am beginner in using opengl.I have windows xp on my system.I have visual c++ 2005 and included gl,glu,glut.h files in GL directory in
c:/program files/microsoftvs8/vc/include/GL
and library files glu32,glut32 and opengl32 in
c:/program files/microsoftvs8/vc/lib
and dll's in C:/windows/system32

and i have opened win32 console empty project
and have written a simple program.
when i run the project I am getting the following error
c:\Programme\Microsoft Visual Studio 8\VC\vcprojects\cse\cse1.cpp(1) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Build log was saved at "file://c:\Programme\Microsoft Visual Studio 8\VC\vcprojects\cse\Debug\BuildLog.htm"
cse - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

please let me know what changes i have to make so that the project runs successfully.

Thanks
for ur guidance

zukko
01-02-2005, 03:59 PM
use the win 32 application option.