<font size="2"><font face="verdana,sans-serif">You mean in the source code </font></font>of TriangleCellTopology<font size="2"><font face="verdana,sans-serif">?<br></font></font><br><div class="gmail_quote">2011/11/15 Arnaud Gelas <span dir="ltr"><<a href="mailto:arnaud_gelas@hms.harvard.edu">arnaud_gelas@hms.harvard.edu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">Hi Dzenan,<div><br></div><div>Can you try changing as follows, please?</div><div><br>
</div><div><div> 39 TriangleCellTopology();</div><div> 40 virtual ~TriangleCellTopology();</div><div><br></div><div>by</div><div><br></div><div><div> 39 TriangleCellTopology() {}</div><div> 40 virtual ~TriangleCellTopology() {}</div>
</div><div><br></div><div>My 2 cts,</div><div>Arnaud</div><div><br></div><div><div><div></div><div class="h5"><div>On Nov 15, 2011, at 6:45 AM, Dženan Zukić wrote:</div><br></div></div><blockquote type="cite"><div><div></div>
<div class="h5"><font size="2"><font face="verdana,sans-serif">Hi all,<br><br>I updated my ITK to commit dd21441682b47f9e553259d2c2948c71c806bcdd (one revision after RC2). Now my project no longer compiles in release mode (debug and relwithdebinfo compile fine). The error is given below. The code used is:<br>
<br>#include "itkTriangleCell.h"<br>//other includes<br><br>typedef MeshType::CellType CellType;<br>typedef CellType::CellAutoPointer CellAutoPointer;<br>typedef itk::TriangleCell< CellType > TriangleType;<br>
<br>//later I use it:<br>CellAutoPointer tr;<br>tr.TakeOwnership(new TriangleType);<br><br>Any hints about how to fix it?<br><br>Regards,<br>Dženan<br><br>error LNK2019: unresolved external symbol "public: virtual __cdecl itk::TriangleCellTopology::~TriangleCellTopology(void)" (??1TriangleCellTopology@itk@@UEAA@XZ) referenced in function "int `public: __cdecl itk::TriangleCell<class itk::CellInterface<float,class itk::CellTraitsInfo<3,float,float,unsigned __int64,unsigned __int64,unsigned __int64,class itk::Point<float,3>,class itk::VectorContainer<unsigned __int64,class itk::Point<float,3> >,class std::set<unsigned __int64,struct std::less<unsigned __int64>,class std::allocator<unsigned __int64> > > > >::TriangleCell<class itk::CellInterface<float,class itk::CellTraitsInfo<3,float,float,unsigned __int64,unsigned __int64,unsigned __int64,class itk::Point<float,3>,class itk::VectorContainer<unsigned __int64,class itk::Point<float,3> >,class std::set<unsigned __int64,struct std::less<unsigned __int64>,class std::allocator<unsigned __int64> > > > >(void)'::`1'::dtor$1" (?dtor$1@?0???0?$TriangleCell@V?$CellInterface@MV?$CellTraitsInfo@$02MM_K_K_KV?$Point@M$02@itk@@V?$VectorContainer@_KV?$Point@M$02@itk@@@2@V?$set@_KU?$less@_K@std@@V?$allocator@_K@2@@std@@@itk@@@itk@@@itk@@QEAA@XZ@4HA)<br>
<br><br></font></font> </div></div><span><ATT00001.txt></span></blockquote></div><br></div></div></blockquote></div><br>