QT 常用pro工程配置:opencv caffe

INCLUDEPATH +=/home/sunyi/caffe/include \
            /home/sunyi/caffe/src \

LIBS +=/usr/lib/libcaffe.so.1.0.0-rc3

#cuda
INCLUDEPATH +=/usr/local/cuda/include
LIBS += -L/usr/local/cuda/lib64 \
        -lcudart -lcublas -lcurand -lnvrtc
#protobuff
LIBS += -L/usr/lib/aarch64-linux-gnu \
        -lprotobuf
#opencv
LIBS +=`pkg-config opencv --cflags --libs` -lm

#othet dependencies
LIBS += -lglog -lgflags  -lboost_system -lboost_thread -llmdb -lleveldb -lstdc++ -lcudnn -lcblas -latlas

猜你喜欢

转载自blog.csdn.net/weixin_38907330/article/details/83542639