[Insight-users] Build error on OSX for java wrapper JavaCWD.o

Darren Weber darren.weber.lists at gmail.com
Mon May 11 20:42:28 EDT 2009


[ 39%] Building CXX object
Wrapping/CSwig/SwigRuntime/CMakeFiles/SwigRuntimeJava.dir/JavaCWD.o
cd
/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12-build/Wrapping/CSwig/SwigRuntime
&& /opt/local/bin/c++   -DSWIG_GLOBAL -DSwigRuntimeJava_EXPORTS
-ftemplate-depth-50 -Wall -Wno-deprecated -no-cpp-precomp -Wno-long-double
-w -O2 -g -fPIC
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12-build
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Code/Algorithms
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Code/BasicFilters
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Code/Common
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Code/Numerics
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Code/IO
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Code/Numerics/FEM
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Code/Numerics/Statistics
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Code/Numerics/NeuralNetworks
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Code/SpatialObject
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Utilities/MetaIO
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Utilities/NrrdIO
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12-build/Utilities/NrrdIO
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Utilities/DICOMParser
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12-build/Utilities/DICOMParser
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12-build/Utilities/expat
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Utilities/expat
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Utilities/nifti/niftilib
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Utilities/nifti/znzlib
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Utilities/itkExtHdrs
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12-build/Utilities
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Utilities
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Utilities/vxl/v3p/netlib
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Utilities/vxl/vcl
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Utilities/vxl/core
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12-build/Utilities/vxl/v3p/netlib
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12-build/Utilities/vxl/vcl
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12-build/Utilities/vxl/core
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12-build/Utilities/gdcm
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Utilities/gdcm/src
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Headers
-I/opt/local/include -I/System/Library/Frameworks/JavaVM.framework/Headers
-I/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Wrapping/CSwig/SwigRuntime
-o CMakeFiles/SwigRuntimeJava.dir/JavaCWD.o -c
/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12/Wrapping/CSwig/SwigRuntime/JavaCWD.cxx
Linking CXX shared module ../../../bin/libSwigRuntimeJava.so
cd
/opt/local/var/macports/build/_Users_dweber_ports_graphics_InsightToolkit/work/InsightToolkit-3.12-build/Wrapping/CSwig/SwigRuntime
&& /opt/local/bin/cmake -E cmake_link_script
CMakeFiles/SwigRuntimeJava.dir/link.txt --verbose=1
/opt/local/bin/c++    -ftemplate-depth-50 -Wall -Wno-deprecated
-no-cpp-precomp -Wno-long-double -w -O2 -g -bundle
-headerpad_max_install_names   -compatibility_version 3.12.0
-current_version 3.12.0 -o
../../../bin/libSwigRuntimeJava.3.12.0.soCMakeFiles/SwigRuntimeJava.dir/JavaCWDJava.o
CMakeFiles/SwigRuntimeJava.dir/JavaCWD.o -L.
i686-apple-darwin9-g++-4.0.1: -compatibility_version only allowed with
-dynamiclib
gnumake[2]: *** [bin/libSwigRuntimeJava.3.12.0.so] Error 1
gnumake[1]: ***
[Wrapping/CSwig/SwigRuntime/CMakeFiles/SwigRuntimeJava.dir/all] Error 2
gnumake: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090511/b40d963a/attachment.htm>


More information about the Insight-users mailing list