[ITK] ITK 4.7.1 | CMake error in ITKConfig.cmake

Audrius Stundzia audrius at tomographix.com
Mon Mar 16 02:58:37 EDT 2015


OS: WIndows 8.1 x64
ITK: 4.7.1
CMake: 3.2.1

The following CMake error occurred while running CMake for RTK. 
However, as it is located in ITKConfig.cmake, I thought that I should
report it here. 

_____

CMake Error at F:/Program Files/itk/build/ITKConfig.cmake:70 (set):
  Syntax error in cmake code at

    F:/Program Files/itk/build/ITKConfig.cmake:70

  when parsing string

    F:\Program Files\FFTW

  Invalid escape sequence \P
Call Stack (most recent call first):
  CMakeLists.txt:75 (FIND_PACKAGE)

_____

Changing the line from

set(ITK_FFTW_INCLUDE_PATH "F:\Program Files\FFTW")

to 

set(ITK_FFTW_INCLUDE_PATH "F:/Program Files/FFTW")

fixed the problem.

Regards, 

Audrius


More information about the Community mailing list