Installation Procedure of vtk.net

Help
lotus
2006-09-15
2013-04-25
  • lotus

    lotus - 2006-09-15

    This is very simple procedure of vtk.net binary installation for novice.

    -------Simple Procedure start--------------
    1. download
         VTK-5.0.1-wrap-1.1-bin.zip
         VTK-5.0.1-control-1.1.zip
    2. extract VTK-5.0.1-wrap-1.1-bin.zip
         will make VTK folder with sub-folder named bin, include, lib

    3. copy or move extractd folders to someplace (ex: C:\Program Files\VTK )

    4. Add PATH of bin folder
        a) MyComputer (right click) ->Property->Advanced Tab -> Enviroment variable
        b) add path C:\Program Files\VTK\bin;
       
    5. extract VTK-5.0.1-control-1.1.zip and test vtk-control.
       Make attention refernces when you test vtk-control. when distributed sample's reference is invalid you must add it by manually.
    ----------End simple procedure-------------

    For advanced test of vtk samples, you need to download vtkdata-5.0.xxx.zip at www.vtk.org.

    adlogert.

    I would like to make some detailed documentation for novice. What is best format for vtk.net users? and location?

    My plan is make document by M$-Word and translate to it HTML.

    any idea??

     
    • Andrew Dolgert

      Andrew Dolgert - 2006-09-15

      Hi,

      You have a good idea. HTML format works well, both included in the .zip file and on the web pages on SourceForge. I have to make a new distribution for VTK 5.0.2 and would be happy to include better installation instructions.

      If you have suggestions for how to make installation easier, I would welcome those as well.

      Drew

       
      • lotus

        lotus - 2006-09-18

        Drew

        I started to write tutorial of vtk.net using c#.
        I wrote it using LyX (latex) www.lyx.org. you will get preliminary doc within few days.

        lotus.

         
    • jedi@

      jedi@ - 2006-09-15

      Hi,

      Thanks a lot for taking the time to create this wrapper and control.

      However, i am still having some trouble setting it up. I installed it as requested, added the paths to my PATH variable, then tried to start a new project in .net

      First i tried with a VB.net project, when i try to add teh vtkFormsWindow.dll, it tells me that it can't find the type library associated with that.

      I retried with a C# project, same problem.

      Any help would be appreciated.

      Thanks a lot

       
    • awallin55

      awallin55 - 2007-07-19

      I just went through those instructions but I am having some trouble.

      Adding the vtkxxxDotNet.dll's as References is no problem.

      however, when running ControlSample.cs or anything else that uses the vtkFormsWindow visual studio refuses to compile my code and just halts, highlighting line 297 of vktFormsWindowControl.cpp
      the error message says "this code has called into another function. when that function is finished, this is the next statement that will be executed".

      Another indication that something is wrong is that when adding the vtkFormsWindow to the form designer toolbar and then trying to use it I get the following:
      the control ctk.ctkFormsWindowControl has thrown an unhandled exception in the designer and has been disabled.
      Attempted to read or write protected memory.
      at vtkformswindwcontrol.cpp:line 297
      at vtikformswindowcontrol.cpp:line 620

      thanks for any help,
      Anders

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks