You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS: CentOS Linux release 7.9.2009 (AltArch)
arch: aarch64
gcc : 4.8.5
Maven : 3.9.4
jdk : openjdk version "11.0.20"
my steps:
cd javacpp-presets-1.5.3 mvn install -Djavacpp.platform=linux-arm64 -Dmaven.javadoc.skip=true -DskipTests
When I execute the above command, the following error appears:
In file included from /home/javacpp-presets-1.5.3/opencv/cppbuild/linux-arm64/opencv-4.3.0/modules/java/generator/src/cpp/Mat.cpp:8:0:
/home/javacpp-presets-1.5.3/opencv/cppbuild/linux-arm64/opencv-4.3.0/modules/java/generator/src/cpp/common.h:17:17: fatal error: jni.h: No such file or directory
#include <jni.h>
^
compilation terminated.
make[2]: *** [modules/java/jni/CMakeFiles/opencv_java.dir/__/generator/src/cpp/Mat.cpp.o] Error 1
make[1]: *** [modules/java/jni/CMakeFiles/opencv_java.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
My environment:
OS: CentOS Linux release 7.9.2009 (AltArch)
arch: aarch64
gcc : 4.8.5
Maven : 3.9.4
jdk : openjdk version "11.0.20"
my steps:
cd javacpp-presets-1.5.3
mvn install -Djavacpp.platform=linux-arm64 -Dmaven.javadoc.skip=true -DskipTests
When I execute the above command, the following error appears:
but , i found
ll /usr/lib/jvm/java-11-openjdk-11.0.20.0.8-1.el7_9.aarch64/include/
jni.h is at:
/usr/lib/jvm/java-11-openjdk-11.0.20.0.8-1.el7_9.aarch64/include/
The text was updated successfully, but these errors were encountered: