| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0007279 | ITK | public | 2008-07-03 15:30 | 2010-10-21 12:32 | |||||
| Reporter | Andriy Fedorov | ||||||||
| Assigned To | Luis Ibanez | ||||||||
| Priority | normal | Severity | block | Reproducibility | always | ||||
| Status | closed | Resolution | won't fix | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0007279: ITK 3.6.0 numerous compile errors with gcc 4.3.1 | ||||||||
| Description | I am trying to compile ITK 3.6 on this system: andrey@beat:~/local/ITK-pristine-build> uname -ar Linux beat 2.6.25.5-1.1-default #1 SMP 2008-06-07 01:55:22 +0200 x86_64 x86_64 x86_64 GNU/Linux andrey@beat:~/local/ITK-pristine-build> gcc -v Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ [^] --with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.3 --enable-version-specific-runtime-libs --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux Thread model: posix gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux) There are multiple compile errors because string.h and stdlib.h are not included, like this one: /home/andrey/local/src/InsightToolkit-3.6.0-pristine/Utilities/DICOMParser/DICOMSource.cxx: In copy constructor ‘itkdicomparser::DICOMSource::DICOMSource(const itkdicomparser::DICOMSource&)’: /home/andrey/local/src/InsightToolkit-3.6.0-pristine/Utilities/DICOMParser/DICOMSource.cxx:62: error: ‘strcmp’ was not declared in this scope /home/andrey/local/src/InsightToolkit-3.6.0-pristine/Utilities/DICOMParser/DICOMSource.cxx: In member function ‘void itkdicomparser::DICOMSource::operator=(const itkdicomparser::DICOMSource&)’: /home/andrey/local/src/InsightToolkit-3.6.0-pristine/Utilities/DICOMParser/DICOMSource.cxx:74: error: ‘strcmp’ was not declared in this scope I tried to resolve these by manually adding the headers, but then I had the problem below, which I don't know how to resolve. [ 79%] Building CXX object Code/Common/CMakeFiles/ITKCommon.dir/itkOctreeNode.o In file included from /home/andrey/local/src/InsightToolkit-3.6.0/Code/Common/itkImageBoundaryCondition.h:22, from /home/andrey/local/src/InsightToolkit-3.6.0/Code/Common/itkNeighborhoodAccessorFunctor.h:20, from /home/andrey/local/src/InsightToolkit-3.6.0/Code/Common/itkImage.h:29, from /home/andrey/local/src/InsightToolkit-3.6.0/Code/Common/itkOctree.h:21, from /home/andrey/local/src/InsightToolkit-3.6.0/Code/Common/itkOctreeNode.cxx:18: /home/andrey/local/src/InsightToolkit-3.6.0/Code/Common/itkNeighborhood.h:153: error: declaration of ‘unsigned int itk::Neighborhood<TPixel, VDimension, TAllocator>::Size() const’ /home/andrey/local/src/InsightToolkit-3.6.0/Code/Common/itkSize.h:46: error: changes meaning of ‘Size’ from ‘class itk::Size<VDimension>’ gmake[2]: *** [Code/Common/CMakeFiles/ITKCommon.dir/itkOctreeNode.o] Error 1 | ||||||||
| Tags | No tags attached. | ||||||||
| Resolution Date | |||||||||
| Sprint | |||||||||
| Sprint Status | |||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0012618) Andriy Fedorov (developer) 2008-07-03 16:21 |
The issue appears to be fixed in the cvs. Consider resolved. |
|
(0012629) Luis Ibanez (manager) 2008-07-05 13:50 |
The ITK CVS trunk has already been modified to support GCC 4.3 ITK 3.6 won't be modified for supporting GCC 4.3 |
|
(0012630) Luis Ibanez (manager) 2008-07-05 13:51 |
ITK CVS support gcc 4.3. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2008-07-03 15:30 | Andriy Fedorov | New Issue | |
| 2008-07-03 16:21 | Andriy Fedorov | Note Added: 0012618 | |
| 2008-07-05 13:49 | Luis Ibanez | Status | new => assigned |
| 2008-07-05 13:49 | Luis Ibanez | Assigned To | => Luis Ibanez |
| 2008-07-05 13:50 | Luis Ibanez | Note Added: 0012629 | |
| 2008-07-05 13:51 | Luis Ibanez | Status | assigned => resolved |
| 2008-07-05 13:51 | Luis Ibanez | Resolution | open => won't fix |
| 2008-07-05 13:51 | Luis Ibanez | Note Added: 0012630 | |
| 2010-10-21 12:32 | Gabe Hart | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |