| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0006249 | VTK | (No Category) | public | 2008-01-16 10:57 | 2016-08-12 09:54 | ||||
| Reporter | Nicholas Kinar | ||||||||
| Assigned To | Kitware Robot | ||||||||
| Priority | normal | Severity | tweak | Reproducibility | always | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0006249: Compilation proceeds with errors when using MinGW on Windows XP SP2 | ||||||||
| Description | I tried posting the following via the VTKusers email list, and it was suggested that I file a bug report. This e-mail is not to be redundant, but I have managed to compile VTK 5.0.3 on Windows XP SP2 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 | ||||||||
| Additional Information | Thank you! | ||||||||
| Tags | No tags attached. | ||||||||
| Project | |||||||||
| Type | |||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0036943) Kitware Robot (administrator) 2016-08-12 09:54 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2008-01-16 10:57 | Nicholas Kinar | New Issue | |
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
| 2016-08-12 09:54 | Kitware Robot | Note Added: 0036943 | |
| 2016-08-12 09:54 | Kitware Robot | Status | expired => closed |
| 2016-08-12 09:54 | Kitware Robot | Resolution | open => moved |
| 2016-08-12 09:54 | Kitware Robot | Assigned To | => Kitware Robot |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |