tmbdev / clstm

A small C++ implementation of LSTM networks, focused on OCR.
Apache License 2.0
821 stars 224 forks source link

Error in running ./run-tests #87

Open naufil601 opened 8 years ago

naufil601 commented 8 years ago

When I run "./run-tests",I get this error. I've tried "scons -c && scons && sudo scons install" but it gave the same error of clstm.proto.o Help required..

export seed=0.222

scons -s -c

rm -f .o .a

scons -j 4 gpu=0 debug=0 options= clstmocrtrain clstmfiltertrain clstmfilter clstmocr test-lstm scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... g++ --std=c++11 -Wno-unused-result -o clstmocrtrain.o -c -g -O3 -DEIGEN_NO_DEBUG -DCATCH=catch -DCLSTM_ALL_TENSOR=1 -DNODISPLAY=1 -DTHROW=throw -DTRY=try -I/usr /include/eigen3 clstmocrtrain.cc g++ --std=c++11 -Wno-unused-result -o clstm.o -c -g -O3 -DEIGEN_NO_DEBUG -DCATCH=catch -DCLSTM_ALL_TENSOR=1 -DNODISPLAY=1 -DTHROW=throw -DTRY=try -I/usr/include/eigen3 clstm.cc g++ --std=c++11 -Wno-unused-result -o ctc.o -c -g -O3 -DEIGEN_NO_DEBUG -DCATCH=catch -DCLSTM_ALL_TENSOR=1 -DNODISPLAY=1 -DTHROW=throw -DTRY=try -I/usr/include/eigen3 ctc.cc protoc(["clstm", "clstm.pb.cc", "clstm.pb.h"], ["clstm.proto"]) sh: 1: protoc: not found g++ --std=c++11 -Wno-unused-result -o clstm_proto.o -c -g -O3 -DEIGEN_NO_DEBUG -DCATCH=catch -DCLSTM_ALL_TENSOR=1 -DNODISPLAY=1 -DTHROW=throw -DTRY=try -I/usr/include/eigen3 clstm_proto.cc clstm_proto.cc:19:22: fatal error: clstm.pb.h: No such file or directory compilation terminated. scons: *\ [clstm_proto.o] Error 1 scons: building terminated because of errors.

echo TEST FAILED TEST FAILED