I've got a build going for some ITK code and I want to install the binaries into /usr/local/bin/.
This is what I try, without success. [ ~/src/kitware/itkImageSeries2Volume-build ]$ gmake [ 9%] Built target itkImageSeries2VTKvolume [ 18%] Built target itkImageSeriesResize [ 27%] Built target itkImageSeriesSize [ 36%] Built target itkRGBCoregisterImageSeries2VTKvolume [ 45%] Built target itkRGBImageSeries2VTKvolume [ 54%] Built target itkRGBImageSeriesComposeAffineTransforms [ 63%] Built target itkRGBImageSeriesComposeRigid2DTransforms [ 72%] Built target itkRGBImageSeriesComposeScalableAffine [ 81%] Built target itkRGBImageSeriesComposeTransforms [ 90%] Built target itkRGBImageSeriesResize [100%] Built target itkRGBImageSeriesSize [ ~/src/kitware/itkImageSeries2Volume-build ]$ gmake install gmake: *** No rule to make target `install'. Stop. Here's the content of the cmake_install.cmake file (I replace my home path with ${HOME} only for this email): [ ~/src/kitware/itkImageSeries2Volume-build ]$ cat cmake_install.cmake # Install script for directory: ${HOME}/src/kitware/itkImageSeries2Volume # Set the install prefix IF(NOT DEFINED CMAKE_INSTALL_PREFIX) SET(CMAKE_INSTALL_PREFIX "/usr/local") ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX) STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") # Set the install configuration name. IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) IF(BUILD_TYPE) STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" "" CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") ELSE(BUILD_TYPE) SET(CMAKE_INSTALL_CONFIG_NAME "") ENDIF(BUILD_TYPE) MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) # Set the component getting installed. IF(NOT CMAKE_INSTALL_COMPONENT) IF(COMPONENT) MESSAGE(STATUS "Install component: \"${COMPONENT}\"") SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}") ELSE(COMPONENT) SET(CMAKE_INSTALL_COMPONENT) ENDIF(COMPONENT) ENDIF(NOT CMAKE_INSTALL_COMPONENT) IF(CMAKE_INSTALL_COMPONENT) SET(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") ELSE(CMAKE_INSTALL_COMPONENT) SET(CMAKE_INSTALL_MANIFEST "install_manifest.txt") ENDIF(CMAKE_INSTALL_COMPONENT) FILE(WRITE "${HOME}/src/kitware/itkImageSeries2Volume-build/${CMAKE_INSTALL_MANIFEST}" "") FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES}) FILE(APPEND "${HOME}/src/kitware/itkImageSeries2Volume-build/${CMAKE_INSTALL_MANIFEST}" "${file}\n") ENDFOREACH(file) TIA, Darren
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake