[Insight-users] error compiling with gcc4.4.1
Luis Ibanez
luis.ibanez at kitware.com
Sun Apr 25 11:33:56 EDT 2010
Eugen,
As Bill pointed out, we build ITK with gcc 4.4.1 on a regular basis.
That's is indeed the compiler version in both my Ubuntu 9.10
laptop (macondo.kitware) and desktop (eldorado.kitware).
The second machine (eldorado.kitware) submits two Nightly
builds to the ITK Dashboard:
http://www.cdash.org/CDash/index.php?project=Insight&filtercount=1&showfilters=1&field1=site/string&compare1=63&value1=eldorado
It is likely that you are simply dealing with a configuration
problem.
1) What is your platform ? (Linux distribution, Cygwin, MinGW ?)
2) Do you have other versions of GCC installed as well ?
3) Did you set up the environment variables CXX and CC
to the locations of your g++-4.4 and gcc-4.4 executables
(respectively).
Please let us know what you find.
Thanks
--------------------------------------------------------------------------------------------
On Sat, Apr 24, 2010 at 11:47 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:
> Strange... we have nightly builds with 4.4.3.
>
> On Sat, Apr 24, 2010 at 5:25 PM, Eugen Funk <eugen.funk at gmail.com> wrote:
> > Hey,
> > I wanted to try out the impressive toolkit but unfortunately the
> compilation
> > went wrong.
> > I receive this message:
> >
> > In file included from
> >
> /home/eugen/development/slam/Installationen/InsightToolkit/InsightToolkit-3.18.0/Utilities/itkjpeg/jmemnobs.c:20:
> >
> /home/eugen/development/slam/Installationen/InsightToolkit/InsightToolkit-3.18.0/Utilities/itkjpeg/jpeglib.h:78:
> > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
> >
> > Did anybody experienced the same?
> > Cmake configuration worked well (at least with no fatal errors)
> > so i assume, that the problem ist my relative new compiler version: gcc
> > 4.4.1
> >
> > I hope somebidy already had similar problem and can give a hint how to
> > resolve it.
> >
> > thanks alot in advance!
> >
> >
> >
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Kitware offers ITK Training Courses, for more information visit:
> > http://www.kitware.com/products/protraining.html
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
> >
> >
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100425/af217bdc/attachment-0001.htm>
More information about the Insight-users
mailing list