[vtkusers] VTK and C++.Net

Hao Li haoli2001 at hotmail.com
Fri May 27 10:52:03 EDT 2005


Hi,

Does anybody know how to use VTK with C++.net?  I used CMake to make vtk
project with Visual stadio 7 .net. compile VTK, get libs of VTK. Then I made
another apllication project with C++.net and VTK? I can build it , but when
ruuning, I got a error message as followings,

An unhandled exception of type 'System.TypeLoadException' occurred in
Unknown Module.

Additional information: Could not load type vtkPolyData from assembly
testNet, Version=1.0.1973.15757, Culture=neutral, PublicKeyToken=null.

Does anybody know the reason?  is it because VTK were not compiled with MS
devenv ?

Please help me out

Regards?hao



More information about the vtkusers mailing list