<div dir="ltr">Do you have other versions of ITK installed? or just ITKv4?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 12, 2013 at 9:42 AM, Mark C. Reynolds <span dir="ltr">&lt;<a href="mailto:mcr@islandpeaksoftware.com" target="_blank">mcr@islandpeaksoftware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
    <div>On 05/12/2013 12:04 AM, Bill Lorensen
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Please share your CMakeLists.txt file
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Sat, May 11, 2013 at 7:29 PM, Mark
          C. Reynolds <span dir="ltr">&lt;<a href="mailto:mcr@islandpeaksoftware.com" target="_blank">mcr@islandpeaksoftware.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I want to
            make a standalone from<br>
            itkTimeVaryingBSplineVelocityFieldImageRegistrationTest.cxx.<br>
            <br>
            So I took this file, renamed it to VelField.cxx,<br>
            added a dummy main(), created a trivial<br>
            CMakeFiles.txt and attempted to compile.<br>
            <br>
            I get method not found on lines 276-279, because<br>
            of claims that the methods SetSplineOrder(),<br>
            SetRequiredTransformDomainSpacing(). and<br>
            SetRequiredTransformDomainSize()<br>
            do not exist.<br>
            <br>
            This is peculiar, because the original file compiles<br>
            to an object file just fine, and is run successfully<br>
            as part of the v4 registration tests.<br>
            <br>
            Can someone please tell me what is going wrong?<br>
            <br>
            Thanks,<br>
            <br>
            Mark<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>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
      </div>
    </blockquote></div></div>
    CMakeLists.txt:<br>
    <br>
------------------------------------------------------------------------------------------------------------<br>
    <br>
    cmake_minimum_required(VERSION 2.8)<br>
    <br>
    project(VelField)<br>
    <br>
    find_package(ITK REQUIRED)<br>
    include(${ITK_USE_FILE})<br>
    if (ITKVtkGlue_LOADED)<br>
      find_package(VTK REQUIRED)<br>
      include(${VTK_USE_FILE})<br>
    endif()<br>
    <br>
    add_executable(VelField VelField.cxx)<br>
    <br>
    if( &quot;${ITK_VERSION_MAJOR}&quot; LESS 4 )<br>
      target_link_libraries(VelField ITKReview ${ITK_LIBRARIES})<br>
    else( &quot;${ITK_VERSION_MAJOR}&quot; LESS 4 )<br>
      target_link_libraries(VelField ${ITK_LIBRARIES})<br>
    endif( &quot;${ITK_VERSION_MAJOR}&quot; LESS 4 )<br>
    <br>
----------------------------------------------------------------------------------------------------------------<br>
    <br>
  </div>

<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></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>