<meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote">On Tue, Mar 15, 2011 at 7:15 AM, john smith <span dir="ltr"><<a href="mailto:mkitkinsightuser@gmail.com">mkitkinsightuser@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br><br>Is it possible to run <i><a href="http://www.itk.org/Wiki/ITK/Examples/Operators/GaussianDerivativeOperator" target="_blank">http://www.itk.org/Wiki/ITK/Examples/Operators/GaussianDerivativeOperator</a></i> in itk v3?Because when I build this project, visual studio2010 and cmake cannot find <i>itkGaussianDerivativeOperator.h</i> . What target_link_library must I enclude in the CMakeLists?<br>
<br></blockquote><div> </div><div>I'm not sure when GaussianDerivativeOperator was added to ITK, but that error suggests that it is not in the version you are using. The only thing you should include in the target_link_libraries is ${ITK_LIBRARIES} :</div>
<div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; border-collapse: collapse; font-size: 10.4167px; ">target_link_libraries(GaussianDerivativeOperator ${ITK_LIBRARIES})</span></div>
<div class="gmail_quote"><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font><div>David </div></div>