Protobuf windows

网友投稿 560 2022-05-28

下载地址:

https://github.com/protocolbuffers/protobuf/releases

protoc-3.3.0-win32.zip

ncnn的安装方法:

把protobuf-root-dir 换成你的硬盘地址。

download protobuf-3.4.0 from https://github.com/google/protobuf/archive/v3.4.0.zip

> cd

> mkdir build-vs2017

Protobuf windows

> cd build-vs2017

> cmake -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%cd%/install -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_MSVC_STATIC_RUNTIME=OFF ../cmake

> nmake

> nmake install

配置环境变量:

export PATH=$PATH:/usr/local/protobuf/bin/ export PKG_CONFIG_PATH=/usr/local/protobuf/lib/pkgconfig/

directory containing Boost or BOOST_INCLUDEDIR to the directory containing

Boost's headers.

Could NOT find GFlags (missing: GFLA

Windows

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:《基于Unity与SteamVR构建虚拟世界》 —2.1.3 Rift推荐规格
下一篇:一、flume调优,用到了哪些?
相关文章