Hi Miklos,

are you building off MITK master, or our NifTK branch?

I believe Daniel fixed this in the MITK master here:
https://github.com/MITK/MITK/commit/c855dedda43b2b2b0929bd3ccf7464196af2f6d1

with MITK bug 12299, and so I have just merged it into our branch, Trac task 
1600, and rebuilt on my Linux machine, (admittedly with a different compiler 
version that didn't display this error, but at least it does build).

So, it should be all OK.

Thanks

Matt

________________________________
From: Miklos Espak [[email protected]]
Sent: 25 June 2012 22:06
To: mitk-users
Subject: [mitk-users] mitkDicomSeriesReader compile error

Hi,

I get this error when building MITK:

/mnt/src/NifTK-release/CMakeExternals/Source/ITK/Code/Common/itkFixedArray.h: 
In static member function ‘static mitk::Point3D 
mitk::DicomSeriesReader::DICOMStringToPoint3D(const string&, bool&)’:
/mnt/src/NifTK-release/CMakeExternals/Source/ITK/Code/Common/itkFixedArray.h:203:88:
 error: array subscript is above array bounds [-Werror=array-bounds]
/mnt/src/NifTK-release/CMakeExternals/Source/ITK/Code/Common/itkFixedArray.h:203:88:
 error: array subscript is above array bounds [-Werror=array-bounds]
cc1plus: all warnings being treated as errors
make[8]: *** [Core/Code/CMakeFiles/Mitk.dir/IO/mitkDicomSeriesReader.cpp.o] 
Error 1


It seems, there is some problem with one of the recent fixes, but gcc does not 
give much help where the error is.

Does it happen only here? This is an Ubuntu 12.04 with gcc 4.6.3.

Best,
Miklos

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to