beagle-dev / beagle-lib

general purpose library for evaluating the likelihood of sequence evolution on trees
MIT License
131 stars 57 forks source link

error when running "cmake -DBUILD_CUDA=OFF -DBUILD_OPENCL=OFF .." #202

Closed liamxg closed 6 months ago

liamxg commented 1 year ago

(base) simon@simon-puro build % cmake -DBUILD_CUDA=OFF -DBUILD_OPENCL=OFF .. -- Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 AWT) CMake Error at CMakeLists.txt:98 (message): No JNI includes and libraries found

-- Configuring incomplete, errors occurred! See also "/Users/simon/Desktop/0/1/group/beagle-lib/build/CMakeFiles/CMakeOutput.log". See also "/Users/simon/Desktop/0/1/group/beagle-lib/build/CMakeFiles/CMakeError.log".

liamxg commented 1 year ago

@msuchard

msuchard commented 6 months ago

either install JNI and ensure JAVA_HOME is correctly set, or do not build with JNI via -DBUILD_JNI=OFF