Deeplab 在Qt Creator下编译报错undefined reference to Mat_xxx
生活随笔
收集整理的這篇文章主要介紹了
Deeplab 在Qt Creator下编译报错undefined reference to Mat_xxx
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
https://github.com/TheLegendAli/DeepLab-Context/issues/8
1. 修改工程根目錄下的CMakeLists.txt
末尾加上
find_package(MATIO REQUIRED)
include_directories(${MATIO_INCLUDE_DIR})
2. 修改src/caffe/CMakeLists.txt
target_link_libraries(caffe proto...)
中加入${MATIO_LIBRARIES}
3. 在/cmake/Modules中加入FindMATIO.cmake
4. 在cmake/Dependencies.cmake中加入
find_package(MATIO REQUIRED) include_directories(${MATIO_INCLUDE_DIR}) list(APPEND Caffe_LINKER_LIBS ${MATIO_LIBRARIES})
總結
以上是生活随笔為你收集整理的Deeplab 在Qt Creator下编译报错undefined reference to Mat_xxx的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 工控电脑如何使用WINDOWSPE系统
- 下一篇: caffe blob操作