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

osx上面make无法通过 #17

Open
StevenXiaoZhao opened this issue Jul 30, 2016 · 0 comments
Open

osx上面make无法通过 #17

StevenXiaoZhao opened this issue Jul 30, 2016 · 0 comments

Comments

@StevenXiaoZhao
Copy link

您好,osx上面, C++的版本make是没有问题的,但是ltp4j的时候,make报错,错误信息如下:

[ 16%] Built target srl_jni
[ 25%] Linking CXX shared library libs/libparser_jni.dylib
Undefined symbols for architecture x86_64:
"parser_parse(void_, std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::string, std::allocatorstd::string > const&, std::vector<int, std::allocator >&, std::vector<std::string, std::allocatorstd::string >&)", referenced from:
Java_edu_hit_ir_ltp4j_Parser_parse in parser_jni.cpp.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]: *
* [libs/libparser_jni.dylib] Error 1
make[1]: *** [CMakeFiles/parser_jni.dir/all] Error 2
make: *** [all] Error 2

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

1 participant