Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run-tests failed #79

Open
WenchenLi opened this issue May 1, 2016 · 1 comment
Open

run-tests failed #79

WenchenLi opened this issue May 1, 2016 · 1 comment

Comments

@WenchenLi
Copy link

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
@rolfmertig
Copy link

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

michaelyin added a commit to michaelyin/clstm that referenced this issue Jul 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants