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

Issue at the last step when compiling the code #1

Open
xuanchien opened this issue Aug 8, 2016 · 2 comments
Open

Issue at the last step when compiling the code #1

xuanchien opened this issue Aug 8, 2016 · 2 comments
Labels

Comments

@xuanchien
Copy link

xuanchien commented Aug 8, 2016

Hi, I got the following error while compiling the code following the guideline in README. Do you have any ideas what can be the cause here?

[ 96%] Built target cnn_shared
[ 96%] Built target cnn
Scanning dependencies of target lstm-parse
[ 98%] Building CXX object parser/CMakeFiles/lstm-parse.dir/lstm-parse.cc.o
[100%] Linking CXX executable lstm-parse
Undefined symbols for architecture x86_64:
  "cpyp::Corpus::PR_UNK", referenced from:
      ParserBuilder::log_prob_parser(cnn::ComputationGraph*, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> > const&, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> > const&, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> > const&, std::__1::map<int, unsigned int, std::__1::less<int>, std::__1::allocator<std::__1::pair<int const, unsigned int> > > const&, std::__1::vector<unsigned int, std::__1::allocator<unsigned int> > const&, double*) in lstm-parse.cc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [parser/lstm-parse] Error 1
make[1]: *** [parser/CMakeFiles/lstm-parse.dir/all] Error 2
make: *** [all] Error 2

I am using Mac OSX (version OS X 10.10.5)

Thank you in advance

@adrian-lzf
Copy link

I've got the same error with you. Do you have any solution now?

@xuanchien
Copy link
Author

I forgot this. Perhaps I was not able to resolve the issue

@swabhs swabhs added the wontfix label Jul 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants