Dear Users,<div><br></div><div><br></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><br></div><div><p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New""><br></span></p><p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New""><br>
</span></p><p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1>------ Build started: Project: itkVTKPolyDataReaderTest,
Configuration: Release Win32 ------</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1>Compiling...</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1>itkVTKPolyDataReaderTest.cxx</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1>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="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1> C:\Program
Files (x86)\Microsoft Visual Studio 8\VC\include\stdio.h(311) : see declaration
of 'sscanf'</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1>
c:\users\lisa\desktop\vtkreadpolydata\itkVTKPolyDataReader.txx(47)
: while compiling class template member function 'void
itk::VTKPolyDataReader<TOutputMesh>::GenerateData(void)'</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1> with</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1> [</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1>
TOutputMesh=MeshType</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1> ]</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1>
..\itkVTKPolyDataReaderTest.cxx(41) : see reference to class template
instantiation 'itk::VTKPolyDataReader<TOutputMesh>' being compiled</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1> with</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1> [</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1>
TOutputMesh=MeshType</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1> ]</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1>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="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1> C:\Program
Files (x86)\Microsoft Visual Studio 8\VC\include\stdio.h(311) : see declaration
of 'sscanf'</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1>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="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1> C:\Program
Files (x86)\Microsoft Visual Studio 8\VC\include\stdio.h(311) : see declaration
of 'sscanf'</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1>Linking...</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1>MSVCRT.lib(crtexe.obj) : error LNK2019: unresolved external
symbol _main referenced in function ___tmainCRTStartup</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1>C:\Users\Lisa\Desktop\VTKReadPolyData\bin\Release\itkVTKPolyDataReaderTest.exe
: fatal error LNK1120: 1 unresolved externals</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1>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="font-size:8.0pt;line-height:115%;font-family:"Courier New"">1>itkVTKPolyDataReaderTest - 2 error(s), 3 warning(s)</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New"">========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped
==========</span></p><p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New""><br></span></p><p class="MsoNormal"><span style="font-size:8.0pt;line-height:115%;font-family:"Courier New""><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>