[Insight-users] compilation error: __threads is not a type
Puja Malik
puja.malik@memot.unibe.ch
Wed, 25 Sep 2002 16:25:19 +0200
Jim and Luis,
Thanks for your help.
It seems I'm having a compiler problem on my machine. If I run ccmake on another
machine in the institute everything works fine!
I'm going to wait for the system administrator to come back from vacation to help
with my problem. Hopefully this will fix problems I've been having in other
areas as well.
Puja
"Miller, James V (Research)" wrote:
> What version of Solaris CC are you using?
>
> ITK may build on the most recent version of Solaris CC. But it does not build
> on earlier versions of Solaris CC. I tried the 5.2 compiler last week and it
> would not build.
>
> Otherwise, I agree with Luis that it looks like the compiler is trying to
> build a section of the code base that should only be used on SGI's. If you had
> ITK_USE_SYSTEM_STDLIB as OFF at one point, you might want to delete your build
> directory and start over ensuring the setting is ON. Perhaps a Makefile is
> still lurking about that was not regenerated by CMake when you change the
> setting from OFF to ON. 'Course this is assuming that at one point you had
> changed the setting to OFF since the default is ON.
>
> Jim
>
> > -----Original Message-----
> > From: Puja Malik [mailto:puja.malik@memot.unibe.ch]
> > Sent: Wednesday, September 25, 2002 3:36 AM
> > To: insight-users@public.kitware.com
> > Subject: [Insight-users] compilation error: __threads is not a type
> >
> >
> > I download ITK and CMake and have the following compilation problem on
> > my Solaris 5.8:
> >
> > CC -I/home/encephalon/puja/ITK/Insight/Utilities/stdlib
> > -I/home/encephalon/puja/ITK/Insight/Code/Numerics
> > -I/home/encephalon/puja/ITK/work
> > -I/home/encephalon/puja/ITK/Insight/Code/Numerics
> > -I/home/encephalon/puja/ITK/Insight/Code/Common
> > -I/home/encephalon/puja/ITK/Insight/Code/IO
> > -I/home/encephalon/puja/ITK/work/Code/Numerics/vxl
> > -I/home/encephalon/puja/ITK/Insight/Code/Numerics/vxl
> > -I/home/encephalon/puja/ITK/work/Code/Numerics/vxl/vcl
> > -I/home/encephalon/puja/ITK/Insight/Code/Numerics/vxl/vcl
> > -I/home/encephalon/puja/ITK/Insight/Utilities/png
> > -I/home/encephalon/puja/ITK/Insight/Utilities/zlib
> > -D_PTHREADS
> > -c
> > /home/encephalon/puja/ITK/Insight/Code/Numerics/itkCacheableSc
> > alarFunction.cxx
> > -o
> > itkCacheableScalarFunction.o
> >
> > "/home/encephalon/puja/ITK/Insight/Utilities/stdlib/stl_alloc.h", line
> > 408: Error: The template argument __threads is not a type.
> > "/home/encephalon/puja/ITK/Insight/Utilities/stdlib/stl_string_fwd.h",
> > line 25: Error: "," expected instead of "=".
> > "/home/encephalon/puja/ITK/Insight/Utilities/stdlib/stl_string_fwd.h",
> > line 25: Error: ">" expected instead of "=".
> >
> >
> > I would appreciate any help! Puja
> >
> >
> >
> >
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users@public.kitware.com
> > http://public.kitware.com/mailman/listinfo/insight-users
> >