<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Hi</DIV>
<DIV>&nbsp;</DIV>
<DIV>Your entery point is missing. This error isn’t related to ITK.&nbsp; You 
should have entry point in your example like </DIV>
<DIV>&nbsp;</DIV>
<DIV>int main()</DIV>
<DIV>{</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; return 0;</DIV>
<DIV>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>If above code is not in your example then it cause linker error.&nbsp; 
Check in your code . I think you need to read some books on C++</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV 
style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt"><BR><BR>&nbsp;</DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV>&nbsp;</DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=lisadean.leo@gmail.com 
href="mailto:lisadean.leo@gmail.com">Lisa Dean</A> </DIV>
<DIV><B>Sent:</B> Wednesday, March 07, 2012 12:28 PM</DIV>
<DIV><B>To:</B> <A title=insight-users@itk.org 
href="mailto:insight-users@itk.org">itk</A> </DIV>
<DIV><B>Subject:</B> [Insight-users] itkVTKPolyDataReader 
error</DIV></DIV></DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Dear 
Users, 
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I get the following errors when I try to compile itkVTKPolyDataReader. Has 
anybody experienced the same? Is there someone who can help me out? It's kind of 
urgent. I'm working on a project and if I'm not able to input my data, then I'm 
stuck, there is nothing I can do in the meantime till it gets solved.</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt"><BR></SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt"><BR></SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;------ 
Build started: Project: itkVTKPolyDataReaderTest, Configuration: Release Win32 
------</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;Compiling...</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;itkVTKPolyDataReaderTest.cxx</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;c:\users\lisa\desktop\vtkreadpolydata\itkVTKPolyDataReader.txx(133) 
: warning C4996: 'sscanf': This function or variable may be unsafe. Consider 
using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See 
online help for details.</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\stdio.h(311) : see 
declaration of 'sscanf'</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
c:\users\lisa\desktop\vtkreadpolydata\itkVTKPolyDataReader.txx(47) : while 
compiling class template member function 'void 
itk::VTKPolyDataReader&lt;TOutputMesh&gt;::GenerateData(void)'</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
with</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
TOutputMesh=MeshType</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
]</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
..\itkVTKPolyDataReaderTest.cxx(41) : see reference to class template 
instantiation 'itk::VTKPolyDataReader&lt;TOutputMesh&gt;' being 
compiled</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
with</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
[</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
TOutputMesh=MeshType</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
]</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;c:\users\lisa\desktop\vtkreadpolydata\itkVTKPolyDataReader.txx(204) 
: warning C4996: 'sscanf': This function or variable may be unsafe. Consider 
using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See 
online help for details.</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\stdio.h(311) : see 
declaration of 'sscanf'</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;c:\users\lisa\desktop\vtkreadpolydata\itkVTKPolyDataReader.txx(255) 
: warning C4996: 'sscanf': This function or variable may be unsafe. Consider 
using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See 
online help for details.</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\stdio.h(311) : see 
declaration of 'sscanf'</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;Linking...</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;MSVCRT.lib(crtexe.obj) 
: error LNK2019: unresolved external symbol _main referenced in function 
___tmainCRTStartup</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;C:\Users\Lisa\Desktop\VTKReadPolyData\bin\Release\itkVTKPolyDataReaderTest.exe 
: fatal error LNK1120: 1 unresolved externals</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;Build 
log was saved at "<A 
href="file:///C:/Users/Riya/Desktop/kink/VTKReadPolyData/bin/itkVTKPolyDataReaderTest.dir/Release/BuildLog.htm"><SPAN 
style="COLOR: blue">file://c:\Users\Lisa\Desktop\VTKReadPolyData\bin\itkVTKPolyDataReaderTest.dir\Release\BuildLog.htm</SPAN></A>"</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">1&gt;itkVTKPolyDataReaderTest 
- 2 error(s), 3 warning(s)</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt">========== 
Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========</SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt"><BR></SPAN></P>
<P class=MsoNormal><SPAN 
style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 8pt"><BR></SPAN></P>
<P class=MsoNormal><SPAN style="LINE-HEIGHT: 115%"><FONT 
face="arial, helvetica, sans-serif">Thanks a lot</FONT></SPAN></P>
<P class=MsoNormal><SPAN style="LINE-HEIGHT: 115%"><FONT 
face="arial, helvetica, sans-serif">Lisa</FONT></SPAN></P></DIV>
<P>
<HR>
_____________________________________<BR>Powered by www.kitware.com<BR><BR>Visit 
other Kitware open-source projects 
at<BR>http://www.kitware.com/opensource/opensource.html<BR><BR>Kitware offers 
ITK Training Courses, for more information 
visit:<BR>http://www.kitware.com/products/protraining.html<BR><BR>Please keep 
messages on-topic and check the ITK FAQ 
at:<BR>http://www.itk.org/Wiki/ITK_FAQ<BR><BR>Follow this link to 
subscribe/unsubscribe:<BR>http://www.itk.org/mailman/listinfo/insight-users<BR></DIV></DIV></DIV></BODY></HTML>