HIT-SCIR / ltp4j

ltp4j: Language Technology Platform For Java
162 stars 82 forks source link

osx上面make无法通过 #17

Open StevenXiaoZhao opened 8 years ago

StevenXiaoZhao commented 8 years ago

您好,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: "parserparse(void, std::vector<std::string, std::allocator > const&, std::vector<std::string, std::allocator > const&, std::vector<int, std::allocator >&, std::vector<std::string, std::allocator >&)", referenced from: _Java_edu_hit_ir_ltp4j_Parser_parse in parser_jni.cpp.o ld: symbol(s) not found for architecture x8664 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