[vtkusers] Compile VTK with Java wrappings on OS X 10.4.11 (Intel)

Mike Jackson imikejackson at gmail.com
Sun Mar 16 09:43:54 EDT 2008


try  building with SHARED_LIBS ON.

--  
Mike Jackson   Senior Research Engineer
Innovative Management & Technology Services


On Mar 15, 2008, at 5:21 PM, Timothy Driscoll wrote:

> hi,
>
> I am new to VTK, and I'm trying to compile it with Java wrappings  
> under OS X.  CCMAKE works fine, but MAKE always fails circa 20%  
> complete with the following message:
>
> /local/vtk/vtk-build/bin/libvtkFilteringJava.dylib(vtkDataSet.o)  
> definition of __ZTV10vtkDataSet
> /local/vtk/vtk-build/bin/libvtkFiltering.a(vtkDataSet.o) definition  
> of __ZTV10vtkDataSet in section (__DATA,__const)
> /usr/bin/libtool: internal link edit command failed
> make[2]: *** [bin/libvtkImagingJava.5.1.0.dylib] Error 1
> make[1]: *** [Imaging/CMakeFiles/vtkImagingJava.dir/all] Error 2
> make: *** [all] Error 2
>
>
> (I can send the entire output if necessary.)  my system is an Apple  
> Macbook Pro (Intel; OS 10.4.11; Java 1.5.0_07).  I have tried the  
> latest stable release of VTK (5.0.4) as well as the CVS version  
> (5.1 rev 1.3056; 2008-03-14 01:05:48).  I have also tried following  
> the instructions here:
>
> <http://public.kitware.com/pipermail/vtkusers/2006-July/085921.html>
>
> my basic config options look like this:
>
>  BUILD_EXAMPLES                   ON
>  BUILD_SHARED_LIBS                OFF
>  CMAKE_BACKWARDS_COMPATIBILITY    2.4
>  CMAKE_BUILD_TYPE
>  CMAKE_INSTALL_PREFIX             /local/vtk/vtk-build
>  CMAKE_OSX_ARCHITECTURES          i386
>  CMAKE_OSX_SYSROOT                /Developer/SDKs/MacOSX10.4u.sdk
>  VTK_DATA_ROOT                    VTK_DATA_ROOT-NOTFOUND
>  VTK_NO_PYTHON_THREADS            OFF
>  VTK_USE_BOOST                    OFF
>  VTK_USE_CARBON                   OFF
>  VTK_USE_COCOA                    ON
>  VTK_USE_FFMPEG_ENCODER           OFF
>  VTK_USE_INFOVIS                  ON
>  VTK_USE_METAIO                   ON
>  VTK_USE_MPEG2_ENCODER            OFF
>  VTK_USE_MYSQL                    OFF
>  VTK_USE_PARALLEL                 OFF
>  VTK_USE_POSTGRES                 OFF
>  VTK_USE_RENDERING                ON
>  VTK_USE_VIEWS                    ON
>  VTK_USE_X                        OFF
>  VTK_WRAP_JAVA                    ON
>  VTK_WRAP_PYTHON                  OFF
>  VTK_WRAP_TCL                     OFF
>
>
>
> can anyone please offer some advice?
>
>
> many thanks!
>
> tim
> -- 
> earth:usa:virginia:blacksburg
>
> I am molvisions on ichat/aim
> I am behindtherabbit on del.icio.us
> I am behindtherabbit on last.fm
>
>
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/ 
> Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list