[vtkusers] (no subject)
cncadcam at 163.com
Tue Dec 7 09:56:59 EST 2004
I want to wrap Java when compile the source, when I set the cmake cache variable VTK_WRAP_JAVA on, I met the following cache variable not set error: JAVA_AWT_INCLUDE_PATH, JAVA_INCLUDE_PATH,JAVA_INCLUDE_PATH2. I have install JDK1.5.0 at directory C:\JDK1.5.0, so I try to set the variable as the following: JAVA_ARCHIVE="C:\JDK1.5.0\LIB\TOOLS.JAR", JAVA_AWT_INCLUDE_PATH="C:\JDK1.5.0\INCLUDE", JAVA_AWT_LIBRAY="C:\JDK1.5.0\LIB\TOOLS.JAR", JAVA_COMPILE="C:\JDK1.5.0\JRE\BIN\JAVACPL.EXE",JAVA_INLUDE_PATH= "C:\JDK1.5.0\INCLUDE",JAVA_INCLUDE_PATH2="C:\JDK1.5.0\INCLUDE".I don't know how to set the variables properly, I just guess and try, during the course of compiling, I first met the error of header file not founding, I search and copy two header file to directory of "C:\JDK1.5.0\INCLUDE", then go on compiling, at last I met link one error of lib file not found at "C:\JDK1.5.0\lib\tools.jar.lib", how can I solve the problem?
Thanks in advance!
More information about the vtkusers