以下是安装语句: cd grpc_folder git submodule update --init cmake .. make -j 4 sudo make install 然而编写依赖gRPC的程序,发现无法调用gRPC的CMake文件,错误提示如下所示: include could not find load file: /usr/local/lib/cmake/grpc/gRPCTargets.cmake 在gRPC的issue列表中,寻找到解决方案(CMake安装时,如果第三方依赖在
CMake自带的FindZLIB.cmake只有ZLIB_LIBRARY,而没有ZLIB_LIBRARY_DEBUG 将下面的代码保存成FindZLIB.cmake,替换掉D:\Program Files (x86)\CMake\share\cmake-3.3\Modules\FindZLIB.cmake # - Find zlib # Find the native ZLIB includes and library. # Once done this will define # # ZLIB
本文首发于个人博客https://kezunlin.me/post/281dd8cd/,欢迎阅读! guide to compile and install poco cpp library on ubuntu 16.04 Series guide to compile and install poco cpp library on windows guide to compile and install poco cpp library on ubuntu 16.04 Guide apt-ge