-
Notifications
You must be signed in to change notification settings - Fork 1
gradlew fails #2
Comments
OpenCV seems to be compiled with Java 10. CLARA and CLAS12 use Java 8. |
Any idea how to fix this? |
You'll probably have to compile OpenCV with a compatible Java version. Here you have all the CMake options used to compile OpenCV in the CI: Lines 12 to 50 in 398ad97
Note that If a non-standard directory is used, it may be required to set the OpenCV install location as a Gradle property: Line 43 in 398ad97
The same for C++, if CMake cannot find OpenCV, you should pass where OpenCV is installed with You may want to ensure the Java 8 compiler is used (while Clara compiles with JDK 11, I do not know about OpenJDK). The build passes and the Clara shell runs without issues: https://travis-ci.org/JeffersonLab/clara-demo/builds/497325107 But all this is just for this example, and it is specified in |
Could you make a c++ demo without any dependencies that does something trivial? I have setup something (non functioning) here: |
Thanks for the tips for building opencv-3. Running this demo I get the same failure: The full output is below:
|
The text was updated successfully, but these errors were encountered: