macos – 安装caffe时出错
发布时间:2020-12-15 21:24:23 所属栏目:安全 来源:网络整理
导读:我想在我的Mac上安装caffe.我已经安装了boost但是我收到了这个错误: make pycaffe -j8LD -o .build_release/lib/libcaffe.soclang: warning: argument unused during compilation: '-pthread'ld: library not found for -lboost_thread-mtclang: error: lin
我想在我的Mac上安装caffe.我已经安装了boost但是我收到了这个错误:
make pycaffe -j8 LD -o .build_release/lib/libcaffe.so clang: warning: argument unused during compilation: '-pthread' ld: library not found for -lboost_thread-mt clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [.build_release/lib/libcaffe.so] Error 1 解决方法
您可能在没有boost-thread的情况下安装了boost,或者安装了boost_thread-mt作为boost_thread的旧安装程序.如果它是第二个,那么你可以只从libboost_thread.a到libboost_thread-mt.a进行符号链接.
如果这是第一个原因,那么你必须使用boost-thread重新安装brew,最简单的方法是get Homebrew并使用它安装boost: brew install boost 哪个安装适当的库: -> % ls /usr/local/lib/libboost_thread-mt.* /usr/local/lib/libboost_thread-mt.a /usr/local/lib/libboost_thread-mt.dylib (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 《数据结构》一般线性表的合并
- Bash:自定义PS1与nice工作目录路径
- ruby-on-rails – Docker,使用docker flag -p 3000:3000
- 单元测试 – Angular 2:如何在单元测试时模拟ChangeDetect
- (Docker)如何在WordPress容器中使用单独的Composer容器安装
- webService总结(一)——使用CXF发布和调用webService(不
- Angular:伪元素的动画,例如:before,:after
- unix – chmod 775在一个文件夹上,但不是该文件夹下的所有文
- Webservice
- 从正在运行的容器中获取docker-compose.yml文件位置?