查看: 4928|回复: 3

openscenegraph 运行自带例子的时候突然提示 "系统找不到指定的路径"

[复制链接]

该用户从未签到

发表于 2012-8-31 21:01:24 | 显示全部楼层 |阅读模式
本帖最后由 siucan 于 2012-8-31 21:02 编辑

有没有遇过这样的问题 Cmake配置的openscenegraph 例子之前一直好用,突然编译不通了,而且是所有的例子,编译错误:
1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------
1>Checking Build System
1>系统找不到指定的路径。
1>Project : error PRJ0019: A tool returned an error code from "Checking Build System"
1>Build log was saved at "file://e:\OSG\OpenSceneGraph\build\ZERO_CHECK.dir\Debug\BuildLog.htm"
1>ZERO_CHECK - 1 error(s), 0 warning(s)
2>------ Build started: Project: OpenThreads, Configuration: Debug Win32 ------
2>Building Custom Rule E:/OSG/OpenSceneGraph/src/OpenThreads/win32/CMakeLists.txt
2>系统找不到指定的路径。
2>Project : error PRJ0019: A tool returned an error code from "Building Custom Rule E:/OSG/OpenSceneGraph/src/OpenThreads/win32/CMakeLists.txt"
2>Build log was saved at "file://e:\OSG\OpenSceneGraph\build\src\OpenThreads\win32\OpenThreads.dir\Debug\BuildLog.htm"
2>OpenThreads - 1 error(s), 0 warning(s)
3>------ Build started: Project: osg, Configuration: Debug Win32 ------
3>Building Custom Rule E:/OSG/OpenSceneGraph/src/osg/CMakeLists.txt
3>系统找不到指定的路径。
3>Project : error PRJ0019: A tool returned an error code from "Building Custom Rule E:/OSG/OpenSceneGraph/src/osg/CMakeLists.txt"
3>Build log was saved at "file://e:\OSG\OpenSceneGraph\build\src\osg\osg.dir\Debug\BuildLog.htm"
3>osg - 1 error(s), 0 warning(s)
4>------ Build started: Project: osgUtil, Configuration: Debug Win32 ------
4>Building Custom Rule E:/OSG/OpenSceneGraph/src/osgUtil/CMakeLists.txt
4>系统找不到指定的路径。
4>Project : error PRJ0019: A tool returned an error code from "Building Custom Rule E:/OSG/OpenSceneGraph/src/osgUtil/CMakeLists.txt"
4>Build log was saved at "file://e:\OSG\OpenSceneGraph\build\src\osgUtil\osgUtil.dir\Debug\BuildLog.htm"
4>osgUtil - 1 error(s), 0 warning(s)
5>------ Build started: Project: osgDB, Configuration: Debug Win32 ------
5>Building Custom Rule E:/OSG/OpenSceneGraph/src/osgDB/CMakeLists.txt
5>系统找不到指定的路径。
5>Project : error PRJ0019: A tool returned an error code from "Building Custom Rule E:/OSG/OpenSceneGraph/src/osgDB/CMakeLists.txt"
5>Build log was saved at "file://e:\OSG\OpenSceneGraph\build\src\osgDB\osgDB.dir\Debug\BuildLog.htm"
5>osgDB - 1 error(s), 0 warning(s)
6>------ Build started: Project: osgText, Configuration: Debug Win32 ------
7>------ Build started: Project: osgGA, Configuration: Debug Win32 ------
6>Building Custom Rule E:/OSG/OpenSceneGraph/src/osgText/CMakeLists.txt
7>Building Custom Rule E:/OSG/OpenSceneGraph/src/osgGA/CMakeLists.txt
6>系统找不到指定的路径。
6>Project : error PRJ0019: A tool returned an error code from "Building Custom Rule E:/OSG/OpenSceneGraph/src/osgText/CMakeLists.txt"
7>系统找不到指定的路径。
6>Build log was saved at "file://e:\OSG\OpenSceneGraph\build\src\osgText\osgText.dir\Debug\BuildLog.htm"
6>osgText - 1 error(s), 0 warning(s)
7>Project : error PRJ0019: A tool returned an error code from "Building Custom Rule E:/OSG/OpenSceneGraph/src/osgGA/CMakeLists.txt"
7>Build log was saved at "file://e:\OSG\OpenSceneGraph\build\src\osgGA\osgGA.dir\Debug\BuildLog.htm"
7>osgGA - 1 error(s), 0 warning(s)
8>------ Build started: Project: osgViewer, Configuration: Debug Win32 ------
8>Building Custom Rule E:/OSG/OpenSceneGraph/src/osgViewer/CMakeLists.txt
8>系统找不到指定的路径。
8>Project : error PRJ0019: A tool returned an error code from "Building Custom Rule E:/OSG/OpenSceneGraph/src/osgViewer/CMakeLists.txt"
8>Build log was saved at "file://e:\OSG\OpenSceneGraph\build\src\osgViewer\osgViewer.dir\Debug\BuildLog.htm"
8>osgViewer - 1 error(s), 0 warning(s)
9>------ Build started: Project: Examples osgteapot, Configuration: Debug Win32 ------
9>Building Custom Rule E:/OSG/OpenSceneGraph/examples/osgteapot/CMakeLists.txt
9>系统找不到指定的路径。
9>Project : error PRJ0019: A tool returned an error code from "Building Custom Rule E:/OSG/OpenSceneGraph/examples/osgteapot/CMakeLists.txt"
9>Build log was saved at "file://e:\OSG\OpenSceneGraph\build\examples\osgteapot\example_osgteapot.dir\Debug\BuildLog.htm"
9>Examples osgteapot - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 9 failed, 0 up-to-date, 0 skipped ==========

昨晚还是好用的,今天再编译的时候就报这样的错,我今天都没用过电脑啊!!!!

该用户从未签到

发表于 2012-9-1 14:22:02 | 显示全部楼层
说实话,编译很痛苦,时间太久了,我用的预编译包,嘿嘿。坐等答案,我有老大。

该用户从未签到

 楼主| 发表于 2012-9-4 19:50:00 | 显示全部楼层
starmessage 发表于 2012-9-1 14:22
说实话,编译很痛苦,时间太久了,我用的预编译包,嘿嘿。坐等答案,我有老大。

唉 没办法 我重新编译的  

该用户从未签到

发表于 2012-9-6 17:25:31 | 显示全部楼层
您是否移动了源代码目录或者编译目录的位置?cmake会记录绝对路径,因此请不要轻易改变目录
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

联系我们

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