<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 05/12/2013 12:04 AM, Bill Lorensen
      wrote:<br>
    </div>
    <blockquote
cite="mid:CADZJ4hMkXwZ5M=ruOw5cxgHivCBQKNS5USUdaPAqRNJNxneDmA@mail.gmail.com"
      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 moz-do-not-send="true"
              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 moz-do-not-send="true"
              href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
            <br>
            Visit other Kitware open-source projects at<br>
            <a moz-do-not-send="true"
              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 moz-do-not-send="true"
              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 moz-do-not-send="true"
              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 moz-do-not-send="true"
              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>
    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>
    &nbsp; find_package(VTK REQUIRED)<br>
    &nbsp; include(${VTK_USE_FILE})<br>
    endif()<br>
    <br>
    add_executable(VelField VelField.cxx)<br>
    <br>
    if( "${ITK_VERSION_MAJOR}" LESS 4 )<br>
    &nbsp; target_link_libraries(VelField ITKReview ${ITK_LIBRARIES})<br>
    else( "${ITK_VERSION_MAJOR}" LESS 4 )<br>
    &nbsp; target_link_libraries(VelField ${ITK_LIBRARIES})<br>
    endif( "${ITK_VERSION_MAJOR}" LESS 4 )<br>
    <br>
----------------------------------------------------------------------------------------------------------------<br>
    <br>
  </body>
</html>