<p>Hi,<br>&nbsp;<br>i wanna use VTK facilities with java...<br>&nbsp;<br>I can&#39;t finish de compiling &#39;VTK with Java&#39; process...<br>it is interrupted at 41%, by MinGW compiler using the command &quot;mingw32-make&quot;, with the following message:<br>
&nbsp;<br>&quot;...conflicting types for boolean...&quot; in ...\utilities\vtkjpeg\jmorecfg.h :247<br>in include &lt;jpeglib.h&gt; directive in files like:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...\utilities\vtk_jpeg.h :43<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...\utilities\vtktiff\tiff_jpeg.c : 54<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>and &quot;previous declaration for booelan was here...&quot; message about de MinGW &quot;boolean&quot; type (see the attached picture)<br>&nbsp;<br>i had tried nearly everything to complete this process with MinGW compiler. The CMAKE was successfull...<br>
but, until now.&nbsp; &quot;nothing&quot; is at my hands...<br>//==================================<br>//=== this is a pçiece of code copied from...\utilities\vtkjpeg\jmorecfg.h: 247<br>//==================================</p>

<p>/* Defining HAVE_BOOLEAN before including jpeglib.h should make it work. */</p>
<p>#ifndef HAVE_BOOLEAN<br>typedef int boolean;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>#endif<br>#ifndef FALSE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* in case these macros already exist */<br>#define FALSE&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* values of boolean */<br>#endif<br>#ifndef TRUE<br>
#define TRUE&nbsp;&nbsp;&nbsp; 1<br>#endif<br>//==================================</p>
<p>Can you have some idea about how to solve it?<br>&nbsp;<br>&nbsp;<br>Thanks, in advance...</p>