i tried to compile(MS VC++) the first example in the book OPENGL, programming guide,second edition–hello.c

its giving the following error…

fatal error C1083: Cannot open precompiled header file: ‘Debug/hello.pch’: No such file or directory
Error executing cl.exe.

whats the problem???


Disable precompiled headers.

In Project/Settings,“C/C++” Tab, Category: “Precompiled Headers”.
Check “Not using precompiled headers”

You can also first do a Clean, then do a Rebuild All.