[Insight-developers] constexpr errors

David Doria daviddoria at gmail.com
Wed Jan 25 18:08:02 EST 2012


> Was the flag present during the initial configuration or did you add
> it later?  It must be present the first time so that all the try_compile
> tests use it.
>
> -Brad

I see, thanks Brad.

I ran
ccmake ~/src/ITK -DCMAKE_CXX_FLAGS=-std=gnu++0x
and then configured/generated and it built fine.

Is it possible to re-run the try_compile tests every time ITK is
configured? It is very confusing when you set a flag, reconfigure, and
don't get the result you'd expect.

David


More information about the Insight-developers mailing list