Qt编译环境下使用GLUT的问题(Win7 64位系统)
在学习Qt过程中,要调用Opengl的Glut库。我查阅了网上的资料,已经在MS2008下调用成功了。但在Qt的环境下,没有成功,求助下。
已经将glut.h放入到D:\QtSDK\mingw\include\GL
glut32.dll与glut.dll放到 C:\Windows\SysWOW64下( 网上有很多说是C:\Windows\System32的)
glut.lib与glut32.lib是用pro中的载入的 LIBS +=-L"H:/QtFile/Sun"-lglut32 -lglut
结果运行的结果:
Starting H:\QtFile\Sun\debug\Sun.exe...
The program has unexpectedly finished.
H:\QtFile\Sun\debug\Sun.exe exited with code -1073741515
Debug下错误为
During startup program exited with code 0xc0000135
弄了好久,没弄出来.....