|
我用CMAKE 编译出现的问题,查论坛里的资料解决了,可是点INSTALL时出现这样的问题。1>-- Installing: C:/Program Files/osgOcean/bin/resources/shaders/osgOcean_heightmap.frag
1>-- Installing: C:/Program Files/osgOcean/bin/resources/textures/sea_foam.png
1>-- Installing: C:/Program Files/osgOcean/bin/resources/textures/sun_glare.png
1>-- Installing: C:/Program Files/osgOcean/bin/oceanExample.exe
1>CMake Error at src/oceanExample/cmake_install.cmake:46 (FILE):
1> file INSTALL cannot find
1> "E:/osg/osgocean/resources/textures/sky_clear/down.png".
1>Call Stack (most recent call first):
1> src/cmake_install.cmake:33 (INCLUDE)
1> cmake_install.cmake:32 (INCLUDE)
1>Project : error PRJ0019: 工具从"正在执行生成后事件..."
1>生成日志保存在“file://e:\osg\osgocean\bulid\INSTALL.dir\Debug\BuildLog.htm”
1>INSTALL - 1 个错误,0 个警告
========== 生成: 0 已成功, 1 已失败, 4 最新, 0 已跳过 ==========
我在网上查了,可能是生成事件里面的代码问题,我的里面的代码是"D:\Program Files\CMake 2.8\bin\cmake.exe" -DBUILD_TYPE=$(OutDir) -P cmake_install.cmake
有知道的麻烦解答一下。 |
|