Guys - I am a new user and I apologize in advance if this is a trivial question…
My setup is as follows: Dell XPS 410, Intel Duo Core, Win XP 32, VS2005 Express, GeForce 8600GTS (also used for primary display device).
I have recently upgraded to the newly released V1.1 Toolkit, SDK and V169 Forceware driver. I can now NOT compile any of the examples in the SDK which use open GL, or contain the following header:
#ifdef _WIN32
define WINDOWS_LEAN_AND_MEAN
include <windows.h>
#endif
#include <cuda_gl_interop.h>
#include <cutil.h>
Depending on the project, I get a multitude of ‘file not found’ errors pertaining to windows.h, win.h, GL/gl.h, etc… All other SDK example appear to work fine.
A typical error message looks like the following:
1>------ Build started: Project: postProcessGL, Configuration: Release Win32 ------
1>Performing Custom Build Step
1>postProcessGL.cu
1>C:\CUDA\include\cuda_gl_interop.h(46) : fatal error C1083: Cannot open include file: ‘GL/gl.h’: No such file or directory
Or,
1>------ Build started: Project: fluidsGL, Configuration: Release Win32 ------
1>Performing Custom Build Step
1>fluidsGL.cu
1>c:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK\common\inc\GL/glew.h(1123) : fatal error C1083: Cannot open include file: ‘GL/glu.h’: No such file or directory
Based on other posts, I uninstalled the Driver, Tookit and SDK and reinstalled them exactly in that order… Same result…
I suspect that for some reason that I don’t have an include path set correctly, or all of the required project files are not being installed to the correct location. Funny thing is that the only copies of windows.h and win.h I had on my hard drive were in a Matlab 2007b include directory. Some of the GL files, such as GL/glu.h (as required by the fluidsGL program) are NOT on my hard drive at all!
I was able to run all of the examples in the V1.0 SDK just fine, and I never needed to modify a path, or add a file…
I definitely appreciate any insight anyone might have.
Thanks!