开发者

creating a shared library from c++ source file

开发者 https://www.devze.com 2022-12-26 11:21 出处:网络
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

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

精彩评论

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