SCIRun User Mailing List

Text archives Help


[SCIRUN-USERS] problems compiling insight module on os x


Chronological Thread 
  • From: Andy Triboletti <atribole@coe.neu.edu>
  • To: scirun-users@sci.utah.edu
  • Subject: [SCIRUN-USERS] problems compiling insight module on os x
  • Date: Tue, 4 Jan 2005 18:59:24 -0500

Hi,

I'm having a compiler error when trying to build scirun with the insight and teem packages. I'm using OS 10.3.7, with this configure line:
../src/configure --with-thirdparty=/usr/local/SCIRun/Thirdparty_osx --enable-package="BioPSE Teem MatlabInterface Insight" --enable-32bit --disable-sci-malloc CC=gcc CXX=g++ --with-insight=/usr/local/lib/InsightToolkit

It builds without Insight ok. The external Insight package installed without errors.

I've attached below the output right before the error.

Has anyone else run into this problem?


g++ -O2 -fno-common -dynamic -fcoalesce-templates -Wno-long-double -I/usr/local/SCIRun/Thirdparty_osx/include -I/usr/local/SCIRun/Thirdparty_osx/src/tcl/generic -I/usr/local/SCIRun/Thirdparty_osx/src/tk/generic -I../src/include -I../src -I. -I./include -I../src/Packages -I/usr/X11R6/include -I/usr/local/include/InsightToolkit -I/usr/local/include/InsightToolkit/Algorithms -I/usr/local/include/InsightToolkit/BasicFilters -I/usr/local/include/InsightToolkit/Common -I/usr/local/include/InsightToolkit/Numerics -I/usr/local/include/InsightToolkit/IO -I/usr/local/include/InsightToolkit/Numerics/FEM -I/usr/local/include/InsightToolkit/Numerics/Statistics -I/usr/local/include/InsightToolkit/SpatialObject -I/usr/local/include/InsightToolkit/Utilities/MetaIO -I/usr/local/include/InsightToolkit/Utilities/NrrdIO -I/usr/local/include/InsightToolkit/Utilities/DICOMParser -I/usr/local/include/InsightToolkit/Utilities -I/usr/local/include/InsightToolkit/Utilities/vxl/vcl -I/usr/local/include/InsightToolkit/Utilities/vxl/core -faltivec -I/usr/X11R6/include/freetype2 -I./Packages -I/usr/local/include/InsightToolkit -I/usr/local/include/InsightToolkit/Algorithms -I/usr/local/include/InsightToolkit/BasicFilters -I/usr/local/include/InsightToolkit/Common -I/usr/local/include/InsightToolkit/Numerics -I/usr/local/include/InsightToolkit/IO -I/usr/local/include/InsightToolkit/Numerics/FEM -I/usr/local/include/InsightToolkit/Numerics/Statistics -I/usr/local/include/InsightToolkit/SpatialObject -I/usr/local/include/InsightToolkit/Utilities/MetaIO -I/usr/local/include/InsightToolkit/Utilities/NrrdIO -I/usr/local/include/InsightToolkit/Utilities/DICOMParser -I/usr/local/include/InsightToolkit/Utilities -I/usr/local/include/InsightToolkit/Utilities/vxl/vcl -I/usr/local/include/InsightToolkit/Utilities/vxl/core -I/usr/local/include/InsightToolkit -I/usr/local/include/InsightToolkit/Algorithms -I/usr/local/include/InsightToolkit/BasicFilters -I/usr/local/include/InsightToolkit/Common -I/usr/local/include/InsightToolkit/Numerics -I/usr/local/include/InsightToolkit/IO -I/usr/local/include/InsightToolkit/Numerics/FEM -I/usr/local/include/InsightToolkit/Numerics/Statistics -I/usr/local/include/InsightToolkit/SpatialObject -I/usr/local/include/InsightToolkit/Utilities/MetaIO -I/usr/local/include/InsightToolkit/Utilities/NrrdIO -I/usr/local/include/InsightToolkit/Utilities/DICOMParser -I/usr/local/include/InsightToolkit/Utilities -I/usr/local/include/InsightToolkit/Utilities/vxl/vcl -I/usr/local/include/InsightToolkit/Utilities/vxl/core -I/usr/local/include/InsightToolkit -I/usr/local/include/InsightToolkit/Algorithms -I/usr/local/include/InsightToolkit/BasicFilters -I/usr/local/include/InsightToolkit/Common -I/usr/local/include/InsightToolkit/Numerics -I/usr/local/include/InsightToolkit/IO -I/usr/local/include/InsightToolkit/Numerics/FEM -I/usr/local/include/InsightToolkit/Numerics/Statistics -I/usr/local/include/InsightToolkit/SpatialObject -I/usr/local/include/InsightToolkit/Utilities/MetaIO -I/usr/local/include/InsightToolkit/Utilities/NrrdIO -I/usr/local/include/InsightToolkit/Utilities/DICOMParser -I/usr/local/include/InsightToolkit/Utilities -I/usr/local/include/InsightToolkit/Utilities/vxl/vcl -I/usr/local/include/InsightToolkit/Utilities/vxl/core -MD -c ../src/Core/Algorithms/DataIO/DicomImage.cc -o Core/Algorithms/DataIO/DicomImage.o
../src/Core/Algorithms/DataIO/DicomImage.cc: In constructor `
   SCIRun::DicomImage::DicomImage(itk::SmartPointer<itk::DicomImageIO>,
   itk::SmartPointer<itk::Image<PixelType, 3> >, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> >)':
../src/Core/Algorithms/DataIO/DicomImage.cc:99: error: could not convert `
   (*((&io)->itk::SmartPointer<TObjectType>::operator->() const [with
TObjectType = itk::DicomImageIO]()->itk::ImageIOBase::_vptr$LightObject +
   140))((&io)->itk::SmartPointer<TObjectType>::operator->() const [with
   TObjectType = itk::DicomImageIO]())' to `const std::type_info&'
make: *** [Core/Algorithms/DataIO/DicomImage.o] Error 1



Regards
Andy Triboletti

===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================





Archive powered by MHonArc 2.6.16.

Top of page