osg-3rdparty-cmake
==================
CMake scripts for building OpenSceneGraph third party libraries.
These scripts can be used to build third party libraries from source using CMake(http://www.cmake.org/).
The source code for respective library has to be downloaded separately, see download locations below.
By building the INSTALL target for both debug and release these scripts will create a folder named `3rdParty`.
Inside this folder there will folders created to represent each platform toolset.
### Status: ![Build status](https://github.com/bjornblissing/osg-3rdparty-cmake/actions/workflows/build.yml/badge.svg)
Prebuilt versions
----------------
Prebuilt version can be found under *Releases*. Version numbers if the included dependencies can be found in the [versions.md](versions.md) file.
Toolset | Prebuilt archive
------------ | -------------
Visual Studio 2017 32-bit | v141-x86.zip
Visual Studio 2017 64-bit | v141-x64.zip
Visual Studio 2019 32-bit | v142-x86.zip
Visual Studio 2019 64-bit | v142-x64.zip
License
-------
Each of the dependencies keep their original licenses since their scripts are to be considered derivative works.
The top level script is licensed according to the `Unlicense`:
http://unlicense.org/
Instructions
------------
1. Download the CMake scripts from this repository.
2. Download the source for the dependencies you would like to use from their respective location as specified below.
3. Start the CMake GUI and select the directory with the CMake scripts as your source directory. Use any desired output directory as binary directory.
4. Press **Configure** inside the CMake GUI.
5. Fill in the location of the downloaded sources of your desired dependencies and press "Configure" again. Repeat until there is no more errors and warnings in CMake.
6. Press **Generate** inside the CMake GUI. This will generate solution file inside your binary directory.
7. Open the solution file in your IDE.
8. Build the `ALL_BUILD` project for both debug and release.
9. Build the `INSTALL` project for both debug and release.
In your binary directory there will now be a folder named `3rdParty` with a sub-folder named after your target platform. Inside this folder there should be all your headers and libraries.
zlib
----
Sources for zlib can be downloaded from:
http://www.zlib.net/
libpng
------
Sources for libpng can be downloaded from:
http://www.libpng.org/pub/png/libpng.html
libjpeg
-------
Sources for libjpeg can be downloaded from:
http://www.ijg.org/
libtiff
-------
Sources for libtiff can be downloaded from:
https://gitlab.com/libtiff/libtiff
FreeType
--------
Sources for FreeType can be downloaded from:
http://www.freetype.org/
GLUT
----
Sources for GLUT can be downloaded from:
https://github.com/markkilgard/glut
GIFLIB
------
Sources for GIFLIB can be downloaded from:
http://sourceforge.net/projects/giflib/
cURL
----
Sources for cURL can be downloaded from:
http://curl.haxx.se/
没有合适的资源?快使用搜索试试~ 我知道了~
osg第三方依赖库快速下载与编译
共20个文件
txt:10个
h:4个
md:2个
需积分: 5 0 下载量 31 浏览量
2023-11-05
17:25:34
上传
评论
收藏 38KB ZIP 举报
温馨提示
osg第三方依赖库快速下载与编译
资源推荐
资源详情
资源评论
收起资源包目录
osg-3rdparty-cmake-master.zip (20个子文件)
osg-3rdparty-cmake-master
CMakeLists.txt 3KB
.github
workflows
build.yml 3KB
zlib
CMakeLists.txt 7KB
libjpeg
CMakeLists.txt 5KB
freetype
CMakeLists.txt 6KB
libpng
CMakeLists.txt 4KB
curl
CMakeLists.txt 14KB
libtiff
CMakeLists.txt 5KB
tif_config.mingw.h 2KB
tiffconf.mingw.h 4KB
glut
CMakeLists.txt 5KB
giflib
CMakeLists.txt 4KB
getopt.c 39KB
getopt.h 7KB
stdbool.h 127B
unistd.h.in 2KB
UNLICENSE.txt 1KB
README.md 3KB
download_dependencies.bat 1KB
versions.md 194B
共 20 条
- 1
资源评论
wzg2016
- 粉丝: 416
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功