Compile fanvanzh's 3dtiles in Linux
Working for fanvanzh's 3dtiles Linux compilation for days. Some items for reminding everybody how wants to do the same thing. liwei0705 did a good move in making fanvanzh's 3dtiles converter works. But if you are using a new version of OSG and GDAL, pay attention to the following summarised reminders when building your own version of "_3dtile" Delete 3dtiles/bin, it is for windows only Compile your own OpenSceneGraph Copy OpenSceneGraph /lib to 3dtiles Copy OpenSceneGraph /include/* to 3dtiles/src/osg/* If not compile OpenSceneGraph on your own, you can install "openscenegraph" and "libopenscenegraph-dev" instead Delete /lib in 3dtiles (the /lib is for self-compiled OSG, GDAL actually) Delete 3dtiles/src/osg/ (no need to provide OSG header, use the one in libopenscenegraphi-dev) Install gdal-bin, libgdal-dev rm -rf 3dtiles/src/gdal (we will use libraries and header by gdal-bin and libgdal-dev) Source file: src/tileset.cpp Hide up #ifdef _WIN32 , ...