Time for action—adding libcurl support for OSG
In this section, we will build the osgdb_curl
support for compiling and linking OSG binaries from the source code. Without the necessary third-party library libcurl, the osgdb_curl
plugin will be ignored in the entire solution and thus will not be generated. In Chapter 2, Compilation and Installation of OpenSceneGraph, we did not introduce the steps to add libcurl to the CMake configuration options. But with the CMake cache files and intermediate files kept in the build directory, we can quickly restart the configuration and rebuild our OSG libraries and development files. The Visual Studio solution file will be automatically updated to include the new osgdb_curl
project.
- Download the libcurl prebuilt ...
Get OpenSceneGraph 3.0 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.