osg 3.2使用cmake GUI编译后无法创建osgQt(OpenSceneGraph QT lib)库

时间:2014-05-07 12:10:05

标签: qt visual-studio-2012 cmake openscenegraph

在使用cmake成功编译OSG之后,我尝试构建OpenSceneGraph(OSG)Visual Studio 2012项目。然而,当OSG正在构建VS2012时,它会出错。错误是:

Generating __/__/include/osgQt/moc_QGraphicsViewAdapter.cpp
3>  moc: Too many input files specified
3>  Usage: C:\Qt\5.2.1\msvc2012_64_opengl\bin\moc.exe [options] [header-file] [@option file]
3>  Qt Meta Object Compiler version 67 (Qt 5.2.1)

 ...
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): error MSB6006: "cmd.exe" exited with code 1.

为什么会出现此错误? 非常感谢你

0 个答案:

没有答案