[Insight-developers] itk/gdcm build errors on Fedora 12

Bill Lorensen bill.lorensen at gmail.com
Thu Nov 19 14:03:47 EST 2009


Aranud,

Did you start with a clean binary directory?

Bill

On Thu, Nov 19, 2009 at 1:51 PM, Arnaud GELAS
<arnaud_gelas at hms.harvard.edu> wrote:
> Hi Guys,
>
> I have just updated my machine to Fedora 12 (where gcc-4.4.2 is the
> default version of gcc), and I get the following error:
>
> Linking C static library ../../../bin/libitkNetlibSlatec.a
> [ 38%] Built target itkNetlibSlatec
> [ 38%] Building CXX object
> Utilities/gdcm/src/CMakeFiles/itkgdcm.dir/gdcmUtil.o
> /home/ajg23/CVSROOT/Insight/Utilities/gdcm/src/gdcmUtil.cxx:105:23:
> error: uuid/uuid.h: No such file or directory
> /home/ajg23/CVSROOT/Insight/Utilities/gdcm/src/gdcmUtil.cxx: In static
> member function ‘static bool gdcm::Util::GenerateUUID(unsigned char*)’:
> /home/ajg23/CVSROOT/Insight/Utilities/gdcm/src/gdcmUtil.cxx:1021: error:
> ‘uuid_t’ was not declared in this scope
> /home/ajg23/CVSROOT/Insight/Utilities/gdcm/src/gdcmUtil.cxx:1021: error:
> expected ‘;’ before ‘g’
> /home/ajg23/CVSROOT/Insight/Utilities/gdcm/src/gdcmUtil.cxx:1022: error:
> ‘g’ was not declared in this scope
> /home/ajg23/CVSROOT/Insight/Utilities/gdcm/src/gdcmUtil.cxx:1022: error:
> ‘uuid_generate’ was not declared in this scope
>
> I checked the location of uuid.h, it is "now" in /usr/include (have not
> checked the location before updating if it was
> in /usr/include/uuid/uuid.h).
>
> Anyway after fixing the path (on my machine), I get the following error:
>
> [ 38%] Building CXX object
> Utilities/gdcm/src/CMakeFiles/itkgdcm.dir/gdcmUtil.o
> /home/ajg23/CVSROOT/Insight/Utilities/gdcm/src/gdcmUtil.cxx: In static
> member function ‘static bool gdcm::Util::GenerateUUID(unsigned char*)’:
> /home/ajg23/CVSROOT/Insight/Utilities/gdcm/src/gdcmUtil.cxx:1021: error:
> aggregate ‘uuid_t g’ has incomplete type and cannot be defined
> /home/ajg23/CVSROOT/Insight/Utilities/gdcm/src/gdcmUtil.cxx:1022: error:
> ‘uuid_generate’ was not declared in this scope
> /home/ajg23/CVSROOT/Insight/Utilities/gdcm/src/gdcmUtil.cxx:1023: error:
> invalid application of ‘sizeof’ to incomplete type ‘uuid_t’
> make[2]: *** [Utilities/gdcm/src/CMakeFiles/itkgdcm.dir/gdcmUtil.o]
> Error 1
> make[1]: *** [Utilities/gdcm/src/CMakeFiles/itkgdcm.dir/all] Error 2
>
> I can't find what's going on?
> Any idea?
>
> I attach uuid.h
>
> Thanks
> Arnaud
>
>
> _______________________________________________
> 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://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-developers
>
>


More information about the Insight-developers mailing list