View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011875VTK(No Category)public2011-02-17 03:592013-04-05 19:35
ReporterMathieu Malaterre 
Assigned ToDavid Cole 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0011875: Cannot Build Activiz.Net (v599) against VTK 5.4
DescriptionWhen 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
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0025457)
Mathieu Malaterre (developer)
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 (developer)
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

 Issue History
Date Modified Username Field Change
2011-02-17 03:59 Mathieu Malaterre New Issue
2011-02-17 03:59 Mathieu Malaterre Status backlog => tabled
2011-02-17 03:59 Mathieu Malaterre Assigned To => David Cole
2011-02-17 04:22 Mathieu Malaterre Note Added: 0025457
2011-02-17 04:35 Mathieu Malaterre Note Added: 0025458
2011-06-16 13:12 Zack Galbreath Category Development => (No Category)
2013-04-05 19:34 Berk Geveci Status backlog => tabled
2013-04-05 19:34 Berk Geveci Resolution open => won't fix
2013-04-05 19:35 Berk Geveci Status tabled => closed


Copyright © 2000 - 2018 MantisBT Team