[CMake] vtk & cmake get weird error

Xin Zhao sean.null at gmail.com
Fri Aug 3 09:14:51 EDT 2012


Dear all,

I am trying to install vtk from aur(archlinux user repo). And I've got the
following message:

-- Could NOT find JNI (missing:  JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY
JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)

I thought it was because the absence of JNI. But it is not.

I've tried to write a simple CMakeLists.txt on my own including
find_package(JNI).
The CMakeLists.txt works fine:

-- found JNI.


Any ideas about this weird things?


Best,
Xin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120803/886a0a07/attachment.htm>


More information about the CMake mailing list