<DIV>Hi Gabriele,</DIV>  <DIV>&nbsp;</DIV>  <DIV>Thanks for the reply. But apparently this does not solve the problem. I have instantiated other vtk templates in the same way. However, the description of the constructor says:</DIV>  <DIV>&nbsp;</DIV>  <DIV>  <TABLE cellSpacing=0 cellPadding=0 border=0>  <TBODY>  <TR>  <TD class=md vAlign=top noWrap>static <A class=el href="file:///C:/Documents%20and%20Settings/Shariq/My%20Documents/Kent_BBSRC/VTK/vtkDocHtml-5.0.3/html/a02198.html">vtkVRMLImporter</A>* vtkVRMLImporter::New </TD>  <TD class=md vAlign=top>(&nbsp;</TD>  <TD class=mdname1 vAlign=top noWrap></TD>  <TD class=md vAlign=top>&nbsp;)&nbsp;</TD>  <TD class=md noWrap><CODE>[static]</CODE></TD></TR></TBODY></TABLE></DIV>  <DIV>"Create an object with Debug turned off, modified time initialized to zero, and reference counting on. "   <DIV>&nbsp;   <DIV>Does this give any clue?   <DIV>&nbsp;   <DIV>Many Many thanks,   <DIV>Nadia   <DIV>  <DIV><BR><BR><BR><B><I>gabri
 &lt;tartuz@gmail.com&gt;</I></B> wrote:</DIV>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi Nadia,<BR>I'm new as well but I think the problem is that for a template<BR>programming you have to use the PointerType of the template class to<BR>create a pointer in this way :<BR><BR>vtkVRMLImporter::Pointer importer = vtkVRMLImporter::New();<BR><BR>look if this fix your problem<BR><BR>Best reguards,<BR>gabriele<BR><BR><BR>Nadia Alvi ha scritto:<BR>&gt; Hi,<BR>&gt; <BR>&gt; I am having a problem in a very basic code of using vtkVRMLImporter<BR>&gt; class. Could some one please have a look at this code:<BR>&gt; <BR>&gt; #include "vtkVRMLImporter.h"<BR>&gt; int main()<BR>&gt; {<BR>&gt; <BR>&gt; vtkVRMLImporter *importer = vtkVRMLImporter::New();<BR>&gt; <BR>&gt; return 0;<BR>&gt; }<BR>&gt; <BR>&gt; When I build the project, it gives me the following linking errors :<BR>&gt; <BR>&gt; 1. readVRML error LNK2019: unresolved
 external symbol "public: static<BR>&gt; class vtkVRMLImporter * __cdecl vtkVRMLImporter::New(void)"<BR>&gt; (?New@vtkVRMLImporter@@SAPAV1@XZ<BR>&gt; <?xml:namespace prefix = mailto /><mailto:?New@vtkVRMLImporter@@SAPAV1@XZ>) referenced in function _main<BR>&gt;<BR>&gt; 2. readVRML fatal error LNK1120: 1 unresolved externals<BR>&gt; <BR>&gt;<BR>&gt; <BR>&gt; I am writing code in C++ after a long time...could some one please<BR>&gt; help me out?<BR>&gt; <BR>&gt; Many thanks and regards,<BR>&gt; Nadia<BR>&gt;<BR>&gt; ------------------------------------------------------------------------<BR>&gt; Get easy, one-click access to your favorites. Make Yahoo! your<BR>&gt; homepage. <HTTP: evt="51443/*http://www.yahoo.com/r/hs" us.rd.yahoo.com><BR>&gt; ------------------------------------------------------------------------<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; Insight-users mailing list<BR>&gt; Insight-users@itk.org<BR>&gt;
 http://www.itk.org/mailman/listinfo/insight-users<BR>&gt; <BR><BR><BR></BLOCKQUOTE><BR></mailto:?New@vtkVRMLImporter@@SAPAV1@XZ></DIV></DIV></DIV></DIV></DIV></DIV></DIV><p>&#32;
      <hr size=1>Be a better pen pal. 
Text or chat with friends inside Yahoo! Mail. <a href="http://us.rd.yahoo.com/evt=51732/*http://overview.mail.yahoo.com/">See how.</a>