https://gist.github.com/ilovezfs/2b8f739409cf506277ce1cc6977adffc [ 55%] Building CXX object qt5/src/CMakeFiles/poppler-qt5.dir/ArthurOutputDev.cc.o cd /tmp/poppler-20180418-65546-1vzvgtp/poppler-0.64.0/qt5/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_XML_LIB -DUSE_OPENJPEG2 -Dpoppler_qt5_EXPORTS -I/tmp/poppler-20180418-65546-1vzvgtp/poppler-0.64.0/qt5/src/poppler-qt5_autogen/include -I/tmp/poppler-20180418-65546-1vzvgtp/poppler-0.64.0 -I/tmp/poppler-20180418-65546-1vzvgtp/poppler-0.64.0/fofi -I/tmp/poppler-20180418-65546-1vzvgtp/poppler-0.64.0/goo -I/tmp/poppler-20180418-65546-1vzvgtp/poppler-0.64.0/poppler -I/tmp/poppler-20180418-65546-1vzvgtp/poppler-0.64.0/qt5/src -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/Cellar/openjpeg/2.3.0/include/openjpeg-2.3 -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/lib/QtGui.framework/Headers -isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem /usr/local/opt/qt/lib/QtXml.framework/Headers -DNDEBUG -fPIC -fPIC -std=c++11 -o CMakeFiles/poppler-qt5.dir/ArthurOutputDev.cc.o -c /tmp/poppler-20180418-65546-1vzvgtp/poppler-0.64.0/qt5/src/ArthurOutputDev.cc /tmp/poppler-20180418-65546-1vzvgtp/poppler-0.64.0/qt5/src/ArthurOutputDev.cc:830:35: error: implicit instantiation of undefined template 'std::__1::array<double, 257>' std::array<double, maxSplits+1> ta; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tuple:116:65: note: template is declared here template <class _Tp, size_t _Size> struct _LIBCPP_TYPE_VIS_ONLY array; ^ /tmp/poppler-20180418-65546-1vzvgtp/poppler-0.64.0/qt5/src/ArthurOutputDev.cc:832:32: error: implicit instantiation of undefined template 'std::__1::array<int, 257>' std::array<int, maxSplits+1> next; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tuple:116:65: note: template is declared here template <class _Tp, size_t _Size> struct _LIBCPP_TYPE_VIS_ONLY array; ^ 2 errors generated. make[2]: *** [qt5/src/CMakeFiles/poppler-qt5.dir/ArthurOutputDev.cc.o] Error 1 make[1]: *** [qt5/src/CMakeFiles/poppler-qt5.dir/all] Error 2 make: *** [all] Error 2 bash-3.2$
You're on a mac, right? Does adding #include <array> after #include <QPicture> help?
Yup!
fixed in master
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.