库没有加全<br><br>在2010-05-10 17:29:36,"董硕" <sure_dong@hotmail.com> 写道:<br> <BLOCKQUOTE id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV><FONT face="宋体">I'm pretty new to ITK. I checked out some resources on
how to build ITK +<BR>VTK, <BR>but I've got some
problem.<BR><BR>I build VTK with VTK_USE_ANSI_STDLIB = ON
<BR>configuring ITK with CMake without problem.<BR>using downloadable
version of ITK<BR>using VisualStudio 6 (I'm sorry that's such an old
version...)<BR>when I build InsightApplications I always get the
following error in the vtk2itk<BR>project.<BR>Thanks a lot for any light on
it!</FONT></DIV>
<DIV><FONT face="宋体"></FONT> </DIV>
<DIV><FONT face="宋体"></FONT> </DIV>
<DIV><FONT face="宋体"><FONT size="2">--------------------Configuration: vtk2itk -
Win32 Debug--------------------<BR>Linking...<BR>vtk2itk.obj : error LNK2001:
unresolved external symbol "__declspec(dllimport) public: void __thiscall
vtkObjectBase::Print(class std::basic_ostream<char,struct
std::char_traits<char> > &)" (<A title="mailto:__imp_?Print@vtkObjectBase@@QAEXAAV?$basic_ostream@DU?$cha
CTRL + 单击以下链接" href="mailto:__imp_?Print@vtkObjectBase@@QAEXAAV?$basic_ostream@DU?$cha">__imp_?Print@vtkObjectBase@@QAEXAAV?$basic_ostream@DU?$cha</A><BR><A href="mailto:r_traits@D@std@@@std@@@Z">r_traits@D@std@@@std@@@Z</A>)<BR>C:\ITK\bin\bin\Debug/vtk2itk.exe
: fatal error LNK1120: 1 unresolved externals<BR>Error executing
link.exe.</FONT></FONT></DIV>
<DIV><FONT face="宋体"><FONT size="2"></FONT></FONT> </DIV>
<DIV><FONT face="宋体" size="2"></FONT> </DIV>
<DIV><FONT face="宋体"><FONT size="2">Best regards,</FONT></FONT></DIV>
<DIV><FONT face="宋体"><FONT size="2">Shuo Dong </FONT></FONT></DIV>
<DIV><BR></DIV>
</BLOCKQUOTE><br><br><span title="neteasefooter"/><hr/>
<a href="http://ym.163.com/?from=od3" target="_blank">网易为中小企业免费提供企业邮箱(自主域名)</a>
</span>