VTK/CSharp/ComingSoon

From KitwarePublic
< VTK
Revision as of 20:57, 6 December 2012 by David.cole (talk | contribs)
Jump to navigationJump to search

We are moving the ActiViz .NET source code into the VTK tree under a new Wrapping/CSharp directory.

Stay tuned here for more information, coming soon.

A gerrit topic is now under review for inclusion in VTK 'master':

To build VTK with C# wrapping turned on, you should:

  • git fetch/checkout/pull the topic from gerrit (follow the above topic link)
  • configure it with CMake 2.8.8 or later (preferably the recently released 2.8.10)
  • use Visual Studio 2005 or 2008
  • have mummy and gccxml built and available for use
  • turn on VTK_WRAP_CSHARP
  • set AVDN_BUILD_CSHARP_DEBUG to ON if you are going to build a Debug build, and to OFF if you are going to build a Release build

Current directions for building ActiViz .NET are found on the Kitware web pages at http://www.kitware.com/opensource/avdownload.php They still largely apply to VTK with C# wrapping turned on.

The latest patch set in the latest change set of the gerrit topic now includes these items:

  • enable building the testing and examples (eliminate the early "return()" in the CMakeLists and the comment near it)

These items are currently in progress (Dec. 06, 2012):

  • eliminate the "if(0)" chunk
  • eliminate the CMake code associated with "abstract" -- it's unused
  • rename local CMake vars from "kit" to "module"
  • fix indentation near target_link_libraries
  • rename "CopyLibraries2" in the CMake code

Here is a TO DO list of items that should be addressed before (or soon after) we merge this topic to VTK 'master':

  • vtkImageData - make the old code work with new methods (something changed since 5.8...)
  • mention installing gccxml "as admin" in prerequisites
  • mention using sn to disable strong name validation so mummy and ActiViz tests pass without being strong name signed
  • include a README file in Wrapping/CSharp that has the directions for building
  • remove the 3+ M Users Guide, and replace it with a text file that points to the one in the existing activizdotnet.git repo