<div>Hi Amy,</div>  <div>You mean that i should include a library called "vtkHybrid.h"?</div>  <div>If not, what should i do exactly??</div>  <div>Thanks a lot<BR><BR><B><I>Amy Squillacote &lt;ahs@cfdrc.com&gt;</I></B> a écrit&nbsp;:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Are you linking against the vtkHybrid library (that contains <BR>vtkVRMLImporter)?<BR>- Amy<BR><BR>C. Hiba wrote:<BR>&gt; Hi everyone,<BR>&gt; I'm trying to read a VRML file like this:<BR>&gt; <BR>&gt; vtkDataSet *pDataset;<BR>&gt; vtkVRMLImporter *vrml = vtkVRMLImporter::New();<BR>&gt; vrml-&gt;SetFileName("file.wrl");<BR>&gt; vrml-&gt;Update();<BR>&gt; <BR>&gt; vtkActorCollection *actors = vrml-&gt;GetRenderer()-&gt;GetActors();<BR>&gt; actors-&gt;InitTraversal();<BR>&gt; pDataset = actors-&gt;GetNextActor()-&gt;GetMapper()-&gt;GetInput();<BR>&gt; <BR>&gt; vtkGeometryFilter* geometryFilter = vtkGeometryFilter::New();<BR>&gt;
 geometryFilter-&gt;SetInput(pDataset);<BR>&gt; <BR>&gt; vtkPolyData* polyData = vtkPolyData::New();<BR>&gt; polyData = geometryFilter-&gt;GetOutput();<BR>&gt; polyData-&gt;Update();<BR>&gt; <BR>&gt; <BR>&gt; But i have this bug:<BR>&gt; <BR>&gt; error LNK2001: unresolved external symbol "public: static class <BR>&gt; vtkVRMLImporter * __cdecl vtkVRMLImporter::New(void)" <BR>&gt; (?New@vtkVRMLImporter@@SAPAV1@XZ <mailto:?New@vtkVRMLImporter@@SAPAV1@XZ>)<BR>&gt; Debug/myProject.exe : fatal error LNK1120: 1 unresolved externals<BR>&gt; Error executing link.exe.<BR>&gt; <BR>&gt; Please, what should i do?<BR>&gt; <BR>&gt; Thank you for your help<BR>&gt; <BR>&gt;<BR>&gt; __________________________________________________<BR>&gt; Do You Yahoo!?<BR>&gt; En finir avec le spam? Yahoo! Mail vous offre la meilleure protection <BR>&gt; possible contre les messages non sollicités<BR>&gt; http://mail.yahoo.fr Yahoo! Mail<BR>&gt;<BR>&gt;
 ------------------------------------------------------------------------<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; This is the private VTK discussion list.<BR>&gt; Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>&gt; Follow this link to subscribe/unsubscribe:<BR>&gt; http://www.vtk.org/mailman/listinfo/vtkusers<BR>&gt; <BR><BR>-- <BR>Amy Squillacote Phone: (256) 726-4839<BR>Computer Scientist Fax: (256) 726-4806<BR>CFD Research Corporation Web: http://www.cfdrc.com<BR>215 Wynn Drive, Suite 501<BR>Huntsville, AL 35805<BR><BR><BR></BLOCKQUOTE><BR></mailto:?New@vtkVRMLImporter@@SAPAV1@XZ><p>&#32;__________________________________________________<br>Do You Yahoo!?<br>En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités <br>http://mail.yahoo.fr Yahoo! Mail