[ITK-users] About Compile ITK Ubuntu c++11
Waldo Valenzuela
waldovalenzuela at yahoo.com
Thu Dec 4 05:04:36 EST 2014
Hi Guys,
I have been using ITK on Mac and Windows for a while, but I started to do it on linux and I have some problems enabling c++11 feature.
On my Scientific Linux 7 machine, I didn’t have any problem to compile ITK adding CMAKE_CXX_FLAG= -std=gnu++11, but in a Ubuntu 14.04 machine with gcc 4.8.2, I have the error “constexpr needed” from the VNL library.
I know that this was a common error in the past with c++11, but I google it to solve it and couldn’t find any answer that really works.
There is a special configuration on CMAKE to solve this in Ubuntu?
Any help or guide is really welcome.
Cheers,
Waldo.
More information about the Insight-users
mailing list