Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 26 Jul 2004 20:54:20 -0400 From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com> To: cygwin AT cygwin DOT com Subject: Re: INT32: jmorecfg.h Message-ID: <20040727005420.GB8331@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4105A55B DOT 1010509 AT nycap DOT rr DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4105A55B.1010509@nycap.rr.com> User-Agent: Mutt/1.4.1i On Mon, Jul 26, 2004 at 08:44:11PM -0400, Mathieu Malaterre wrote: >Hi, > > I am trying to compile VTK using the jpeg library shipped with > cygwin. And I have a problem of compilation: > >Building object file vtkJPEGReader.o... >In file included from /usr/include/jpeglib.h:30, > from /home/mathieu/Kitware/VTK/Utilities/vtk_jpeg.h:21, > from /home/mathieu/Kitware/VTK/IO/vtkJPEGReader.cxx:23: >/usr/include/jmorecfg.h:250: error: conflicting types for `typedef long int > INT32' >/usr/include/w32api/basetsd.h:52: error: previous declaration as >`typedef int > INT32' > > > could someone patch the jpeg6b lib (look at line 249) : You're mixing cygwin includes with native windows includes. That's not designed to work well. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/