Dear Iman,<div><br></div><div> I think your open source Demons Registration source code is based on ITK version 3.xx and the build</div><div>problem is because you built it with ITK version 4.1.</div><div><br></div><div>
itk::TransformToDeformationFieldSource was changed to
itk::TransformToDisplacementFieldSource in ITK 4.</div><div>If you change the class name in the code, you should be able to compile and run the program.</div><div> </div><div> If you still have build problems, look for the changes in the ITK class names from version 3.xx to 4.xx</div>
<div>and the slight changes you may have to make for your CMakeList to reflect this ITK version 4.xx.</div><div><br></div><div><br></div><div>Hope this help,</div><div><br></div><div>Best regards,</div><div><br></div><div>
Ja</div><div><br><br><div class="gmail_quote">On Sun, May 27, 2012 at 9:30 PM, Iman Nekooeimehr <span dir="ltr"><<a href="mailto:nekooeimehr@mail.usf.edu" target="_blank">nekooeimehr@mail.usf.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello again,<br>
<br>
What is the code needed to add to cmakeList, I tried different codes<br>
and none of them work.<br>
<br>
Regards,<br>
Iman Nekooeimehr<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, May 25, 2012 at 4:07 AM, Abayiz <<a href="mailto:abayiz@yahoo.com">abayiz@yahoo.com</a>> wrote:<br>
> Hi,<br>
><br>
> Did you add "ITKReview" in the "TARGET_LINK_LIBRARIES" part of your<br>
> CMakeList ?<br>
><br>
> Abayiz<br>
><br>
> ________________________________<br>
> From: Iman Nekooeimehr <<a href="mailto:nekooeimehr@mail.usf.edu">nekooeimehr@mail.usf.edu</a>><br>
> To: <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>
> Sent: Friday, May 25, 2012 4:12 AM<br>
> Subject: [Insight-users] Problem working with installing DemonsRegistration<br>
><br>
> Dear all,<br>
><br>
> I tried to build an open source software (Demons Registration)<br>
> developed based on ITK by Tom Varcauteren. There is an error that the<br>
> file itkTransformToDeformationFieldSource.h is not found. I also set<br>
> the option ITK_USE_REVIEW on when I cmake ITK.<br>
><br>
> CMAKE version is 2.8.8, ITK version is 4.1 and I am using VS2010.<br>
><br>
> I really appreciate any help,<br>
><br>
> Regards,<br>
> Iman Nekooeimehr<br>
> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
><br>
><br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br></div>