查看: 2151|回复: 1

osgart编译问题

[复制链接]

该用户从未签到

发表于 2010-12-8 21:15:55 | 显示全部楼层 |阅读模式
osgart 用cmake编译不通过啊
CMake Error at etc/cmake/parse_OSG_version.cmake:18 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:53 (check_osg_version)


CMake Error at src/osgART/CMakeLists.txt:56 (set_target_properties):
set_target_properties called with incorrect number of arguments.


Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
OSGVIEWER_LIBRARY
linked by target "osgartviewer" in directory F:/ar/osg/osgART_2.0_RC3/osgART_2.0_RC3/applications/osgartviewer
linked by target "osgartsimple" in directory F:/ar/osg/osgART_2.0_RC3/osgART_2.0_RC3/examples/osgartsimple
linked by target "osgartvideobackground" in directory F:/ar/osg/osgART_2.0_RC3/osgART_2.0_RC3/examples/osgartvideobackground
linked by target "osgartpick" in directory F:/ar/osg/osgART_2.0_RC3/osgART_2.0_RC3/examples/osgartpick
linked by target "osgartsimplestats" in directory F:/ar/osg/osgART_2.0_RC3/osgART_2.0_RC3/examples/osgartsimplestats

Configuring incomplete, errors occurred!
  这是怎么回事啊

osg能直接用vs编译不?

该用户从未签到

发表于 2010-12-9 08:44:08 | 显示全部楼层
osg能直接用vs编译不
当然可以!这个问题不需要有疑问

这里有两个很明显的问题:一是osgart的cmake脚本与您本机的cmake软件版本不兼容。您可以考虑使用更新的cmake版本。osgart 2.0可以保证编译通过。二是您没有指定osgviewer库的位置!这些都可以从英文提示中阅读出来
您需要登录后才可以回帖 登录 | 注册

本版积分规则

OSG中国官方论坛-有您OSG在中国才更好

网站简介:osgChina是国内首个三维相关技术开源社区,旨在为国内更多的技术开发人员提供最前沿的技术资讯,为更多的三维从业者提供一个学习、交流的技术平台。

联系我们

  • 工作时间:09:00--18:00
  • 反馈邮箱:1315785073@qq.com
快速回复 返回顶部 返回列表