MantisBT - VTK
View Issue Details
0012686VTK(No Category)public2011-10-31 04:382013-12-16 13:01
Martin Müllenhaupt 
Dave DeMarle 
normalminorhave not tried
closedfixed 
5.8.0 
5.8.1 
TBD
incorrect functionality
0012686: cross compilation tools
I was cross compiling VTK for win32 on a linux host using mingw-cross-env.
I had to run a native build first in order to use the compile tools.
Unfortunately, the compile tools H5detect, H5make_libsettings and ${KWSYS_NAMESPACE}EncodeExecutable are built and run during a cross compilation, which will only work with a wine installation.
I came up with a patch for kwsys and vtkhdf5 (see attachments) to build the tools on a native compile and export them similar to the other compile tools. I also added a "CompileTools" target in the main CMakeLists.txt file to only build the compile tools during the native build.
No tags attached.
patch vtk-compile-tools.patch (5,804) 2011-10-31 04:38
https://www.vtk.org/Bug/file/9049/vtk-compile-tools.patch
Issue History
2011-10-31 04:38Martin MüllenhauptNew Issue
2011-10-31 04:38Martin MüllenhauptFile Added: vtk-compile-tools.patch
2011-10-31 07:54David PartykaNote Added: 0027626
2011-10-31 07:54David PartykaTarget Version => 5.8.1
2013-12-16 13:01Dave DeMarleNote Added: 0031946
2013-12-16 13:01Dave DeMarleStatusbacklog => closed
2013-12-16 13:01Dave DeMarleAssigned To => Dave DeMarle
2013-12-16 13:01Dave DeMarleResolutionopen => fixed

Notes
(0027626)
David Partyka   
2011-10-31 07:54   
Very Cool, will try to get this in for 5.8.1
(0031946)
Dave DeMarle   
2013-12-16 13:01   
I believe these are now generated in host pass currently. Please reopen if this is not the case.