how to compile VTK on Mac Air
- by Ilan Tal
I am trying to compile VTK on a Mac after successfully doing so on Linux.
I am using CMake 2.8.9 and for a long time I had a problem where it couldn't find jni.h.
If anyone else has the problem, the answer is to have JAVA_INCLUDE_PATH2 point to "-framework JavaVM". After that it successfully finds JNI and does a "Configure" followed by "Generate".
…