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.

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM