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

Audrius Stundzia audrius at tomographix.com
Tue Mar 17 23:42:37 EDT 2015


Hi Matt,

Thank you for your prompt response.

On Mon, Mar 16, 2015, at 12:26, Matt McCormick wrote:
> Hi Audrius,
> 
> Thanks for discussing the issue on the list.
> 
> Did you manually specify the FFTW_INCLUDE_PATH in your CMake
> configuration?

Yes, I did. 

> Please review and test this patch [1].  I have not tested it on
> Windows.  

The problem line in F:/Program Files/itk/build/ITKConfig.cmake:70
now appears as

set(ITK_FFTW_INCLUDE_PATH "FFTW_INCLUDE_PATH")

so now the ITK build fails where FFTW is required.

> Some documentation for testing can be found here [2] [3].

Thanks for the info. Will set that up now and provide a review.

Regards, 

Audrius

> 
> Thanks,
> Matt
> 
> [1] http://review.source.kitware.com/#/c/19511/
> 
> [2]
> https://insightsoftwareconsortium.github.io/ITKBarCamp-doc/CommunitySoftwareProcess/PerformAGerritReview/index.html
> 
> [3] http://www.itk.org/Wiki/ITK/Git
> 
> On Mon, Mar 16, 2015 at 2:58 AM, Audrius Stundzia
> <audrius at tomographix.com> wrote:
> > 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
> > _______________________________________________
> > Community mailing list
> > Community at itk.org
> > http://public.kitware.com/mailman/listinfo/community


More information about the Community mailing list