[Insight-users] compiling DigitalArchive from InsightApplications 3.20

Luis Ibanez luis.ibanez at kitware.com
Sat May 21 15:12:23 EDT 2011


Hi Eduardo,

Could you make a search for "using namespace" in that application ?

I seem to recall that this problem was due to some applications opening
the itk namespace...


     Luis


-------------------------------------------------------------------------
On Wed, May 18, 2011 at 8:52 AM, Eduardo Suarez-Santana
<esuarez at itccanarias.org> wrote:
> I've been trying to compile Digital Archive from InsightApplications
> 3.20 without success:
>
> [ 14%] Building CXX object
> DigitalArchive/FlDicomQueryChooser/CMakeFiles/FlDicomQueryChooser.dir/FlDicomQueryChooser.o
> In file included from
> /usr/local/itk/sw02a-itk-3.20.0/Code/IO/itkGDCMSeriesFileNames.h:24,
>                 from
> /usr/local/itk/sw06a-insightapplications-3.20.0/DigitalArchive/FlDicomQueryChooser/FlDicomQueryChooser.h:
> 30,
>                 from
> /usr/local/itk/sw06a-insightapplications-3.20.0/DigitalArchive/FlDicomQueryChooser/FlDicomQueryChooser.cx
> x:17:
> /usr/local/itk/sw02a-itk-3.20.0/Utilities/gdcm/src/gdcmSerieHelper.h:109: error:
> reference to 'uint16_t' is ambiguous
> /usr/include/stdint.h:50: error: candidates are: typedef short unsigned
> int uint16_t
> /usr/local/itk/sw02a-itk-3.20.0/Code/Common/itkIntTypes.h:110: error:
> typedef uint16_t itk::uint16_t
> /usr/local/itk/sw02a-itk-3.20.0/Utilities/gdcm/src/gdcmSerieHelper.h:109: error:
> reference to 'uint16_t' is ambiguous
> /usr/include/stdint.h:50: error: candidates are: typedef short unsigned
> int uint16_t
> /usr/local/itk/sw02a-itk-3.20.0/Code/Common/itkIntTypes.h:110: error:
> typedef uint16_t itk::uint16_t
> /usr/local/itk/sw02a-itk-3.20.0/Utilities/gdcm/src/gdcmSerieHelper.h:109: error:
> 'uint16_t' has not been declared
> /usr/local/itk/sw02a-itk-3.20.0/Utilities/gdcm/src/gdcmSerieHelper.h:109: error:
> reference to 'uint16_t' is ambiguous
> /usr/include/stdint.h:50: error: candidates are: typedef short unsigned
> int uint16_t
> /usr/local/itk/sw02a-itk-3.20.0/Code/Common/itkIntTypes.h:110: error:
> typedef uint16_t itk::uint16_t
> /usr/local/itk/sw02a-itk-3.20.0/Utilities/gdcm/src/gdcmSerieHelper.h:109: error:
> reference to 'uint16_t' is ambiguous
> /usr/include/stdint.h:50: error: candidates are: typedef short unsigned
> int uint16_t
> /usr/local/itk/sw02a-itk-3.20.0/Code/Common/itkIntTypes.h:110: error:
> typedef uint16_t itk::uint16_t
> /usr/local/itk/sw02a-itk-3.20.0/Utilities/gdcm/src/gdcmSerieHelper.h:109: error:
> 'uint16_t' has not been declared
> [...]
>
> Wiki page is outdated:
> http://www.cmake.org/Wiki/ITK_Insight_Applications
>
> Any hint?
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list