Build error on CentOS 7
To get the latest version of poppler on Centos 7., followed the steps mentioned here.
This required the installation of many devel packages (based on the errors thrown during cmake ..
step). Now running make
throws the following error.
[ 0%] Building CXX object CMakeFiles/poppler.dir/poppler/GfxFont.cc.o
/root/building/poppler/poppler/GfxFont.cc:183:13: error: function ‘GfxFontLoc& GfxFontLoc::operator=(GfxFontLoc&&)’ defaulted on its redeclaration with an exception-specification that differs from the implicit exception-specification ‘’
GfxFontLoc &GfxFontLoc::operator=(GfxFontLoc &&other) noexcept = default;
^~~~~~~~~~
make[2]: *** [CMakeFiles/poppler.dir/poppler/GfxFont.cc.o] Error 1
make[1]: *** [CMakeFiles/poppler.dir/all] Error 2
While the error message is descriptive, wanted to understand if something is fundamentally broken about my environment or my execution of the build process.
Looking forward to getting this working.
Environment Info
- Centos Version: CentOS Linux release 7.6.1810 (Core)
- GCC Version: gcc (GCC) 7.3.1 20180303 (upgraded using devtoolset7)
- cmake version: cmake version 3.22.0