MantisBT - VTK
View Issue Details
0011875VTK(No Category)public2011-02-17 03:592013-04-05 19:35
Mathieu Malaterre 
David Cole 
normalminorhave not tried
closedwon't fix 
 
 
0011875: Cannot Build Activiz.Net (v599) against VTK 5.4
When compiling Activiz.Net on a linux box with mono 2.6.7, compilation fails with:


[100%] Building C# library 'Kitware.VTK'...
/home/mathieu/Consult/malat.u/debian/activizdotnet/activizdotnet-5.6.1/obj-x86_64-linux-gnu/csharp/vtkColorTransferFunction.cs(510,29): error CS0508: `Kitware.VTK.vtkColorTransferFunction.GetRange()': return type must be `System.IntPtr' to match overridden member `Kitware.VTK.vtkScalarsToColors.GetRange()'
/home/mathieu/Consult/malat.u/debian/activizdotnet/activizdotnet-5.6.1/obj-x86_64-linux-gnu/csharp/vtkScalarsToColors.cs(216,26): (Location of the symbol related to previous error)
/home/mathieu/Consult/malat.u/debian/activizdotnet/activizdotnet-5.6.1/obj-x86_64-linux-gnu/csharp/vtkMPICommunicator.cs(252,11): error CS0246: The type or namespace name `vtkMPICommunicatorOpaqueComm' could not be found. Are you missing a using directive or an assembly reference?
/home/mathieu/Consult/malat.u/debian/activizdotnet/activizdotnet-5.6.1/obj-x86_64-linux-gnu/csharp/vtkMPIController.cs(155,37): error CS0508: `Kitware.VTK.vtkMPIController.CreateSubController(Kitware.VTK.vtkProcessGroup)': return type must be `Kitware.VTK.vtkMultiProcessController' to match overridden member `Kitware.VTK.vtkMultiProcessController.CreateSubController(Kitware.VTK.vtkProcessGroup)'
/home/mathieu/Consult/malat.u/debian/activizdotnet/activizdotnet-5.6.1/obj-x86_64-linux-gnu/csharp/vtkMultiProcessController.cs(347,45): (Location of the symbol related to previous error)
Compilation failed: 3 error(s), 0 warnings
No tags attached.
Issue History
2011-02-17 03:59Mathieu MalaterreNew Issue
2011-02-17 03:59Mathieu MalaterreStatusbacklog => tabled
2011-02-17 03:59Mathieu MalaterreAssigned To => David Cole
2011-02-17 04:22Mathieu MalaterreNote Added: 0025457
2011-02-17 04:35Mathieu MalaterreNote Added: 0025458
2011-06-16 13:12Zack GalbreathCategoryDevelopment => (No Category)
2013-04-05 19:34Berk GeveciStatusbacklog => tabled
2013-04-05 19:34Berk GeveciResolutionopen => won't fix
2013-04-05 19:35Berk GeveciStatustabled => closed

Notes
(0025457)
Mathieu Malaterre   
2011-02-17 04:22   
And it looks like this is the same problem with VTK 5.6.1:


/home/mathieu/Consult/malat.u/debian/activizdotnet/activiz.net-5.6.1/obj-x86_64-linux-gnu/csharp/vtkColorTransferFunction.cs(518,29): error CS0508: `Kitware.VTK.vtkColorTransferFunction.GetRange()': return type must be `System.IntPtr' to match overridden member `Kitware.VTK.vtkScalarsToColors.GetRange()'
/home/mathieu/Consult/malat.u/debian/activizdotnet/activiz.net-5.6.1/obj-x86_64-linux-gnu/csharp/vtkScalarsToColors.cs(217,26): (Location of the symbol related to previous error)
/home/mathieu/Consult/malat.u/debian/activizdotnet/activiz.net-5.6.1/obj-x86_64-linux-gnu/csharp/vtkEnSightMasterServerReader.cs(114,15): warning CS0108: `Kitware.VTK.vtkEnSightMasterServerReader.CanReadFile(string)' hides inherited member `Kitware.VTK.vtkGenericEnSightReader.CanReadFile(string)'. Use the new keyword if hiding was intended
/home/mathieu/Consult/malat.u/debian/activizdotnet/activiz.net-5.6.1/obj-x86_64-linux-gnu/csharp/vtkGenericEnSightReader.cs(164,22): (Location of the symbol related to previous warning)
/home/mathieu/Consult/malat.u/debian/activizdotnet/activiz.net-5.6.1/obj-x86_64-linux-gnu/csharp/vtkMPICommunicator.cs(255,11): error CS0246: The type or namespace name `vtkMPICommunicatorOpaqueComm' could not be found. Are you missing a using directive or an assembly reference?
/home/mathieu/Consult/malat.u/debian/activizdotnet/activiz.net-5.6.1/obj-x86_64-linux-gnu/csharp/vtkMPIController.cs(155,37): error CS0508: `Kitware.VTK.vtkMPIController.CreateSubController(Kitware.VTK.vtkProcessGroup)': return type must be `Kitware.VTK.vtkMultiProcessController' to match overridden member `Kitware.VTK.vtkMultiProcessController.CreateSubController(Kitware.VTK.vtkProcessGroup)'
/home/mathieu/Consult/malat.u/debian/activizdotnet/activiz.net-5.6.1/obj-x86_64-linux-gnu/csharp/vtkMultiProcessController.cs(344,45): (Location of the symbol related to previous error)
/home/mathieu/Consult/malat.u/debian/activizdotnet/activiz.net-5.6.1/obj-x86_64-linux-gnu/csharp/vtkMPIController.cs(334,37): error CS0508: `Kitware.VTK.vtkMPIController.PartitionController(int, int)': return type must be `Kitware.VTK.vtkMultiProcessController' to match overridden member `Kitware.VTK.vtkMultiProcessController.PartitionController(int, int)'
/home/mathieu/Consult/malat.u/debian/activizdotnet/activiz.net-5.6.1/obj-x86_64-linux-gnu/csharp/vtkMultiProcessController.cs(741,45): (Location of the symbol related to previous error)
Compilation failed: 4 error(s), 1 warnings
make[3]: *** [bin/./Kitware.VTK.dll] Error 1
(0025458)
Mathieu Malaterre   
2011-02-17 04:35   
Part of the problem was because the hints file was not found. Even with the proper hints file, I still get:


/home/mathieu/Consult/malat.u/debian/activizdotnet/activiz.net-5.6.1/obj-x86_64-linux-gnu/csharp/vtkEnSightMasterServerReader.cs(114,15): warning CS0108: `Kitware.VTK.vtkEnSightMasterServerReader.CanReadFile(string)' hides inherited member `Kitware.VTK.vtkGenericEnSightReader.CanReadFile(string)'. Use the new keyword if hiding was intended
/home/mathieu/Consult/malat.u/debian/activizdotnet/activiz.net-5.6.1/obj-x86_64-linux-gnu/csharp/vtkGenericEnSightReader.cs(164,22): (Location of the symbol related to previous warning)
/home/mathieu/Consult/malat.u/debian/activizdotnet/activiz.net-5.6.1/obj-x86_64-linux-gnu/csharp/vtkMPICommunicator.cs(255,11): error CS0246: The type or namespace name `vtkMPICommunicatorOpaqueComm' could not be found. Are you missing a using directive or an assembly reference?
/home/mathieu/Consult/malat.u/debian/activizdotnet/activiz.net-5.6.1/obj-x86_64-linux-gnu/csharp/vtkMPIController.cs(155,37): error CS0508: `Kitware.VTK.vtkMPIController.CreateSubController(Kitware.VTK.vtkProcessGroup)': return type must be `Kitware.VTK.vtkMultiProcessController' to match overridden member `Kitware.VTK.vtkMultiProcessController.CreateSubController(Kitware.VTK.vtkProcessGroup)'
/home/mathieu/Consult/malat.u/debian/activizdotnet/activiz.net-5.6.1/obj-x86_64-linux-gnu/csharp/vtkMultiProcessController.cs(344,45): (Location of the symbol related to previous error)
/home/mathieu/Consult/malat.u/debian/activizdotnet/activiz.net-5.6.1/obj-x86_64-linux-gnu/csharp/vtkMPIController.cs(334,37): error CS0508: `Kitware.VTK.vtkMPIController.PartitionController(int, int)': return type must be `Kitware.VTK.vtkMultiProcessController' to match overridden member `Kitware.VTK.vtkMultiProcessController.PartitionController(int, int)'
/home/mathieu/Consult/malat.u/debian/activizdotnet/activiz.net-5.6.1/obj-x86_64-linux-gnu/csharp/vtkMultiProcessController.cs(741,45): (Location of the symbol related to previous error)
Compilation failed: 3 error(s), 1 warnings
make[2]: *** [bin/./Kitware.VTK.dll] Error 1