From 920b92a3ef4698bbd097a93e8f0044b6d23924f9 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 21 Aug 2014 15:03:57 -0700 Subject: [PATCH] improve error message when c++11 compiler is not available - refs #2376 --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index b70739f21..f4acdab5c 100644 --- a/SConstruct +++ b/SConstruct @@ -1296,7 +1296,7 @@ if not preconfigured: # test for C++11 support, which is required if not conf.supports_cxx11(): - color_print(1,"C++ compiler does not support C++11 standard, which is required. Please use Mapnik 2.x instead of 3.x as an alternative") + color_print(1,"C++ compiler does not support C++11 standard (-std=c++11), which is required. Please upgrade your compiler to at least g++ 4.7 (ideally 4.8)") Exit(1) if not env['HOST']: