其他分享
首页 > 其他分享> > OSG编译

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

http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-3.4.0/data/OpenSceneGraph-Data-3.4.0.zip


2.将下载后的文件解压到如下目录

E:\osg\OpenSceneGraph\OpenSceneGraph-3.6.4

image


E:\osg\OpenSceneGraph\3rdParty

image


3.更新相关的最新依赖

3.1 FBX

将安装的FBX SDK目录下的内容复制到OSG第三方依赖的对应目录中

FBX SDK\2019.2\include    -->    E:\osg\OpenSceneGraph\3rdParty\include

FBX SDK\2019.2\lib\vs2017\x64\release    -->   E:\osg\OpenSceneGraph\3rdParty\lib

FBX SDK\2019.2\lib\vs2017\x64\debug    -->   E:\osg\OpenSceneGraph\3rdParty\lib\debug


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.zip\ffmpeg-4.2.1-win64-dev\include             -->      E:\osg\OpenSceneGraph\3rdParty\include

ffmpeg-4.2.1-win64-dev.zip\ffmpeg-4.2.1-win64-dev\lib                    -->      E:\osg\OpenSceneGraph\3rdParty\lib

ffmpeg-4.2.1-win64-shared.zip\ffmpeg-4.2.1-win64-shared\bin         -->       E:\osg\OpenSceneGraph\3rdParty\bin

标签:OpenSceneGraph,3rdParty,4.2,win64,编译,OSG,osg
来源: https://www.cnblogs.com/gispathfinder/p/12230540.html