Problem ITK 3.16 -> 3.18
Hi ITK experts,
I packaged ITK-snap for Debian and it just made it through NEW.
http://packages.debian.org/sid/itksnap
When it got uploaded it was built against ITK 3.16 and life was fun. Now
ITK 3.18 arrived and it FTBFS on all archs having it.
https://buildd.debian.org/fetch.cgi?pkg=itksnap;ver=2.0.0-1;arch=amd64;stamp=1274787431
I'd be glad if you could have a quick look at the error -- it is
related to (re)definition of types in ITK that seemed to have changed a
lot between these two releases, i.e.
/usr/include/InsightToolkit/Common/itkIntTypes.h
I cannot make sense of the error messages like:
/usr/include/inttypes.h:298: error: reference to 'intmax_t' is ambiguous
/usr/include/stdint.h:135: error: candidates are: typedef long int intmax_t
/usr/include/InsightToolkit/Common/itkIntTypes.h:140: error: typedef intmax_t itk::intmax_t
The following error make me think that something more fundamental is
wrong:
In file included from /usr/include/GL/gl.h:2089,
from /usr/include/FL/gl.h:53,
from /build/buildd-itksnap_2.0.0-1-amd64-Y0TyDz/itksnap-2.0.0/UserInterface/Window3D/Trackball.h:38,
from /build/buildd-itksnap_2.0.0-1-amd64-Y0TyDz/itksnap-2.0.0/Common/SystemInterface.h:40,
from /build/buildd-itksnap_2.0.0-1-amd64-Y0TyDz/itksnap-2.0.0/Logic/Framework/IRISApplication.h:41,
from /build/buildd-itksnap_2.0.0-1-amd64-Y0TyDz/itksnap-2.0.0/UserInterface/MainComponents/PreprocessingUILogic.cxx:24:
/usr/include/GL/glext.h:5186: error: 'GLint64' has not been declared
It doesn't seem to be general bug in ITK. Something like this compiles
just fine:
#include "InsightToolkit/Common/itkIntTypes.h"
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
}
What change in ITK could cause this behavior. Any hints are very much
appreciated.
Thanks,
Michael
--
GPG key: 1024D/3144BE0F Michael Hanke
http://mih.voxindeserto.de
Reply to: