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) :

#ifdef XMD_H

into

#if !defined(XMD_H) && !defined(_BASETSD_H_)

Thanks
Mathieu

--
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/



Reply via email to