-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
安装时库文件问题 #91
Comments
Message that will be displayed on users' first issue |
我也遇到同样的问题 去找了3.12.4的安装包,发现include下根本没有报错的这个文件 |
解决了,去protobuf仓库下载源代码https://github.com/protocolbuffers/protobuf/releases/tag/v3.12.4, 要下载 protobuf-all-3.12.4.zip,然后参考这个https://blog.csdn.net/qq_46490027/article/details/128570526进行安装和配置环境变量,再在项目CMakeList.txt文件添加两行link_directories(/usr/local/protobuf/lib) include_directories(/usr/local/protobuf/include/) 就可以编译成功了,路径中间的protobuf可能需要根据你的配置替换一下 |
@bingdouwang 很棒,感谢 。 同时cc @LeeYSK ,看下是否能解决,如果还有问题可以再打开这个issue哈。 |
在 安装 protoc 阶段,总是 make 不过去,一直报找不到 goole/protobuf/... 下的某个文件,为什么呢,我的 Ubantu 是 18, 我自己找了一些 protocbuf 的包安装也还是不行
The text was updated successfully, but these errors were encountered: