AW: [vtkusers] Compilation of VTK 5.0.3 on Windows XP SP2 using MinGW

Nicholas Kinar n.kinar at usask.ca
Wed Jan 16 11:01:06 EST 2008


Hi Soeren,

Thank you for this e-mail!  As you have suggested, I made a bug report on the
VTK bug tracker; my report ID is 0006249.

Once again, thank you for your reply.

Nicholas


Quoting "Gebbert, Sören" <Soeren.Gebbert at inpro.de>:

> Hi Nicholas,
> thank you for this information. I run exactly in the same problem, but
> did not figured out how to fix it in short.
> This issue may be a candidate for a bug report?
>
> Best regards
> Soeren
>
> -----Ursprüngliche Nachricht-----
> Von: vtkusers-bounces+soeren.gebbert=inpro.de at vtk.org
> [mailto:vtkusers-bounces+soeren.gebbert=inpro.de at vtk.org] Im Auftrag von
> Nicholas Kinar
> Gesendet: Dienstag, 15. Januar 2008 21:00
> An: vtkusers at vtk.org
> Betreff: [vtkusers] Compilation of VTK 5.0.3 on Windows XP SP2 using MinGW
>
> Hello!
>
> This e-mail is not to be redundant, but I have managed to compile VTK 5.0.3
> on
> Windows using MinGW 5.1.3 with the GNU make utilities (Make 3.81) installed.
> MSYS has not been installed.
>
> Starting with CMAKE 2.4 (patch 7), I selected the MinGW configuration and
> went
> with the default settings. This created VTK makefiles for static libraries.
>
> Switching to the directory where the makefiles were created, I ran make and
> the
> build process started.  However, the build process crashes due to a typedef
> redefinition.  This can be fixed by changing, in the file
> \vtk\Utilities\vtkjpeg\jmorecfg.h, the following lines of code (around line
> 246
> of the file):
>
> #ifndef HAVE_BOOLEAN
> //typedef int boolean;
> typedef unsigned char boolean;
>
> This is done to remain compatible with MinGW header files, which typedef
> boolean
> as unsigned char.  I suspect that this is only a problem with MinGW on
> Windows.
> After saving the file, I ran make once again and found that VTK compiled
> smoothly.  After compilation, I found that it was possible to run the VTK
> tests.
>
>
> Nicholas
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>





More information about the vtkusers mailing list