第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

ubuntu18.04 配置caffe-ssd

首先,大家如果想省事情,请直接换成ubuntu16.04,网上很多配置教程很好用。

不然,有很多坑要填!

  1. gcc和g++版本用5.0以上版本

  2. python用原生的python,最好用python2

  3. gflags,下载源码安装

  4. opencv下载源码安装,参考我的另一篇博客:http://idcbgp.cn/article/284786

/usr/local/lib/libopencv_imgcodecs.so:对‘TIFFClose@LIBTIFF_4.0’
未定义的引用
/usr/local/lib/libopencv_imgcodecs.so:对‘TIFFRGBAImageOK@LIBTIFF_4.0’
未定义的引用
/usr/local/lib/libopencv_imgcodecs.so:对‘TIFFReadRGBAStrip@LIBTIFF_4.0’
未定义的引用
collect2: error: ld returned 1 exit 
statusmake: *** [.build_release/tools/convert_imageset.bin] 错误 1

解决:在cmake编译opencv时候加参数编译-DBUILD_TIFF=ON

  5. boost源码安装:使用1.58版本的,安装前需要先删除和卸载相关的东西库

$ make 
[  1%] Built target proto
[ 80%] Built target caffe
[ 82%] Linking CXX executable upgrade_solver_proto_text
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `boost::re_detail_106300::cpp_regex_traits_implementation<char>::transform(char const*, char const*) const'
../lib/libcaffe.so.1.0.0-rc3: undefined reference to `boost::re_detail_106300::cpp_regex_traits_implementation<char>::transform_primary(char const*, char const*) const'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/upgrade_solver_proto_text.dir/build.make:132: tools/upgrade_solver_proto_text] Error 1
make[1]: *** [CMakeFiles/Makefile2:442: tools/CMakeFiles/upgrade_solver_proto_text.dir/all] Error 2
make: *** [Makefile:128: all] Error 2

最后,建议大家还是用ubuntu16.04。配置环境是真的累!


點(diǎn)擊查看更多內(nèi)容
1人點(diǎn)贊

若覺得本文不錯(cuò),就分享一下吧!

評(píng)論

作者其他優(yōu)質(zhì)文章

正在加載中
感謝您的支持,我會(huì)繼續(xù)努力的~
掃碼打賞,你說多少就多少
贊賞金額會(huì)直接到老師賬戶
支付方式
打開微信掃一掃,即可進(jìn)行掃碼打賞哦
今天注冊(cè)有機(jī)會(huì)得

100積分直接送

付費(fèi)專欄免費(fèi)學(xué)

大額優(yōu)惠券免費(fèi)領(lǐng)

立即參與 放棄機(jī)會(huì)
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)

舉報(bào)

0/150
提交
取消