开发者

creating a shared library from c++ source file

when I tried to create a shared library file using the "cl" command in the vc++ command prompt, it shows a error saying "Can't open include file "jni.h": No such file or directory"... the jni.h is tried to be included in the machine generated header file from java class... i am using this for开发者_如何学Python java navite interface operations... can any one help me...


Sounds like you need to tell cl where to find jni.h. That'll involve using its -I option, perhaps like this:

-I"C:\Java\what ever\include"
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜