OSG编译
Posted gispathfinder
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了OSG编译相关的知识,希望对你有一定的参考价值。
参考:
1.下载OSG库
OSG源码
http://www.openscenegraph.org/index.php/download-section/stable-releases
https://github.com/openscenegraph/OpenSceneGraph/releases
第三方依赖:
http://www.openscenegraph.org/index.php/download-section/dependencies
https://download.osgvisual.org/3rdParty_VS2017_v141_x64_V11_full.7z
数据:
http://www.openscenegraph.org/index.php/download-section/data
2.将下载后的文件解压到如下目录
E:osgOpenSceneGraphOpenSceneGraph-3.6.4
E:osgOpenSceneGraph3rdParty
3.更新相关的最新依赖
3.1 FBX
将安装的FBX SDK目录下的内容复制到OSG第三方依赖的对应目录中
FBX SDK2019.2include --> E:osgOpenSceneGraph3rdPartyinclude
FBX SDK2019.2libvs2017x64 elease --> E:osgOpenSceneGraph3rdPartylib
FBX SDK2019.2libvs2017x64debug --> E:osgOpenSceneGraph3rdPartylibdebug
3.2 FFmpeg
ffmpeg-4.2.1-win64-dev.zip
ffmpeg-4.2.1-win64-shared.zip
将下载的FFmpeg目录下的内容复制到OSG第三方依赖的对应目录中
ffmpeg-4.2.1-win64-dev.zipffmpeg-4.2.1-win64-devinclude --> E:osgOpenSceneGraph3rdPartyinclude
ffmpeg-4.2.1-win64-dev.zipffmpeg-4.2.1-win64-devlib --> E:osgOpenSceneGraph3rdPartylib
ffmpeg-4.2.1-win64-shared.zipffmpeg-4.2.1-win64-sharedin --> E:osgOpenSceneGraph3rdPartyin
以上是关于OSG编译的主要内容,如果未能解决你的问题,请参考以下文章