Compile error with icc 18
I am trying to compile poppler-0.87.0 with intel compilers version 18.0.5 20180823 on CentOS 7.3
cmake ended successfully
cmake .. -DCMAKE_INSTALL_PREFIX=/home/libraries/intel/poppler -DENABLE_XPDF_HEADERS=ON
make prints an error
Scanning dependencies of target poppler
[ 1%] Building CXX object CMakeFiles/poppler.dir/goo/gbase64.cc.o
[ 1%] Building CXX object CMakeFiles/poppler.dir/goo/gbasename.cc.o
[ 1%] Building CXX object CMakeFiles/poppler.dir/goo/gfile.cc.o
/home/libraries/intel/source/poppler-0.87.0/goo/gfile.cc(61): error: namespace "std" has no member "string_literals"
using namespace std::string_literals;
^
/home/libraries/intel/source/poppler-0.87.0/goo/gfile.cc(246): warning #3494: a user-provided literal suffix must begin with "_"
const std::string modeStr = mode + "e"s;
^
/home/libraries/intel/source/poppler-0.87.0/goo/gfile.cc(246): error: user-defined literal operator not found
const std::string modeStr = mode + "e"s;
^
compilation aborted for /home/libraries/intel/source/poppler-0.87.0/goo/gfile.cc (code 2)
make[2]: *** [CMakeFiles/poppler.dir/goo/gfile.cc.o] Error 2
make[1]: *** [CMakeFiles/poppler.dir/all] Error 2
make: *** [all] Error 2
What is the reason? I had poppler 0.60.1 installed correctly.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information