forked from ruoshui1126/ltp4j
-
Notifications
You must be signed in to change notification settings - Fork 82
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
OS X上make发生错误fatal error: 'ltp/SRL_DLL.h' file not found #18
Comments
@endyul @carfly @Oneplus @jiangfeng1124 |
我也遇到这个问题,请问你解决了吗 |
同问这个问题 |
怎么解决? |
3.4版本生成的是srl_dll.h小写,怎么解决? |
找不到SDR_DLL.h的话,可以把ltp-3.3.2/include/ltp这个目录copy到ltp4j/jni这个目录下,再重新编译 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
MacdeMacBook-Pro:ltp4j mac$ make
Scanning dependencies of target srl_jni
[ 8%] Building CXX object CMakeFiles/srl_jni.dir/jni/srl_jni.cpp.o
/Users/mac/Documents/ltp4j/jni/srl_jni.cpp:2:10: fatal error: 'ltp/SRL_DLL.h'
file not found
include "ltp/SRL_DLL.h"
1 error generated.
make[2]: *** [CMakeFiles/srl_jni.dir/jni/srl_jni.cpp.o] Error 1
make[1]: *** [CMakeFiles/srl_jni.dir/all]
The text was updated successfully, but these errors were encountered: