查看: 2272|回复: 1

osgal cmake生成总出错

[复制链接]

该用户从未签到

发表于 2011-9-23 21:46:11 | 显示全部楼层 |阅读模式
我安装了OpenAL11CoreSDK,freealut-1.1.0-bin.libogg libvorbis都编译成功,并且将它们的include lib bin都放在了一起而且加到了vs2005中.但在用cmake生成osgal(通过svn从官网下载)时总是报错,找不到文件.求解!
    我的运行环境是vs2005 cmake 2.8.5
    下面是cmake报错:

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:
OGG_LIBRARY
    linked by target "openalpp" in directory C:/osgal svn/src/openalpp
    linked by target "osgdb_osgAL" in directory C:/osgal svn/src/osgPlugin
VORBISFILE_LIBRARY
    linked by target "openalpp" in directory C:/osgal svn/src/openalpp
    linked by target "osgdb_osgAL" in directory C:/osgal svn/src/osgPlugin
VORBIS_LIBRARY
    linked by target "openalpp" in directory C:/osgal svn/src/openalpp
    linked by target "osgdb_osgAL" in directory C:/osgal svn/src/osgPlugin

Configuring incomplete, errors occurred!

该用户从未签到

 楼主| 发表于 2011-9-26 18:46:25 | 显示全部楼层
配置了下cmake可以生成工程了,编译osgAL的时候出现了很多warning说是要转unicode,编译能够通过。
后来把库和包含文件都配置到vs2005中,写了个例子,但总报错,提示找不到目录和文件:
fatal error C1083: 无法打开包括文件:“osgAL/SoundNode”: No such file or directory
我在编译的osgAL中也没有找到SoundNode相关的lib和dll文件,只有个没有扩展名的SoundNode文件。不知道是哪里的问题,求解!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

联系我们

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