1. 程式人生 > >QT 常用pro工程配置:opencv caffe

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