0
点赞
收藏
分享

微信扫一扫

undefined reference to `google::protobuf::internal::VerifyVersion(int, int, char const*)‘ 错误解决方法

杰森wang 2022-04-21 阅读 120
c++

解决方法:
在工程CMakeLists.txt中添加

find_package(Protobuf REQUIRED)
include_directories(${PROTOBUF_INCLUDE_DIR})
target_link_libraries(main student ${PROTOBUF_LIBRARY})
举报

相关推荐

0 条评论