clstm icon indicating copy to clipboard operation
clstm copied to clipboard

run-tests failed

Open WenchenLi opened this issue 8 years ago • 1 comments

hi, running ./run-tests gave me this, how can I fix this?

test-lstm.cc:81:3: error: use of undeclared identifier 'unlink'
  unlink("__test0__.clstm");
  ^
test-lstm.cc:114:3: error: use of undeclared identifier 'unlink'
  unlink("__test__.clstm");
  ^
2 errors generated.
scons: *** [test-lstm.o] Error 1
scons: building terminated because of errors.

>>>>>>> echo TEST FAILED
TEST FAILED

WenchenLi avatar May 01 '16 13:05 WenchenLi

Adding #include <unistd.h> in test.lstm.cc worked for me.

rolfmertig avatar May 08 '16 20:05 rolfmertig