We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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上面, 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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
您好,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
The text was updated successfully, but these errors were encountered: