安装caffe v0.999,执行matcaffe报错/bin/sh: 1: -output: not found

~/caffe-0.999$ make matcaffe -j16
CXXLIBS="\$CXXLIBS build/lib/libcaffe.a -L/usr/local/lib -L/usr/local/lib -L/usr/lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu/hdf5/serial -L/usr/local/cuda/lib64 -L/usr/local/cuda/lib -lcudart -lcublas -lcurand -lpthread -lglog -lprotobuf -lleveldb -lsnappy -lboost_system -lhdf5_serial_hl -lhdf5_serial -lopencv_core -lopencv_highgui -lopencv_imgproc -lcblas -latlas" -output matlab/caffe/caffe.mexa64
/bin/sh: 1: -output: not found
Makefile:267: recipe for target 'matlab/caffe/caffe.mexa64' failed
make: *** [matlab/caffe/caffe.mexa64] Error 127
已邀请:

zkk1991 - 90后

赞同来自:

已解决,希望别人不要踩我的坑了
我是用caffe v0.999跑R-CNN,把caffe v0.999根目录下的makefile文件的
CXXLIBS="\$$CXXLIBS $(LDFLAGS)" -o $@
改为
CXXLIBS="\$$CXXLIBS $(LDFLAGS)" -output $@
 

要回复问题请先登录注册