Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

fatal error: 'jni.h' file not found

$
0
0
Hello, I encountered really strange issue, which appeared recently most likely due to XCode/Java updates. Here is my setup: - OSX EL Capitan 10.11.6 - Xcode Version 8.1 (8B62) - java version "1.8.0_111" - Java(TM) SE Runtime Environment (build 1.8.0_111-b14) - Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode) My codebase is: commit 6c12533160bc5e6de1f09847d9cd6dd548667a55 Merge: 811eb76 bec3479 Author: Alexander Alekhin Date: Mon Oct 31 17:35:41 2016 +0000 Previously I was able to build opencv master from sources with no issues but when I'm trying to build it now, it cannot find jni.h!: /opencv/modules/java/generator/src/cpp/common.h:8:10: fatal error: 'jni.h' file not found #include Appreciate any ideas or hints how to fix this? JAVA_HOME is pointing at correct folder and also include folder is there and jni.h is where it should be ...

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>