- Code: Select all
[ 20%] Building CXX object src/GUI/CMakeFiles/fgqmlui.dir/fgqmlui_autogen/mocs_compilation.cpp.o
In file included from /usr/local/include/simgear/props/PropertyBasedElement.hxx:23:0,
from /usr/local/include/simgear/props/PropertyBasedMgr.hxx:23,
from /usr/local/include/simgear/canvas/CanvasMgr.hxx:24,
from /home/tom/flightgear/src/Canvas/canvas_mgr.hxx:22,
from /home/tom/flightgear/src/GUI/QtQuickFGCanvasItem.hxx:28,
from /home/tom/fgbuild/src/GUI/fgqmlui_autogen/EWIEGA46WW/moc_QtQuickFGCanvasItem.cpp:9,
from /home/tom/fgbuild/src/GUI/fgqmlui_autogen/mocs_compilation.cpp:15:
/usr/local/include/simgear/std/type_traits.hxx:49:18: error: ‘remove_cv_t’ does not name a type; did you mean ‘remove_cv’?
using type = remove_cv_t<remove_reference_t<T>>;
^~~~~~~~~~~
remove_cv
In file included from /usr/local/include/simgear/props/PropertyBasedMgr.hxx:23:0,
from /usr/local/include/simgear/canvas/CanvasMgr.hxx:24,
from /home/tom/flightgear/src/Canvas/canvas_mgr.hxx:22,
from /home/tom/flightgear/src/GUI/QtQuickFGCanvasItem.hxx:28,
from /home/tom/fgbuild/src/GUI/fgqmlui_autogen/EWIEGA46WW/moc_QtQuickFGCanvasItem.cpp:9,
from /home/tom/fgbuild/src/GUI/fgqmlui_autogen/mocs_compilation.cpp:15:
/usr/local/include/simgear/props/PropertyBasedElement.hxx:124:12: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
std::enable_if_t<!std::is_same<T, SGPropertyNode*>::value, T>
^~~~~~~~~~~
/usr/local/include/simgear/props/PropertyBasedElement.hxx:126:38: error: expected unqualified-id before ‘)’ token
const T& def = {} ) const
^
/usr/local/include/simgear/props/PropertyBasedElement.hxx:142:12: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
std::enable_if_t<std::is_same<T, SGPropertyNode*>::value, T>
^~~~~~~~~~~
make[2]: *** [src/GUI/CMakeFiles/fgqmlui.dir/build.make:80: src/GUI/CMakeFiles/fgqmlui.dir/fgqmlui_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2232: src/GUI/CMakeFiles/fgqmlui.dir/all] Error 2
make: *** [Makefile:180: all] Error 2
It looks like a code mod is needed. Suggestions????
thanks, tom kosvic