boost和zlib一起编译(openmvs)

编译openmvs提示找不到boost::zlib定义,需要在编译boost时将zlib一起编译

b2.exe stage --toolset=msvc-14.1 --build-type=complete stage -sZLIB_SOURCE="E:\opensource\zlib-1.2.11" -sZLIB_INCLUDE="E:\opensource\zlib-1.2.11" address-model=64

所用编译器是vs2017,sZLIB_SOURCE="E:\opensource\zlib-1.2.11" -sZLIB_INCLUDE="E:\opensource\zlib-1.2.11" 是zlib的源码

你可能感兴趣的:(SFM)