码迷,mamicode.com
首页 > 其他好文 > 详细

OSG编译

时间:2020-01-23 14:08:36      阅读:126      评论:0      收藏:0      [点我收藏+]

标签:scene   data-   visual   lease   lin   img   文件解压   release   win   

参考:



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

技术图片


E:\osg\OpenSceneGraph\3rdParty

技术图片


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

OSG编译

标签:scene   data-   visual   lease   lin   img   文件解压   release   win   

原文地址:https://www.cnblogs.com/gispathfinder/p/12230540.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!