[Insight-developers] Redefinition of _jpeg_std_message_table in itkjpeg

Bill Lorensen bill.lorensen at gmail.com
Fri Jan 21 08:21:41 EST 2011


Try adding this line to Utilities/itkjpeg/itk_jpeg_mangle.h
#define jpeg_std_message_table               itk_jpeg_jpeg_std_message_table

If it works, let us know and we'll repair it.

On Fri, Jan 21, 2011 at 6:37 AM, Dirk Boye <body at nabla.org> wrote:
> Dear list,
>
> I've compiled ITK 4 from the git repository. My Qt version is 4.7.
>
> When compiling/linking one of my tools with Visual Studio Express 2010 I get
> following error:   (Usually I'm on Linux, no problems there)
>
> QtGui.lib(jerror.obj) : error LNK2005 _jpeg_std_message_table already
> defined in itkjpeg(jerror.obj)
>
> Is there some workaround?
>
> Cheers,
> Dirk
> _______________________________________________
> 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://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-developers
>


More information about the Insight-developers mailing list