Visual Studio lnk2001 error for boost iostreams::zstd

434 views Asked by At

I am trying to build OpenMVS with Visual Studio 2017. I have installed boost 1.74, which is found as well. But when I try to build, I get the following error:

Error   LNK2001 unresolved external symbol "unsigned int const boost::iostreams::zstd::best_speed" (?best_speed@zstd@iostreams@boost@@3IB)  RefineMesh  [...]

I downloaded a precompiled boost binary here. A dumpbin tells me that the file libboost_iostreams-vc141-mt-x64-1_74.lib does not export the symbols VS searches. But I cannot find any instructions to build boost with zstd enabled. The zlib namespace is available.

When building boost with b2 I tried this in my project-config.jam:

using zstd ;

but it seems this does not make any difference. Can someone help me how to build boost with zstd?

0

There are 0 answers