<p>Hi,<br> <br>i wanna use VTK facilities with java...<br> <br>I can't finish de compiling 'VTK with Java' process...<br>it is interrupted at 41%, by MinGW compiler using the command "mingw32-make", with the following message:<br>
<br>"...conflicting types for boolean..." in ...\utilities\vtkjpeg\jmorecfg.h :247<br>in include <jpeglib.h> directive in files like:<br> ...\utilities\vtk_jpeg.h :43<br> ...\utilities\vtktiff\tiff_jpeg.c : 54<br>
<br>and "previous declaration for booelan was here..." message about de MinGW "boolean" type (see the attached picture)<br> <br>i had tried nearly everything to complete this process with MinGW compiler. The CMAKE was successfull...<br>
but, until now. "nothing" 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; <br>#endif<br>#ifndef FALSE /* in case these macros already exist */<br>#define FALSE 0 /* values of boolean */<br>#endif<br>#ifndef TRUE<br>
#define TRUE 1<br>#endif<br>//==================================</p>
<p>Can you have some idea about how to solve it?<br> <br> <br>Thanks, in advance...</p>