开发者

JNI build with MinGW

I have a problem with building a dll with gcc (mingw). From this site I read how to do it : http://www.mingw.org/node/41

and the problem is that the file jni.h cannot be found unless it is in current folder where is the java file, the header c file and c file. S开发者_如何学Pythono my question is how to compile the source file *.c with gcc and to include the path to the file jni.h and jni_md.h with no error occurred?

Thanks in advance.


You can use -I switch to locate jni.h file. For more information read this

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜