关于VC、OpenGL,这个异常如何解决
关于VC、OpenGL,这个错误怎么解决?
源代码在http://topic.****.net/u/20100419/18/5230fca7-cd6b-45f4-9a8c-87ffd9ba9301.htmlcode=C/C++框里。
------解决方案--------------------
'glew.h'是什么文件,是OpenGL的最新的头文件吗?如果是可能是你的Windows系统还没有在默认的头文件目录下加入这个头文件,你可以把'glew.h'和相对应的库文件拷到的的工程目录下就可以了。
------解决方案--------------------
'glew.h'是什么文件,是OpenGL的最新的头文件吗?如果是可能是你的Windows系统还没有在默认的头文件目录下加入这个头文件,你可以把'glew.h'和相对应的库文件拷到你的工程目录下就可以了。
------解决方案--------------------
http://glew.sourceforge.net/install.html
To use the shared library version of GLEW, you need to copy the headers and libraries into their destination directories. On Windows this typically boils down to copying:
bin/glew32.dll to %SystemRoot%/system32
lib/glew32.lib to {VC Root}/Lib
include/GL/glew.h to {VC Root}/Include/GL
include/GL/wglew.h to {VC Root}/Include/GL
where {VC Root} is the Visual C++ root directory, typically C:/Program Files/Microsoft Visual Studio/VC98 for Visual Studio 6.0 or C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/PlatformSDK for Visual Studio .NET.
On Unix, typing make install will attempt to install GLEW into /usr/include/GL and /usr/lib. You can customize the installation target via the GLEW_DEST environment variable if you do not have write access to these directories.
- C/C++ code
fatal error C1083: Cannot open include file: 'glew.h': No such file or directory
源代码在http://topic.****.net/u/20100419/18/5230fca7-cd6b-45f4-9a8c-87ffd9ba9301.htmlcode=C/C++框里。
------解决方案--------------------
'glew.h'是什么文件,是OpenGL的最新的头文件吗?如果是可能是你的Windows系统还没有在默认的头文件目录下加入这个头文件,你可以把'glew.h'和相对应的库文件拷到的的工程目录下就可以了。
------解决方案--------------------
'glew.h'是什么文件,是OpenGL的最新的头文件吗?如果是可能是你的Windows系统还没有在默认的头文件目录下加入这个头文件,你可以把'glew.h'和相对应的库文件拷到你的工程目录下就可以了。
------解决方案--------------------
http://glew.sourceforge.net/install.html
To use the shared library version of GLEW, you need to copy the headers and libraries into their destination directories. On Windows this typically boils down to copying:
bin/glew32.dll to %SystemRoot%/system32
lib/glew32.lib to {VC Root}/Lib
include/GL/glew.h to {VC Root}/Include/GL
include/GL/wglew.h to {VC Root}/Include/GL
where {VC Root} is the Visual C++ root directory, typically C:/Program Files/Microsoft Visual Studio/VC98 for Visual Studio 6.0 or C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/PlatformSDK for Visual Studio .NET.
On Unix, typing make install will attempt to install GLEW into /usr/include/GL and /usr/lib. You can customize the installation target via the GLEW_DEST environment variable if you do not have write access to these directories.