[英]make command needs jni_md.h from java include, but I don't have it
I am going to install JZMQ. 我要安装JZMQ。 After I run the "make" command, error happens /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/include/jni.h:45:10: fatal error: 'jni_md.h' file not found
运行“ make”命令后,会发生错误/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/include/jni.h:45:10: fatal error: 'jni_md.h' file not found
But there is a file named "jni.h" this path. 但是此路径中有一个名为“ jni.h”的文件。 What should I do。 我该怎么办。
It is complaining that jni_md.h
is missing ... not jni.h
. 它抱怨jni_md.h
丢失了……不是jni.h
Check that jni_md.h
exists, work out what its path is. 检查jni_md.h
存在,确定其路径是什么。 Then look at the #include
directives in the jni.h
file to figure out how it is being included. 然后查看jni.h
文件中的#include
指令,以了解如何包含它。
I suspect that you will find that the problem is something to do with the include path as specified on the compiler command line. 我怀疑您会发现问题与编译器命令行上指定的包含路径有关。 Examine the makefile
for JZMQ to see what "-I" options are used, and also review the build instructions. 检查JZMQ的makefile
,以查看使用了哪些“ -I”选项,并查看构建说明。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.