# Note: depends on cmake # Note: depends on ilmbase # Note: depends on onetbb # Note: depends on zlib # Note: depends on boost wget -c https://github.com/AcademySoftwareFoundation/openvdb/archive/v7.0.0/openvdb-7.0.0.tar.gz tar -xzf openvdb-7.0.0.tar.gz cd openvdb-7.0.0 mkdir -p build cd build cmake .. -DCMAKE_INSTALL_PREFIX="/usr" || cmake .. -DCMAKE_INSTALL_PREFIX="/usr" -DUSE_BLOSC=off grep -rl isystem openvdb | xargs sed -i -e 's/-isystem [^ ]*//g' make # Doesn't mind -j# make install