Hi. I'm sending a little bit more information to see if anybody has any
clues about this issue:

Building CXX object
Libs/DICOM/Core/CMakeFiles/CTKDICOMCore.dir/ctkDICOMDatabase.cpp.o
In file included from
/Users/fede/work/bin/MITK/build.debug/ep/src/CTK/Libs/DICOM/Core/ctkDICOMDatabase.cpp:37:
In file included from
/Users/fede/work/bin/MITK/build.debug/ep/src/CTK/Libs/DICOM/Core/ctkDICOMDatabase.h:29:
In file included from
/Users/fede/work/bin/MITK/build.debug/ep/src/CTK/Libs/DICOM/Core/ctkDICOMItem.h:28:
In file included from
/Users/fede/work/bin/MITK/build.debug/ep/include/dcmtk/dcmdata/dcdatset.h:28:
In file included from
/Users/fede/work/bin/MITK/build.debug/ep/include/dcmtk/dcmdata/dcitem.h:28:
In file included from
/Users/fede/work/bin/MITK/build.debug/ep/include/dcmtk/ofstd/offile.h:28:
In file included from
/Users/fede/work/bin/MITK/build.debug/ep/include/dcmtk/ofstd/oftypes.h:74:
/Users/fede/work/bin/MITK/build.debug/ep/include/dcmtk/ofstd/ofstdinc.h:279:10:
fatal error:
      'cstdint' file not found
#include <cstdint>
         ^
1 error generated.
make[8]: ***
[Libs/DICOM/Core/CMakeFiles/CTKDICOMCore.dir/ctkDICOMDatabase.cpp.o] Error 1
make[7]: *** [Libs/DICOM/Core/CMakeFiles/CTKDICOMCore.dir/all] Error 2
make[6]: *** [all] Error 2
make[5]: *** [CTK-prefix/src/CTK-stamp/CTK-build] Error 2
make[4]: *** [CMakeFiles/CTK.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [ep/src/CTK-stamp/CTK-build] Error 2
make[1]: *** [CMakeFiles/CTK.dir/all] Error 2

That is, while compiling CTKDICOMCore, it fails because it does not find
the cstdint include file. I've added the -std=c++11 compiler option in
CMAKE_CXX_FLAGS, and I'm using Apple clang-703.0.31.

Thanks,

Federico

On Thu, Jul 7, 2016 at 3:14 PM, Federico Milano <fmil...@gmail.com> wrote:

> Hello. I'm trying to compile the MITK master (commit
> 3d2ff8eec76c53b3da580147fdb865bfacb8dbbe) in OS X El Capitan, using Apple
> clang-703.0.31. The superbuild halts when compiling ctkDICOMDatabase.cpp,
> not finding cstdint header:
>
> /Users/fede/work/bin/MITK/build.debug/ep/include/dcmtk/ofstd/ofstdinc.h:279:10:
> fatal error: 'cstdint' file not found
>
> The problem is that in other places of the code that same header is found
> without any issues. Also, when running a simple test that uses cstdint, the
> header is found without any problem.
>
> Do you have any idea of what could be happening?
>
>
> Thank you,
>
>
> Federico
>
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to