In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. OSG compilation 1. Download source code or precompiled library
OSG version 3.6.3
CMake version of 3.12.1-x64
Geos version: 3.7.1
GDAL version: 2.3.1
The data package is downloaded from the official website
CMake compilation scripts for other third-party libraries dependent on OSG compilation in vs2015 environment are also available on the official website at the address of https://github.com/bjornblissing/osg-3rdparty-cmake.
At the same time, this page provides the download of vs2015 and vs2017 library files precompiled by AppVeyor.
two。 File directory
D:\ OSG\ OpenSceneGraph-3.6.3
D:\ OSG\ 3rd-v140-x64: third-party dependent libraries
D:\ OSG\ OpenSceneGraph-Data: the packet is unzipped and placed here.
3. CMake configuration
After configure, select the list item ACTUAL_3RDPARTY_DIR to set the value to D _ ON, set the value to ON, and set CMAKE_INSTALL_PREFIX to the copy installation path of the final compiled library file.
4. Vs2015 compilation
Open OpenSceneGraph.sln and generate All_BUILD, but select only the Release version.
5. Set environment variabl
Add the system variable: OSG_FILE_PATH, with a value of D:\ OSG\ OpenSceneGraph-Data;. Add: d:\ OSG\ OpenSceneGraph-3.6.3\ bin to the PATH variable. After the configuration is complete, you can enter the osgversion test on the command line.
II. Compile and install OSGEarth dependencies
Compile GEOS, GDAL, CURL, ZLIB, etc.
3. Compile and install OSGEarth
Specify OSG_DIR as D:\ OSG\ OpenSceneGraph-3.6.3 in CMake, and specify THIRD_PARTY_DIR as DSGUnip 3rdMurv140Murx64; process CURL, GDAL, GEOS, and ZLIB in turn (if the related libraries name and value are set in the system environment variables, the configuration will be found automatically), and then Advanced will be checked.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.