locate標頭檔案和庫檔案

Real_Biter_Oliver發表於2019-04-02

找不到標頭檔案和庫檔案?
sudo apt-get install mlocate
sudo updatedb
locate opencv2/core.hpp
locate libopencv_core.so

tips:

對於debian系(ubuntu,linuxmint等),用apt安裝的opencv:
INCLUDEPATH += /usr/include
LIBS += /usr/lib/x86_64-linux-gnu/libopencv_*.so
最好明確指明LIBS

相關文章