兵马逐浪去,将象入海流。炮声震心动,惊起卧龙游。
我的博客园主页 --------- 我的知乎主页 --------- 我的github主页 --------- 我的csdn主页 --------- 我的新浪微博

opencv编译的时候的注意事项------如果出现 target glog::glog 找不到的情况,可能是由于glog的版本过低导致的。通常与ceres有关

opencv编译出现  target  glog::glog 找不到的情况,可能是由于glog的版本过低导致的。

通常与ceres有关。

建议:

使用的ceres的依赖的glog的版本建议不要低于0.4.0, 不要使用glog 0.3.4   也就是caffe的那个版本,windows下。

 

 

What version of glog are you trying to build against? Some of the older versions don't export the glog::glog target that Folly (one of Fizz's dependencies) is expecting to be present.

cmake fizz in centos 7.4 got this error:

CMake Error at CMakeLists.txt:132 (add_library):
Target "fizz" links to target "glog::glog" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?

I have installed glog. (use yum install and source code compiling install)

 

Orvid commented on 24 Sep 2018

What version of glog are you trying to build against? Some of the older versions don't export the glog::glog target that Folly (one of Fizz's dependencies) is expecting to be present.

 

posted @   leoking01  阅读(1795)  评论(0编辑  收藏  举报
编辑推荐:
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
阅读排行:
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 按钮权限的设计及实现
· 25岁的心里话
#back-to-top { background-color: #00CD00; bottom: 0; box-shadow: 0 0 6px #00CD00; color: #444444; padding: 10px 10px; position: fixed; right: 50px; cursor: pointer; }
点击右上角即可分享
微信分享提示