gcc在Linux下编译so文件出错 jni.h: no such file or directory
时间:2017-08-02 18:10:00
收藏:0
阅读:1746
参考:https://stackoverflow.com/questions/13466777/jni-h-no-such-file-or-directory
例如:
gcc TestNative.cpp -I"${JAVA_HOME}/include" -I"${JAVA_HOME}/include/linux" -fPIC -shared -o testnative.so原文:http://www.cnblogs.com/kemp-blogs/p/7275214.html
评论(0)