-1

我已经安装了 QT5.0.1,我正在尝试使用 GLUT。我有以下错误:

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\GL/gl.h(55): 错误 C2371: 'GLdouble' : 重新定义;不同的基本类型 1> C:\Qt\Qt5.0.1\5.0.1\msvc2010\include\QtGui/qopengl.h(71) :见“GLdouble”的声明

我不明白什么可能是错的以及该怎么做。

4

1 回答 1

2

I have installed QT5.0.1 and I am trying to use GLUT

Pick one and only one framework.

Trying to use Qt and GLUT at the same time will only result in problems because they both want to own the event loop.

于 2013-03-21T18:14:08.057 回答