SCI Seg3D Mailing List

Text archives Help


[Seg3D] Re: Build error on Ubuntu 9.04


Chronological Thread 
  • From: Kristen Zygmunt <krismz@sci.utah.edu>
  • To: seg3d@sci.utah.edu
  • Subject: [Seg3D] Re: Build error on Ubuntu 9.04
  • Date: Thu, 25 Mar 2010 10:02:15 -0600

Hi Bernardo,
As of revision 4 (12/05/2009) of Externals/itk/Code/IO/CMakeLists.txt, itkTestDriver should no longer be built. If you need this executable for some reason, please let me know and we can continue to debug why it isn't building properly. Otherwise, let's do the following to make sure you have the latest revision of code:

go to Externals/itk/Code/IO and execute:
>> svn info CMakeLists.txt
verify that you have the latest revision 15 for this file.

You may also want to go to Externals/itk
>> svn info
to verify that the full itk repository is at revision 15

Once you've confirmed you have the correct revision, you should clean up your bin directory. You can try just going to your bin directory and:

>> make clean
>> make

which should work. If it doesn't, you can either remove the bin/Code/IO directory (and all of its contents), or you can remove the entire bin directory, svn update to recreate the directory, and then rerun the build.sh command.

Good luck!
Kris


On 3/24/10 7:15 PM, Bernardo M. Rocha wrote:
Hi everyone,

I got the followings errors trying to build Seg3D on my machine.
/
/Linking CXX executable ../../bin/itkTestDriver
../../bin/libITKIO.a(itkLSMImageIO.o): In function `itk::LSMImageIO::Write(void const*)':
itkLSMImageIO.cxx:(.text+0xa70): undefined reference to `TIFFSetTagExtender'
itkLSMImageIO.cxx:(.text+0x1434): undefined reference to `TIFFCreateDirectory'
../../bin/libITKIO.a(itkLSMImageIO.o): In function `TagExtender':
itkLSMImageIO.cxx:(.text+0x4b): undefined reference to `TIFFMergeFieldInfo'
../../bin/libITKIO.a(itkTIFFImageIO.o): In function `itk::TIFFReaderInternal::Initialize()':
itkTIFFImageIO.cxx:(.text+0xe89): undefined reference to `TIFFNumberOfDirectories'
../../bin/libITKIO.a(itkTIFFImageIO.o): In function `itk::TIFFImageIO::InternalWrite(void const*)':
itkTIFFImageIO.cxx:(.text+0x22dd): undefined reference to `TIFFDefaultStripSize'
itkTIFFImageIO.cxx:(.text+0x31d4): undefined reference to `TIFFCreateDirectory'
../../bin/libITKIO.a(itkTIFFImageIO.o): In function `itk::TIFFImageIO::ReadTwoSamplesPerPixelImage(void*, unsigned int, unsigned int)':
itkTIFFImageIO.cxx:(.text+0x5386): undefined reference to `_TIFFmalloc'
itkTIFFImageIO.cxx:(.text+0x53a3): undefined reference to `_TIFFfree'
../../bin/libITKIO.a(itkTIFFImageIO.o): In function `itk::TIFFImageIO::ReadGenericImage(void*, unsigned int, unsigned int)':
itkTIFFImageIO.cxx:(.text+0x6236): undefined reference to `_TIFFmalloc'
itkTIFFImageIO.cxx:(.text+0x6601): undefined reference to `_TIFFfree'
collect2: ld returned 1 exit status
make[2]: *** [bin/itkTestDriver] Error 1
make[1]: *** [Code/IO/CMakeFiles/itkTestDriver.dir/all] Error 2
make: *** [all] Error 2


Any help?

Best regards,
Bernardo M. Rocha




Archive powered by MHonArc 2.6.16.

Top of page