[vtkusers] Compile problem on Solaris 5.8 using cmake
William A. Hoffman
billlist at nycap.rr.com
Fri Jun 14 10:19:29 EDT 2002
When did you last do a cvs update?
Does your top level CMakeLists.txt file have this:
IF (VTK_WRAP_JAVA)
....
IF (NOT VTK_JAVA_HOME)
SET (VTK_JAVA_HOME ${VTK_BINARY_DIR}/java/vtk CACHE PATH "Path to Java install")
ENDIF (NOT VTK_JAVA_HOME)
MAKE_DIRECTORY(${VTK_JAVA_HOME})
.....
ENDIF (VTK_WRAP_JAVA)
Note, the MAKE_DIRECTORY call.
-Bill
At 04:08 PM 6/14/2002 +0200, Steve Boyd wrote:
>Hi,
>
>You were right about the write problem. I had been focussing on the "0"
>or "1", but didn't realize the problem was writing to a directory that
>had not yet been created. The java home directory
>/home/boyd/pack/vtk4.1/VTK/java/vtk specified in CMake is fine, but I
>didn't actually create that directory. I assumed CMake would make it if
>it didn't exist. I have previously been using CMake on a PC, and I
>think that if I gave a directory target that didn't yet exist it would
>automatically create it for me (no?). Anyways, not the case on the SUN
>and now that I've made the target directory it seems to be compiling
>fine.
>
>Thanks for pointing out my mistake.
>
>Sincerely,
>
>Steve
>--
>Steven Boyd, PhD
>
>Institute for Biomedical Engineering
>ETH and University Zuerich
>Moussonstrasse 18
>8044 Zuerich, Switzerland
>
>tel. +41.1.632.4591 fax. +41.1.632.1214 boyd at biomed.ee.ethz.ch
>-------------------------------------------------------------------
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list