Dear Developers,
include could not find requested file:
elastixVersion
CMake Error at CMakeLists.txt:77 (include):
include could not find requested file:
elastixExportTarget
CMake Error at CMakeLists.txt:330 (add_subdirectory):
add_subdirectory given source "Common" which is not an existing directory.
CMake Error at CMakeLists.txt:334 (add_subdirectory):
add_subdirectory given source "Components" which is not an existing
directory.
CMake Error at CMakeLists.txt:338 (add_subdirectory):
add_subdirectory given source "Core" which is not an existing directory.
CMake Error: File F:/Elastix/Elastix/elastix-5.0.1-win64/elastix-5.0.1-win64/dox/example.bat does not exist.
CMake Error at CMakeLists.txt:351 (configure_file):
configure_file Problem configuring file
CMake Error: File F:/Elastix/Elastix/elastix-5.0.1-win64/elastix-5.0.1-win64/dox/exampleinput/fixed.mhd does not exist.
CMake Error at CMakeLists.txt:383 (configure_file):
configure_file Problem configuring file
CMake Error: File F:/Elastix/Elastix/elastix-5.0.1-win64/elastix-5.0.1-win64/dox/exampleinput/fixed.raw does not exist.
CMake Error at CMakeLists.txt:383 (configure_file):
configure_file Problem configuring file
CMake Error: File F:/Elastix/Elastix/elastix-5.0.1-win64/elastix-5.0.1-win64/dox/exampleinput/mask_fixed.mhd does not exist.
CMake Error at CMakeLists.txt:383 (configure_file):
configure_file Problem configuring file
CMake Error: File F:/Elastix/Elastix/elastix-5.0.1-win64/elastix-5.0.1-win64/dox/exampleinput/mask_fixed.raw does not exist.
CMake Error at CMakeLists.txt:383 (configure_file):
configure_file Problem configuring file
CMake Error: File F:/Elastix/Elastix/elastix-5.0.1-win64/elastix-5.0.1-win64/dox/exampleinput/mask_moving.mhd does not exist.
CMake Error at CMakeLists.txt:383 (configure_file):
configure_file Problem configuring file
CMake Error: File F:/Elastix/Elastix/elastix-5.0.1-win64/elastix-5.0.1-win64/dox/exampleinput/mask_moving.raw does not exist.
CMake Error at CMakeLists.txt:383 (configure_file):
configure_file Problem configuring file
CMake Error: File F:/Elastix/Elastix/elastix-5.0.1-win64/elastix-5.0.1-win64/dox/exampleinput/moving.mhd does not exist.
CMake Error at CMakeLists.txt:383 (configure_file):
configure_file Problem configuring file
CMake Error: File F:/Elastix/Elastix/elastix-5.0.1-win64/elastix-5.0.1-win64/dox/exampleinput/moving.raw does not exist.
CMake Error at CMakeLists.txt:383 (configure_file):
configure_file Problem configuring file
CMake Error: File F:/Elastix/Elastix/elastix-5.0.1-win64/elastix-5.0.1-win64/dox/exampleinput/parameters_Affine.txt does not exist.
CMake Error at CMakeLists.txt:383 (configure_file):
configure_file Problem configuring file
CMake Error: File F:/Elastix/Elastix/elastix-5.0.1-win64/elastix-5.0.1-win64/dox/exampleinput/parameters_BSpline.txt does not exist.
CMake Error at CMakeLists.txt:383 (configure_file):
configure_file Problem configuring file
CMake Error: File F:/Elastix/Elastix/elastix-5.0.1-win64/elastix-5.0.1-win64/dox/exampleinput/parameters_Rigid.txt does not exist.
CMake Error at CMakeLists.txt:383 (configure_file):
configure_file Problem configuring file
CMake Error: File F:/Elastix/Elastix/elastix-5.0.1-win64/elastix-5.0.1-win64/dox/exampleinput/parameters_Translation.txt does not exist.
CMake Error at CMakeLists.txt:383 (configure_file):
configure_file Problem configuring file
CMake Error: File F:/Elastix/Elastix/elastix-5.0.1-win64/elastix-5.0.1-win64/dox/exampleinput/solution_deformedmovingimage.mhd does not exist.
CMake Error at CMakeLists.txt:383 (configure_file):
configure_file Problem configuring file
CMake Error: File F:/Elastix/Elastix/elastix-5.0.1-win64/elastix-5.0.1-win64/dox/exampleinput/solution_deformedmovingimage.raw does not exist.
CMake Error at CMakeLists.txt:383 (configure_file):
configure_file Problem configuring file
CMake Error at CMakeLists.txt:437 (add_subdirectory):
add_subdirectory given source "Testing" which is not an existing directory.
CMake Error at CMakeLists.txt:594 (elastix_export_target):
''CMake Error: The source directory "F:/Elastix/Elastix/elastix-5.0.1-win64/Elastix_Build_5.0.1" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI''.
Actually, I downlowded ''elastix-5.0.1-win64.zip'' as a source because I use Windows 7, 64 bit.
Yours sincerely
Dear Hussam,
Were you able to cmake and compile the ITK first?
After that run CMake on the elastix sources, without copying files around, and pointing ITK_DIR to the binary directory of ITK, and you should be good generating project files for elastix.