qt caffe 编译error

error1: undefined reference to ` : caffe::net....

    ans:

            LIBS += -L/home/wanghl/CAFFE/build/lib       -------- 添加路径
            LIBS += -lcaffe      ---------添加caffe


error2: main.o: undefined reference to symbol '_ZN6google15LogMessageFatalD1Ev'

    ans:

           INCLUDEPATH += /home/wanghl/glog-0.3.3/src/

           LIBS +=-lglog

error3:

你可能感兴趣的:(qt caffe 编译error)