首页 > 代码库 > caffe raspberry makefile

caffe raspberry makefile

macro = -DUSE_OPENCV -DCPU_ONLY
caffe_include = /home/jiahu/caffe/include
caffe_lib_path = /home/jiahu/caffe/build/lib
opencv_lib_path = /home/pi/opencv-2.4.9/build/lib

opencv_lib_linker = -lopencv_core -lopencv_highgui -lopencv_imgproc
other_lib_linker = -lboost_system -lgflags -lglog -lprotobuf -lprotoc -lcaffe

classifier:
  g++ $(macro) -oclassifier -std=c++11 -I$(caffe_include) -L$(opencv_lib_path) -L$(caffe_lib_path) $(opencv_lib_linker) $(other_lib_linker) main.cpp

caffe raspberry makefile