尝试使用 Visual Studio 2008 在 Windows 中编译 qt-labs-qt3d 时出错
Getting errors when trying to compile qt-labs-qt3d in windows with visual studio 2008
Hi我按照使用从源代码编译的Qt 4.7.3的网站说明进行操作:http://doc.qt.nokia.com/qt3d-snapshot/qt3d-building.html和
http://www.johanpaul.com/blog/2011/03/compiling-qt3d-for-windows但是在编译Qt3d IM时收到此错误:
.qdeclarativeeffect.cpp(263) : error C2039: 'Options' : is not a member of 'QDeclarativePixmap'
d:cppqtqt-everywhere-opensource-src-4.7.3qt-everywhere-opensource-src-4.7.3includeqtdeclarativeprivate../../../src/declarative/util/qdeclarativepixmapcache_p.h(59) : see declaration of 'QDeclarativePixmap'
.qdeclarativeeffect.cpp(263) : error C2065: 'Options' : undeclared identifier
.qdeclarativeeffect.cpp(263) : error C2146: syntax error : missing ';' before identifier 'options'
.qdeclarativeeffect.cpp(263) : error C2065: 'options' : undeclared identifier
.qdeclarativeeffect.cpp(263) : error C2039: 'Cache' : is not a member of 'QDeclarativePixmap'
d:cppqtqt-everywhere-opensource-src-4.7.3qt-everywhere-opensource-src-4.7.3includeqtdeclarativeprivate../../../src/declarative/util/qdeclarativepixmapcache_p.h(59) : see declaration of 'QDeclarativePixmap'
.qdeclarativeeffect.cpp(263) : error C2065: 'Cache' : undeclared identifier
.qdeclarativeeffect.cpp(265) : error C2065: 'options' : undeclared identifier
.qdeclarativeeffect.cpp(265) : error C2039: 'Asynchronous' : is not a member of 'QDeclarativePixmap'
d:cppqtqt-everywhere-opensource-src-4.7.3qt-everywhere-opensource-src-4.7.3includeqtdeclarativeprivate../../../src/declarative/util/qdeclarativepixmapcache_p.h(59) : see declaration of 'QDeclarativePixmap'
.qdeclarativeeffect.cpp(265) : error C2065: 'Asynchronous' : undeclared identifier
.qdeclarativeeffect.cpp(266) : error C2065: 'options' : undeclared identifier
qdeclarativemesh.cpp
NMAKE : fatal error U1077: '"C:Program FilesMicrosoft Visual Studio 9.0VCBINcl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:Program FilesMicrosoft Visual Studio 9.0VCBINnmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
似乎这确实是 4.7.2 的已知问题,并且已得到修复:
https://bugreports.qt-project.org/browse/QTBUG-17872
相关文章:
- 在VS代码中交叉编译Windows与Linux上的MinGW的SDL程序
- 在Linux for Windows上编译C++代码时出错
- 当我编译webrtc服务器时,Windows上只支持clang-cl
- 升级到 Windows 10 版本 1809 SDK 后,我无法编译使用 C++/WinRT 的项目
- 在Linux上使用Clang / OLLVM交叉编译helloworld Windows可执行文件时的问题
- Eclipse 没有在 Windows (C++) 中编译.exe
- 尝试在Windows上执行C++时出错(通过MinGW编译)
- 编译的C可执行文件被Windows defender检测为病毒
- gcc:"在Windows上编译时找不到-lasound"
- 坚持编译QDoc以在Windows上构建qt5
- MSYS2 MinGW64 在 Windows 上构建 GMP/MPFR 作为静态库,并将它们链接到使用 CL 编译的
- SFML 交叉编译 for Windows on Linux.
- 使用 MinGW 在 Windows 上的命令行编译C++文件
- 如何使用 openmp 编译 c++?(在 Windows 10 中使用 G++)
- 如何使用Visual Studio为windows编译GMP
- 在 Linux 上为 Windows 编译多线程应用程序 [ C++ ]
- Rcpp Windows 编译失败
- 从 Windows 编译 OSX 的C++
- 从 Linux 上的 Windows 编译 OpenGL 应用程序
- 如何为64位Windows编译WSO2 Web服务框架- c++ ?