<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2730.1700" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I new to vtk and I'm trying to run the first
example of the book (cone.cxx).</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm using Visual C++ .NET.</FONT></DIV>
<DIV><FONT face=Arial size=2>First I create a new project, insert the file that
came with the tutorials and try to compile the example.</FONT></DIV>
<DIV><FONT face=Arial size=2>The compilation works fine </FONT></DIV>
<DIV><FONT face=Arial size=2>(I defined in the project options the libraries
that the project should included:</FONT></DIV>
<DIV><FONT face=Arial size=2>vtkCommon.lib </FONT></DIV>
<DIV><FONT face=Arial size=2>vtkFiltering.lib </FONT></DIV>
<DIV><FONT face=Arial size=2>vtkGraphics.lib </FONT></DIV>
<DIV><FONT face=Arial size=2>vtkHybrid.lib </FONT></DIV>
<DIV><FONT face=Arial size=2>vtkImaging.lib </FONT></DIV>
<DIV><FONT face=Arial size=2>vtkIO.lib </FONT></DIV>
<DIV><FONT face=Arial size=2>vtkRendering.lib </FONT></DIV>
<DIV><FONT face=Arial size=2>glaux.lib </FONT></DIV>
<DIV><FONT face=Arial size=2>opengl32.lib</FONT></DIV>
<DIV><FONT face=Arial size=2>are these correct?????</FONT></DIV>
<DIV><FONT face=Arial size=2>The problem arrises when I try to run the project.
I get the following message:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#ff0000 size=2>"An exception
'System.TypeLoadException' has ocurred in Cone.exe"</FONT></DIV>
<DIV><FONT face=Arial color=#ff0000 size=2>"Do you want to debug?"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Can anyone help me with this?</FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks in advance.</FONT></DIV>
<DIV><FONT face=Arial size=2>Paulo Trigueiros</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>