[Trilinos-Users] Problem configuring C++ 11 on Visual Studio 12 (2013)

JR Cary cary at colorado.edu
Sat May 9 10:56:03 EDT 2015


cmake fails at

CMake Error at 
cmake/tribits/core/package_arch/TribitsCXX11Support.cmake:148 (MESSAGE):^M
   Error, a set of standard compiler flags cannot be found such that 
this C++^M
   compiler is able to compile basic C++11 features! Please select a C++^M
   compiler (and compatible compilers for other languages) that supports^M
   C++11.  Or, if this C++ compiler does support C++11 but a special set 
of^M
   compiler options is needed, then set these flags using^M
   -DTrilinos_CXX11_FLAGS="<c++11-flags>".  Or, if C++11 support in this^M
   project is not needed or desired, then set -DTrilinos_ENABLE_CXX11=OFF.^M
Call Stack (most recent call first):^

But afaik, VS-12 needs no special flags.  So the logic in
TribitsCXX11Support.cmake of

       IF ("${${PROJECT_NAME}_CXX11_FLAGS}" STREQUAL "")
       MESSAGE(FATAL_ERROR

will fail, as that variable should be empty for VS12.

Thoughts?

Thanks....John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20150509/51da78ff/attachment.html>


More information about the Trilinos-Users mailing list