Skip to content

Instantly share code, notes, and snippets.

@iapain
Created September 5, 2012 10:56
Show Gist options
  • Save iapain/3634988 to your computer and use it in GitHub Desktop.
Save iapain/3634988 to your computer and use it in GitHub Desktop.
Linking CXX executable pdf2htmlEX
CMakeFiles/pdf2htmlEX.dir/src/pdf2htmlEX.cc.o: In function `main':
/home/iapain/prj/pdf2htmlEX/src/pdf2htmlEX.cc:167: undefined reference to `error(ErrorCategory, int, char const*, ...)'
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/general.cc.o: In function `HTMLRenderer':
/home/iapain/prj/pdf2htmlEX/src/HTMLRenderer/general.cc:38: undefined reference to `setErrorCallback(void (*)(void*, ErrorCategory, int, char*), void*)'
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/general.cc.o: In function `HTMLRenderer::process(PDFDoc*)':
/home/iapain/prj/pdf2htmlEX/src/HTMLRenderer/general.cc:68: undefined reference to `SplashOutputDev::startDoc(PDFDoc*)'
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/general.cc.o:(.rodata._ZTV12HTMLRenderer[vtable for HTMLRenderer]+0x2a8): undefined reference to `OutputDev::setSoftMaskFromImageMask(GfxState*, Object*, Stream*, int, int, bool, bool, double*)'
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/general.cc.o:(.rodata._ZTV12HTMLRenderer[vtable for HTMLRenderer]+0x2b0): undefined reference to `OutputDev::unsetSoftMaskFromImageMask(GfxState*, double*)'
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/install.cc.o: In function `HTMLRenderer::install_font(GfxFont*)':
/home/iapain/prj/pdf2htmlEX/src/HTMLRenderer/install.cc:63: undefined reference to `GfxFont::locateFont(XRef*, bool)'
/home/iapain/prj/pdf2htmlEX/src/HTMLRenderer/install.cc:82: undefined reference to `GfxFontLoc::~GfxFontLoc()'
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/install.cc.o: In function `HTMLRenderer::install_base_font(GfxFont*, GfxFontLoc*, FontInfo&)':
/home/iapain/prj/pdf2htmlEX/src/HTMLRenderer/install.cc:111: undefined reference to `GfxFont::locateFont(XRef*, bool)'
/home/iapain/prj/pdf2htmlEX/src/HTMLRenderer/install.cc:118: undefined reference to `GfxFontLoc::~GfxFontLoc()'
/home/iapain/prj/pdf2htmlEX/src/HTMLRenderer/install.cc:144: undefined reference to `GfxFontLoc::~GfxFontLoc()'
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/install.cc.o: In function `HTMLRenderer::install_external_font(GfxFont*, FontInfo&)':
/home/iapain/prj/pdf2htmlEX/src/HTMLRenderer/install.cc:168: undefined reference to `GfxFont::locateFont(XRef*, bool)'
/home/iapain/prj/pdf2htmlEX/src/HTMLRenderer/install.cc:176: undefined reference to `GfxFontLoc::~GfxFontLoc()'
/home/iapain/prj/pdf2htmlEX/src/HTMLRenderer/install.cc:191: undefined reference to `GfxFontLoc::~GfxFontLoc()'
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/text.cc.o: In function `unicode_from_font':
/home/iapain/prj/pdf2htmlEX/src/util.h:103: undefined reference to `GlobalParams::mapNameToUnicode(char const*)'
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/text.cc.o: In function `HTMLRenderer::dump_embedded_font(GfxFont*, long long)':
/home/iapain/prj/pdf2htmlEX/src/HTMLRenderer/text.cc:45: undefined reference to `Object::fetch(XRef*, Object*, int)'
/home/iapain/prj/pdf2htmlEX/src/HTMLRenderer/text.cc:55: undefined reference to `Dict::lookup(char const*, Object*, int)'
/home/iapain/prj/pdf2htmlEX/src/HTMLRenderer/text.cc:73: undefined reference to `Dict::lookup(char const*, Object*, int)'
/home/iapain/prj/pdf2htmlEX/src/HTMLRenderer/text.cc:81: undefined reference to `Dict::lookup(char const*, Object*, int)'
/home/iapain/prj/pdf2htmlEX/src/HTMLRenderer/text.cc:83: undefined reference to `Dict::lookup(char const*, Object*, int)'
/home/iapain/prj/pdf2htmlEX/src/HTMLRenderer/text.cc:106: undefined reference to `Dict::lookup(char const*, Object*, int)'
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/text.cc.o:/home/iapain/prj/pdf2htmlEX/src/HTMLRenderer/text.cc:110: more undefined references to `Dict::lookup(char const*, Object*, int)' follow
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/text.cc.o: In function `Object::getName()':
/usr/local/include/poppler/Object.h:196: undefined reference to `error(ErrorCategory, int, char const*, ...)'
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/text.cc.o: In function `Object::getDict()':
/usr/local/include/poppler/Object.h:198: undefined reference to `error(ErrorCategory, int, char const*, ...)'
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/text.cc.o: In function `Object::arrayGetLength()':
/usr/local/include/poppler/Object.h:273: undefined reference to `error(ErrorCategory, int, char const*, ...)'
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/text.cc.o: In function `Object::arrayGet(int, Object*)':
/usr/local/include/poppler/Object.h:282: undefined reference to `error(ErrorCategory, int, char const*, ...)'
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/text.cc.o: In function `Object::streamReset()':
/usr/local/include/poppler/Object.h:336: undefined reference to `error(ErrorCategory, int, char const*, ...)'
CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/text.cc.o:/usr/local/include/poppler/Object.h:339: more undefined references to `error(ErrorCategory, int, char const*, ...)' follow
CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer.cc.o:(.rodata._ZTV18BackgroundRenderer[vtable for BackgroundRenderer]+0x158): undefined reference to `SplashOutputDev::updateTransfer(GfxState*)'
CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer.cc.o:(.rodata._ZTV18BackgroundRenderer[vtable for BackgroundRenderer]+0x1d8): undefined reference to `SplashOutputDev::tilingPatternFill(GfxState*, Gfx*, Catalog*, Object*, double*, int, int, Dict*, double*, double*, int, int, int, int, double, double)'
CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer.cc.o:(.rodata._ZTV18BackgroundRenderer[vtable for BackgroundRenderer]+0x2a8): undefined reference to `SplashOutputDev::setSoftMaskFromImageMask(GfxState*, Object*, Stream*, int, int, bool, bool, double*)'
CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer.cc.o:(.rodata._ZTV18BackgroundRenderer[vtable for BackgroundRenderer]+0x2b0): undefined reference to `SplashOutputDev::unsetSoftMaskFromImageMask(GfxState*, double*)'
CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer.cc.o:(.rodata._ZTV18BackgroundRenderer[vtable for BackgroundRenderer]+0x338): undefined reference to `SplashOutputDev::checkTransparencyGroup(GfxState*, bool)'
collect2: ld returned 1 exit status
make[2]: *** [pdf2htmlEX] Error 1
make[1]: *** [CMakeFiles/pdf2htmlEX.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment