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"
精彩评论