简体   繁体   English

make命令需要Java include中的jni_md.h,但是我没有它

[英]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.

相关问题 致命错误:jni_md.h:没有这样的文件或目录#include “jni_md.h” - fatal error: jni_md.h: No such file or directory #include “jni_md.h” JNI - “无法打开包含文件:'jni_md.h'” - JNI - “Cannot open include file: 'jni_md.h'” 在Mac上,Tomcat安装失败,显示“在/ usr / bin / java /中找不到jni_md.h” - Tomcat setup fails on Mac with 'Cannot find jni_md.h in /usr/bin/java/' Raspberry Pi 4 的引导 Bazel 失败,找不到 jni_md.h - Bootstrapping Bazel for Raspberry Pi 4 failed, jni_md.h not found 哪里可以在CentOS OpenJDK 1.8上找到jni_md.h - Where to find jni_md.h on CentOS OpenJDK 1.8 Java:如果不包含软件包,则可以在命令提示符下运行,如果包含软件包,则找不到类错误 - Java: I can run in command prompt if I don't include a package, if I do include a package I get no class found errors 来自MessageDigest的Java中的md5哈希不匹配 - md5 hashes in Java from MessageDigest don't matchup Jaas需要Java策略,但我不知道如何提供它 - Jaas needs a Java Policy I don't know how to provide it Java - Linux 上的命令行:运行代码后我没有任何 output - Java - Command Line on Linux: I don't have any output after I run the code 我想通过命令行安装Java,但没有sudo访问权限。 - I want to install Java through the command line but I don't have sudo access.
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM