有些库是在vs环境中即可编译 ,
有些是用cmake 编译.
https://cmake.org/download/
当然编译前要有,lib那些链接包的安装 包管理下载软件vcpkg .
https://github.com/Microsoft/vcpkg#quick-start
such as
cd <path to vcpkg> .\vcpkg.exe install gperf:x64-windows gperf:x86-windows openssl:x64-windows openssl:x86-windows zlib:x64-windows zlib:x86-windows
cmake 生成dll时 ,要链接这些库
比如 32位
cmake -A Win32 -DTD_ENABLE_DOTNET=ON -DCMAKE_TOOLCHAIN_FILE=<path to vcpkg>/scripts/buildsystems/vcpkg.cmake ../../.. cmake --build . --config Release cmake --build . --config Debug