[Insight-users] Insight 1.6 Compilation

Mauricio Inforçati mauricio.inforcati at cenpra.gov.br
Thu, 19 Feb 2004 10:10:46 -0300


Sorry, I forgot!

Compiler:   gcc
Version  :   2.95.3

Maurício

----- Original Message ----- 
From: "Brad King" <brad.king at kitware.com>
To: <mauricio.inforcati at cenpra.gov.br>
Cc: <insight-users at itk.org>
Sent: Wednesday, February 18, 2004 5:17 PM
Subject: Re: [Insight-users] Insight 1.6 Compilation


> mauricio.inforcati at cenpra.gov.br wrote:
> > Hi,
> > I am trying to compile Insight Toolkit 1.6 on linux machine and i'm
having
> > problems. I use Conectiva 8 distribution and want to use it with
python2.3.
> > This is my make output...
> >
> > Building wrap_ITKCommonBase.xml from
> >
/(HOMEDIR)/InsightToolkit-1.6.0-binary/Wrapping/CSwig/Common/wrap_ITKCommonB
ase.xml...
> > In file included from /usr/include/g++-3/stl_alloc.h:71,
> >                  from /usr/include/g++-3/alloc.h:21,
> >                  from /usr/include/g++-3/std/bastring.h:39,
> >                  from /usr/include/g++-3/string:6,
> >                  from
/usr/lib/CableSwig/share/gccxml-0.5/GCC/2.95/string:4,
> >                  from
> > /(HOME)/ITK/InsightToolkit-1.6.0/Code/Common/itkMacro.h:36,
> >                  from
> > /(HOME)/ITK/InsightToolkit-1.6.0/Code/Common/itkSmartPointer.h:20,
> >                  from
> > /(HOME)/ITK/InsightToolkit-1.6.0/Code/Common/itkLightObject.h:27,
> >                  from
> > /(HOME)/ITK/InsightToolkit-1.6.0/Code/Common/itkObject.h:23,
> >                  from
> > /(HOME)/ITK/InsightToolkit-1.6.0/Code/Common/itkCommand.h:20,
> >                  from
> >
/(HOME)/ITK/InsightToolkit-1.6.0/Wrapping/CSwig/Common/wrap_ITKCommonBase.cx
x:21:
> > /usr/include/pthread.h:163: error: syntax error before `__thread'
> > /usr/include/pthread.h:165: error: `pthread_create' declared as function
> >    returning a function
>
> What compiler are you using to build ITK?  Please include the version
> number.
>
> -Brad
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>