[Insight-users] library lITKcommon not found
Brice Thurin
brice at 4doptics.com
Wed Jul 2 07:11:20 EDT 2008
Hi Luis,
1) I am running GCC 4.0.
2) I have just succeeded in building it with the Makefile CMake
generator, but still fail to do the same with the xcode generator.
Nevertheless i managed to use the cmake xode generator to build the
helloworld example.
3)
Building target “libitkv3p_netlib.a” of project “ITK” with
configuration “Debug”
cd /Developer/ITK2
/Developer/usr/bin/gcc-4.0 -x c++ -arch i386 -pipe -Wno-trigraphs
-fpascal-strings -fasm-blocks -O0 -DCMAKE_INTDIR="Debug" -fmessage-
length=0 -gdwarf-2 -Wmost -Wno-four-char-constants -Wno-unknown-
pragmas -O0 -F/Developer/ITK2/bin/Debug -I/Developer/ITK2/bin/Debug/
include -I/Developer/ITK2 -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Code/Algorithms -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Code/BasicFilters -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Code/Common -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Code/Numerics -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Code/IO -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Code/Numerics/FEM -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Code/Numerics/Statistics -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Code/Numerics/NeuralNetworks -I/Users/peter/
Downloads/InsightToolkit-3.6.0/Code/SpatialObject -I/Users/peter/
Downloads/InsightToolkit-3.6.0/Utilities/MetaIO -I/Users/peter/
Downloads/InsightToolkit-3.6.0/Utilities/NrrdIO -I/Developer/ITK2/
Utilities/NrrdIO -I/Users/peter/Downloads/InsightToolkit-3.6.0/
Utilities/DICOMParser -I/Developer/ITK2/Utilities/DICOMParser -I/
Developer/ITK2/Utilities/expat -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Utilities/expat -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Utilities/nifti/niftilib -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Utilities/nifti/znzlib -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Utilities/itkExtHdrs -I/Developer/ITK2/Utilities -
I/Users/peter/Downloads/InsightToolkit-3.6.0/Utilities -I/Users/peter/
Downloads/InsightToolkit-3.6.0/Utilities/vxl/v3p/netlib -I/Users/peter/
Downloads/InsightToolkit-3.6.0/Utilities/vxl/vcl -I/Users/peter/
Downloads/InsightToolkit-3.6.0/Utilities/vxl/core -I/Developer/ITK2/
Utilities/vxl/v3p/netlib -I/Developer/ITK2/Utilities/vxl/vcl -I/
Developer/ITK2/Utilities/vxl/core -I/Developer/ITK2/Utilities/gdcm -I/
Users/peter/Downloads/InsightToolkit-3.6.0/Utilities/gdcm/src -I/
Developer/ITK2/bin/ITK.build/Debug/libitkvnl.a.build/DerivedSources -
ftemplate-depth-50 -no-cpp-precomp -Wno-long-double -w -c /Users/peter/
Downloads/InsightToolkit-3.6.0/Utilities/vxl/core/vnl/
vnl_matlab_write.cxx -o /Developer/ITK2/bin/ITK.build/Debug/
libitkvnl.a.build/Objects-normal/i386/vnl_matlab_write.o
/Users/peter/Downloads/InsightToolkit-3.6.0/Utilities/vxl/core/vnl/
vnl_matlab_header.h:16: error: variable or field 'type' declared void
/Users/peter/Downloads/InsightToolkit-3.6.0/Utilities/vxl/core/vnl/
vnl_matlab_header.h:17: error: variable or field 'rows' declared void
/Users/peter/Downloads/InsightToolkit-3.6.0/Utilities/vxl/core/vnl/
vnl_matlab_header.h:18: error: variable or field 'cols' declared void
/Users/peter/Downloads/InsightToolkit-3.6.0/Utilities/vxl/core/vnl/
vnl_matlab_header.h:19: error: variable or field 'imag' declared void
/Users/peter/Downloads/InsightToolkit-3.6.0/Utilities/vxl/core/vnl/
vnl_matlab_header.h:20: error: variable or field 'namlen' declared void
cd /Developer/ITK2
/Developer/usr/bin/gcc-4.0 -x c++ -arch i386 -pipe -Wno-trigraphs
-fpascal-strings -fasm-blocks -O0 -DCMAKE_INTDIR="Debug" -fmessage-
length=0 -gdwarf-2 -Wmost -Wno-four-char-constants -Wno-unknown-
pragmas -O0 -F/Developer/ITK2/bin/Debug -I/Developer/ITK2/bin/Debug/
include -I/Developer/ITK2 -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Code/Algorithms -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Code/BasicFilters -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Code/Common -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Code/Numerics -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Code/IO -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Code/Numerics/FEM -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Code/Numerics/Statistics -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Code/Numerics/NeuralNetworks -I/Users/peter/
Downloads/InsightToolkit-3.6.0/Code/SpatialObject -I/Users/peter/
Downloads/InsightToolkit-3.6.0/Utilities/MetaIO -I/Users/peter/
Downloads/InsightToolkit-3.6.0/Utilities/NrrdIO -I/Developer/ITK2/
Utilities/NrrdIO -I/Users/peter/Downloads/InsightToolkit-3.6.0/
Utilities/DICOMParser -I/Developer/ITK2/Utilities/DICOMParser -I/
Developer/ITK2/Utilities/expat -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Utilities/expat -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Utilities/nifti/niftilib -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Utilities/nifti/znzlib -I/Users/peter/Downloads/
InsightToolkit-3.6.0/Utilities/itkExtHdrs -I/Developer/ITK2/Utilities -
I/Users/peter/Downloads/InsightToolkit-3.6.0/Utilities -I/Users/peter/
Downloads/InsightToolkit-3.6.0/Utilities/vxl/v3p/netlib -I/Users/peter/
Downloads/InsightToolkit-3.6.0/Utilities/vxl/vcl -I/Users/peter/
Downloads/InsightToolkit-3.6.0/Utilities/vxl/core -I/Developer/ITK2/
Utilities/vxl/v3p/netlib -I/Developer/ITK2/Utilities/vxl/vcl -I/
Developer/ITK2/Utilities/vxl/core -I/Developer/ITK2/Utilities/gdcm -I/
Users/peter/Downloads/InsightToolkit-3.6.0/Utilities/gdcm/src -I/
Developer/ITK2/bin/ITK.build/Debug/libitkvnl.a.build/DerivedSources -
ftemplate-depth-50 -no-cpp-precomp -Wno-long-double -w -c /Users/peter/
Downloads/InsightToolkit-3.6.0/Utilities/vxl/core/vnl/
vnl_matlab_read.cxx -o /Developer/ITK2/bin/ITK.build/Debug/
libitkvnl.a.build/Objects-normal/i386/vnl_matlab_read.o
/Users/peter/Downloads/InsightToolkit-3.6.0/Utilities/vxl/core/vnl/
vnl_matlab_header.h:16: error: variable or field 'type' declared void
/Users/peter/Downloads/InsightToolkit-3.6.0/Utilities/vxl/core/vnl/
vnl_matlab_header.h:17: error: variable or field 'rows' declared void
/Users/peter/Downloads/InsightToolkit-3.6.0/Utilities/vxl/core/vnl/
vnl_matlab_header.h:18: error: variable or field 'cols' declared void
/Users/peter/Downloads/InsightToolkit-3.6.0/Utilities/vxl/core/vnl/
vnl_matlab_header.h:19: error: variable or field 'imag' declared void
/Users/peter/Downloads/InsightToolkit-3.6.0/Utilities/vxl/core/vnl/
vnl_matlab_header.h:20: error: variable or field 'namlen' declared void
....
Building target “libITKMetaIO.a” of project “ITK” with configuration
“Debug”
Checking Dependencies
warning: no rule to process file '/Developer/ITK2/Utilities/itktiff/
tif_fax3sm.c.rule' of type file for architecture i386
....
Building target “itkTestDriver” of project “ITK” with configuration
“Debug”
cd /Developer/ITK2
/Developer/usr/bin/g++-4.0 -o /Developer/ITK2/bin/Debug/
itkTestDriver -L/Developer/ITK2/bin/Debug -LDebug -L. -F/Developer/
ITK2/bin/Debug -filelist /Developer/ITK2/bin/ITK.build/Debug/
itkTestDriver.build/Objects-normal/i386/itkTestDriver.LinkFileList -
arch i386 -Wl,-search_paths_first -headerpad_max_install_names /
Developer/ITK2/bin/Debug/libITKIO.a /Developer/ITK2/bin/Debug/
libITKSpatialObject.a /Developer/ITK2/bin/Debug/libITKCommon.a /
Developer/ITK2/bin/Debug/libITKNrrdIO.a /Developer/ITK2/bin/Debug/
libitkgdcm.a /Developer/ITK2/bin/Debug/libitktiff.a /Developer/ITK2/
bin/Debug/libitkjpeg8.a /Developer/ITK2/bin/Debug/libitkjpeg12.a /
Developer/ITK2/bin/Debug/libitkjpeg16.a /Developer/ITK2/bin/Debug/
libitkpng.a /Developer/ITK2/bin/Debug/libITKMetaIO.a /Developer/ITK2/
bin/Debug/libITKniftiio.a /Developer/ITK2/bin/Debug/libITKznz.a /
Developer/ITK2/bin/Debug/libitkzlib.a /Developer/ITK2/bin/Debug/
libITKDICOMParser.a /Developer/ITK2/bin/Debug/libITKEXPAT.a /Developer/
ITK2/bin/Debug/libitkvnl_inst.a /Developer/ITK2/bin/Debug/libitksys.a -
lpthread -lm /Developer/ITK2/bin/Debug/libitkopenjpeg.a /Developer/
ITK2/bin/Debug/libitkvnl_algo.a /Developer/ITK2/bin/Debug/libitkvnl.a /
Developer/ITK2/bin/Debug/libitkvcl.a /Developer/ITK2/bin/Debug/
libitkv3p_netlib.a -lm
i686-apple-darwin9-g++-4.0.1: /Developer/ITK2/bin/Debug/libitkvnl.a:
No such file or directory
Thank you very much for your help
Regards
Brice
On 1 Jul 2008, at 23:43, Luis Ibanez wrote:
> Hi Brice,
>
> 1) What version of GCC are you running in this machine ?
>
> 2) Have you tried building ITK outside of xcode ?
> (e.g. by using the Makefile CMake generator)
>
> 3) Please post to the list the exact error messages
> that you get.
>
>
> Please let us know,
>
>
> Thanks
>
>
> Luis
>
>
>
> -------------------
> Brice Thurin wrote:
>> Good morning,
>> I tried to install ITK3.6 on MacBook Pro running MacOS 10.5 with
>> xcode 3.0.
>> I followed the instruction of the guide for configuring CMake2.6
>> and installing ITK everything run smoothly.
>> However when it tried to build the xcode project generated for ITK
>> (ITK.xcodeproj) , i end up with 10 errors:
>> all of them coming from
>> vnl_matlab_read and vnl_matlab_write : (for example)
>> variable or field "rows" declared void
>> all the errors are of this kind.
>> Any help would be very appreciated
>> Regards
>> Brice
>> ------------------------------------------------------------------------
>> _______________________________________________
>> Insight-users mailing list
>> Insight-users at itk.org
>> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list