make到94%时出错Linking CXX executable pdf2htmlEX
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/font.cc.o:在函数‘pdf2htmlEX::HTMLRen derer::install_external_font(GfxFont_, pdf2htmlEX::FontInfo&)’中: font.cc:(.text+0x4981):对‘GfxFont::locateFont(XRef_, PSOutputDev_)’未定义的引用 CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/font.cc.o:在函数‘pdf2htmlEX::HTMLRen derer::install_font(GfxFont_)’中: font.cc:(.text+0x50ec):对‘GfxFont::locateFont(XRef_, PSOutputDev_)’未定义的引用 CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer/SplashBackgroundRenderer.cc.o: 在函数‘pdf2htmlEX::SplashBackgroundRenderer::SplashBackgroundRenderer(std::strin g const&, pdf2htmlEX::HTMLRenderer_, pdf2htmlEX::Param const&)’中: SplashBackgroundRenderer.cc:(.text+0x190):对‘SplashOutputDev::SplashOutputDev(S plashColorMode, int, bool, unsigned char_, bool, SplashThinLineMode, bool)’未定 义的引用 CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer/SplashBackgroundRenderer.cc.o:( .rodata.ZTVN10pdf2htmlEX24SplashBackgroundRendererE[ZTVN10pdf2htmlEX24SplashBa ckgroundRendererE]+0x1b8):对‘SplashOutputDev::updatePatternOpacity(GfxState)’ 未定义的引用 CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer/SplashBackgroundRenderer.cc.o:( .rodata.ZTVN10pdf2htmlEX24SplashBackgroundRendererE[ZTVN10pdf2htmlEX24SplashBa ckgroundRendererE]+0x1c0):对‘SplashOutputDev::clearPatternOpacity(GfxState)’未 定义的引用 CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer/SplashBackgroundRenderer.cc.o:( .rodata.ZTVN10pdf2htmlEX24SplashBackgroundRendererE[ZTVN10pdf2htmlEX24SplashBa ckgroundRendererE]+0x268):对‘SplashOutputDev::functionShadedFill(GfxState, Gfx FunctionShading)’未定义的引用 CMakeFiles/pdf2htmlEX.dir/3rdparty/poppler/git/CairoFontEngine.cc.o:在函数‘Cair oFreeTypeFont::create(GfxFont, XRef, FT_LibraryRec__, bool)’中: CairoFontEngine.cc:(.text+0x792):对‘GfxFont::locateFont(XRef_, PSOutputDev_)’未 定义的引用 collect2: 错误:ld 返回 1 make[2]: *_* [pdf2htmlEX] 错误 1 make[1]: *** [CMakeFiles/pdf2htmlEX.dir/all] 错误 2 make: *** [all] 错误 2
是/usr/lib64下的libpoppler.so版本不对的问题,问题已解决