[vtkusers] Using VTK and Visual C++ 7 .NET

Xiaofeng Zhao xf10036 at hotmail.com
Wed Nov 8 22:42:49 EST 2006


It seems that you created a .NET project for the cylinder example.  It's not 
straight forward to use VTK in a .NET project.  You should create a C++ 
console application project.

Xiaofeng

----- Original Message ----- 
From: Dave Ardrey
To: vtkusers at vtk.org
Sent: Wednesday, November 08, 2006 3:54 PM
Subject: [vtkusers] Using VTK and Visual C++ 7 .NET


I am a VTK newbie.  I am attempting to run the cylinder.cxx file that comes 
with the 5.0.2 release of VTK.  I am using Visual Studio 7 .NET.

I ran CMAKE and built the resulting project to create the necessary .lib and 
dll files.  I then created a project with cylinder.cxx in it and (I 
believe) pointed it to all the right places.

However, I am getting the following error:

"An unhandled exception of type 'System.TypeLoadException' occurred in 
Unknown Module.
Additional information: Could not load type vtkAlgorithmOutput from assembly 
Cylinder, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null."

Any help figuring out this apparently simple problem would be much 
appreciated.
Dave



_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: 
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers 




More information about the vtkusers mailing list