Error when compiling with static library



  • Hello,

    I'm still working with Poppler and I can't understand something.

    I build Poppler and dependencies for architecture arm7v, armv7s & arm64 in dynamic library and static library.

    I discover that a dynamic library can't be used on iOS, it seems that the application try to use dynamic library which is on the desktop and not on iPhone.

    So the solution is to use a static library which will contain everything.

    But I have this issue that I can't understand because everything is under a good architecture :

    Undefined symbols for architecture arm64:
      "PageTransition::~PageTransition()", referenced from:
          Poppler::PageTransitionData::~PageTransitionData() in libpoppler-qt5.a(libpoppler_qt5_la-poppler-page-transition.o)
      "GlobalParams::GlobalParams(char const*)", referenced from:
          Poppler::DocumentData::init() in libpoppler-qt5.a(libpoppler_qt5_la-poppler-private.o)
      "PDFDoc::~PDFDoc()", referenced from:
          Poppler::DocumentData::~DocumentData() in libpoppler-qt5.a(libpoppler_qt5_la-poppler-private.o)
      "GlobalParams::~GlobalParams()", referenced from:
          Poppler::DocumentData::~DocumentData() in libpoppler-qt5.a(libpoppler_qt5_la-poppler-private.o)
      "typeinfo for OutputDev", referenced from:
          typeinfo for ArthurOutputDev in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "OutputDev::cvtUserToDev(double, double, int*, int*)", referenced from:
          vtable for ArthurOutputDev in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "OutputDev::unsetSoftMaskFromImageMask(GfxState*, double*)", referenced from:
          vtable for ArthurOutputDev in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "OutputDev::drawMaskedImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, Stream*, int, int, bool, bool)", referenced from:
          vtable for ArthurOutputDev in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "OutputDev::drawSoftMaskedImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, Stream*, int, int, GfxImageColorMap*, bool)", referenced from:
          vtable for ArthurOutputDev in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "OutputDev::beginMarkedContent(char*, Dict*)", referenced from:
          vtable for ArthurOutputDev in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "OutputDev::opiBegin(GfxState*, Dict*)", referenced from:
          vtable for ArthurOutputDev in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "OutputDev::opiEnd(GfxState*, Dict*)", referenced from:
          vtable for ArthurOutputDev in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "GfxFontLoc::~GfxFontLoc()", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "SplashFontFileID::~SplashFontFileID()", referenced from:
          SplashOutFontFileID::~SplashOutFontFileID() in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "OutputDev::endMarkedContent(GfxState*)", referenced from:
          vtable for ArthurOutputDev in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "vtable for OutputDev", referenced from:
          OutputDev::OutputDev() in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
          OutputDev::~OutputDev() in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
      "FoFiTrueType::load(char*, int)", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "PopplerCache::PopplerCache(int)", referenced from:
          OutputDev::OutputDev() in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "ImageStream::ImageStream(Stream*, int, int, int)", referenced from:
          ArthurOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, int*, bool) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "FileSpec::~FileSpec()", referenced from:
          Poppler::EmbeddedFileData::~EmbeddedFileData() in libpoppler-qt5.a(libpoppler_qt5_la-poppler-embeddedfile.o)
      "OutputDev::startProfile()", referenced from:
          vtable for ArthurOutputDev in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "setErrorCallback(void (*)(void*, ErrorCategory, long long, char*), void*)", referenced from:
          Poppler::DocumentData::init() in libpoppler-qt5.a(libpoppler_qt5_la-poppler-private.o)
      "OutputDev::markPoint(char*)", referenced from:
          vtable for ArthurOutputDev in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "GfxImageColorMap::getRGBLine(unsigned char*, unsigned int*, int)", referenced from:
          ArthurOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, int*, bool) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, bool, bool, bool, int, int, int, int, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool)", referenced from:
          Poppler::Page::renderToPainter(QPainter*, double, double, int, int, int, int, Poppler::Page::Rotation, QFlags<Poppler::Page::PainterFlag>) const in libpoppler-qt5.a(libpoppler_qt5_la-poppler-page.o)
      "SplashFontEngine::loadOpenTypeT1CFont(SplashFontFileID*, SplashFontSrc*, char const**)", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "SplashFontEngine::loadCIDFont(SplashFontFileID*, SplashFontSrc*)", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "GfxFont::readEmbFontFile(XRef*, int*)", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "ImageStream::~ImageStream()", referenced from:
          ArthurOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, int*, bool) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "SplashPath::~SplashPath()", referenced from:
          ArthurOutputDev::drawChar(GfxState*, double, double, double, double, double, double, unsigned int, int, unsigned int*, int) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "SplashFontEngine::getFontFile(SplashFontFileID*)", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "GfxCIDFont::getCodeToGIDMap(FoFiTrueType*, int*)", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "OutputDev::endProfile()", referenced from:
          vtable for ArthurOutputDev in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "SplashFontSrc::setFile(GooString*, bool)", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "ImageStream::getLine()", referenced from:
          ArthurOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, int*, bool) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "SplashFontSrc::setBuf(char*, int, bool)", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "Gfx8BitFont::getCodeToGIDMap(FoFiTrueType*)", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "PDFDoc::PDFDoc(BaseStream*, GooString*, GooString*, void*)", referenced from:
          Poppler::DocumentData::DocumentData(QByteArray const&, GooString*, GooString*) in libpoppler-qt5.a(libpoppler_qt5_la-poppler-document.o)
      "_gmallocn", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "PDFDoc::getPage(int)", referenced from:
          Poppler::Page::Page(Poppler::DocumentData*, int) in libpoppler-qt5.a(libpoppler_qt5_la-poppler-page.o)
      "SplashFontEngine::loadOpenTypeCFFFont(SplashFontFileID*, SplashFontSrc*, int*, int)", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "SplashFontEngine::getFont(SplashFontFile*, double*, double*)", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "SplashFontEngine::loadTrueTypeFont(SplashFontFileID*, SplashFontSrc*, int*, int, int)", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "error(ErrorCategory, long long, char const*, ...)", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "FoFiTrueType::make(char*, int, int)", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "OutputDev::setDefaultCTM(double*)", referenced from:
          vtable for ArthurOutputDev in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "SplashFontEngine::loadType1CFont(SplashFontFileID*, SplashFontSrc*, char const**)", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "GfxFont::locateFont(XRef*, PSOutputDev*)", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "ImageStream::reset()", referenced from:
          ArthurOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, int*, bool) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "SplashFontEngine::~SplashFontEngine()", referenced from:
          ArthurOutputDev::~ArthurOutputDev() in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
          ArthurOutputDev::startDoc(XRef*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "SplashFontFileID::SplashFontFileID()", referenced from:
          SplashOutFontFileID::SplashOutFontFileID(Ref*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "OutputDev::markPoint(char*, Dict*)", referenced from:
          vtable for ArthurOutputDev in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "_globalParams", referenced from:
          ArthurOutputDev::startDoc(XRef*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
          Poppler::DocumentData::~DocumentData() in libpoppler-qt5.a(libpoppler_qt5_la-poppler-private.o)
          Poppler::DocumentData::init() in libpoppler-qt5.a(libpoppler_qt5_la-poppler-private.o)
      "GooString::GooString(char const*)", referenced from:
          Poppler::Document::loadFromData(QByteArray const&, QByteArray const&, QByteArray const&) in libpoppler-qt5.a(libpoppler_qt5_la-poppler-document.o)
      "GlobalParams::getEnableFreeType()", referenced from:
          ArthurOutputDev::startDoc(XRef*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "typeinfo for SplashFontFileID", referenced from:
          typeinfo for SplashOutFontFileID in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "OutputDev::cvtDevToUser(double, double, double*, double*)", referenced from:
          vtable for ArthurOutputDev in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "SplashFontEngine::SplashFontEngine(bool, bool, bool, bool)", referenced from:
          ArthurOutputDev::startDoc(XRef*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "MemStream::MemStream(char*, long long, long long, Object*)", referenced from:
          Poppler::DocumentData::DocumentData(QByteArray const&, GooString*, GooString*) in libpoppler-qt5.a(libpoppler_qt5_la-poppler-document.o)
      "SplashFontSrc::unref()", referenced from:
          ArthurOutputDev::updateFont(GfxState*) in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "Catalog::getEmbeddedFileNameTree()", referenced from:
          Catalog::numEmbeddedFiles() in libpoppler-qt5.a(libpoppler_qt5_la-poppler-document.o)
      "OutputDev::setSoftMaskFromImageMask(GfxState*, Object*, Stream*, int, int, bool, bool, double*)", referenced from:
          vtable for ArthurOutputDev in libpoppler-qt5.a(libpoppler_qt5_la-ArthurOutputDev.o)
      "Catalog::embeddedFile(int)", referenced from:
          Poppler::DocumentData::fillMembers() in libpoppler-qt5.a(libpoppler_qt5_la-poppler-document.o)
    
    ** BUILD FAILED **
    
    
    The following build commands failed:
    	Ld AndroidTest.build/Debug-iphoneos/AndroidTest.build/Objects-normal/armv7/AndroidTest normal armv7
    (1 failure)
    make: *** [xcodebuild-debug-iphoneos] Error 65
    16:27:19: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project AndroidTest (kit: iphoneos-clang Qt 5.6.0 (ios))
    When executing step "Make"
    

    Here is a file of libpoppler-qt5.a :

    file libpoppler-qt5.a
    libpoppler-qt5.a: Mach-O universal binary with 3 architectures
    libpoppler-qt5.a (for architecture armv7):	current ar archive random library
    libpoppler-qt5.a (for architecture armv7s):	current ar archive random library
    libpoppler-qt5.a (for architecture arm64):	current ar archive random library
    

    Here is how I added the static library :

    ios {
        QMAKE_IOS_DEPLOYMENT_TARGET = 9.3
        INCLUDEPATH += /Users/dev/env/poppler/poppler-0.42-iOS/buildiOS/include/poppler/qt5
        LIBS += /Users/dev/env/poppler/poppler-0.42-iOS/buildiOS/lib/libpoppler-qt5.a
    }
    

    If I have any idea of what I did wrong, tell me.

    Thanks for your help


  • Lifetime Qt Champion

    Hi,

    Aren't you missing a -l in your LIBS line ?



  • @SGaist I tried earlier and other thing like u said but it doesn't work.

    If I do this :

    LIBS += -l/Users/dev/env/poppler/poppler-0.42-iOS/buildiOS/lib/libpoppler-qt5.a
    

    or one of this :

    LIBS += -l/Users/dev/env/poppler/poppler-0.42-iOS/buildiOS/lib -lpoppler-qt5.a
    LIBS += -L/Users/dev/env/poppler/poppler-0.42-iOS/buildiOS/lib -lpoppler-qt5.a
    

    The library can't be found with this use.

    But if I do this :

    LIBS += /Users/dev/env/poppler/poppler-0.42-iOS/buildiOS/lib/libpoppler-qt5.a
    

    The library is found but there is error : symbol(s) not found for architecture arm64. But libpoppler-qt5.a is built for arm64 as I write earlier.

    Thanks for your answer

    EDIT 1 :

    Why I try to use a dynamic library, this is what I have :

    Starting remote process.
    
    program received signal 5, thread:20bd7;00:30a3122001000000;01:0100000000000000;02:e1ffffffffffffff;03:e1a3122001000000;04:40ff122001000000;05:1000000000000000;06:0000000000000000;07:8005000000000000;08:0080122001000000;09:0080122001000000;0a:20696d616765206e;0b:6f7420666f756e64;0c:64546573740a2020;0d:526561736f6e3a20;0e:696d616765206e6f;0f:7420666f756e6400;10:0400000000000000;11:f8a8dd6f01000000;12:0000000000000000;13:e0fd122001000000;14:30a3122001000000;15:0200000000000000;16:e0fd122001000000;17:48c3122001000000;18:0200000000000000;19:0040020001000000;1a:289a122001000000;1b:d89c122001000000;1c:0000000000000000;1d:80aadd6f01000000;1e:fcbe0f2001000000;1f:60aadd6f01000000;20:88900f2001000000;21:00000080;metype:6;mecount:2;medata:1;medata:1200f9088;memory:0x16fddaa80=b0bbdd6f01000000b8e10f2001000000;memory:0x16fddbbb0=d0bbdd6f0100000044900f2001000000;
    
    program received signal 5, thread:20bd7;00:30a3122001000000;01:0100000000000000;02:e1ffffffffffffff;03:e1a3122001000000;04:40ff122001000000;05:1000000000000000;06:0000000000000000;07:8005000000000000;08:0080122001000000;09:0080122001000000;0a:20696d616765206e;0b:6f7420666f756e64;0c:64546573740a2020;0d:526561736f6e3a20;0e:696d616765206e6f;0f:7420666f756e6400;10:0400000000000000;11:f8a8dd6f01000000;12:0000000000000000;13:e0fd122001000000;14:30a3122001000000;15:0200000000000000;16:e0fd122001000000;17:48c3122001000000;18:0200000000000000;19:0040020001000000;1a:289a122001000000;1b:d89c122001000000;1c:0000000000000000;1d:80aadd6f01000000;1e:fcbe0f2001000000;1f:60aadd6f01000000;20:88900f2001000000;21:00000080;metype:6;mecount:2;medata:1;medata:1200f9088;memory:0x16fddaa80=b0bbdd6f01000000b8e10f2001000000;memory:0x16fddbbb0=d0bbdd6f0100000044900f2001000000;
    
    dyld: Library not loaded: /Users/dev/env/poppler/poppler-0.42-iOS/buildiOS/lib/libpoppler-qt5.1.dylib
    
    Referenced from: /var/containers/Bundle/Application/D268E63C-D87A-46E2-A889-45A31CD145AC/AndroidTest.app/AndroidTest
    
    Reason: image not found
    
    program received signal 5, thread:20bd7;00:30a3122001000000;01:0100000000000000;02:e1ffffffffffffff;03:e1a3122001000000;04:40ff122001000000;05:1000000000000000;06:0000000000000000;07:8005000000000000;08:0080122001000000;09:0080122001000000;0a:20696d616765206e;0b:6f7420666f756e64;0c:64546573740a2020;0d:526561736f6e3a20;0e:696d616765206e6f;0f:7420666f756e6400;10:0400000000000000;11:f8a8dd6f01000000;12:0000000000000000;13:e0fd122001000000;14:30a3122001000000;15:0200000000000000;16:e0fd122001000000;17:48c3122001000000;18:0200000000000000;19:0040020001000000;1a:289a122001000000;1b:d89c122001000000;1c:0000000000000000;1d:80aadd6f01000000;1e:fcbe0f2001000000;1f:60aadd6f01000000;20:88900f2001000000;21:00000080;metype:6;mecount:2;medata:1;medata:1200f9088;memory:0x16fddaa80=b0bbdd6f01000000b8e10f2001000000;memory:0x16fddbbb0=d0bbdd6f0100000044900f2001000000;
    
    program received signal 5, thread:20bd7;00:30a3122001000000;01:0100000000000000;02:e1ffffffffffffff;03:e1a3122001000000;04:40ff122001000000;05:1000000000000000;06:0000000000000000;07:8005000000000000;08:0080122001000000;09:0080122001000000;0a:20696d616765206e;0b:6f7420666f756e64;0c:64546573740a2020;0d:526561736f6e3a20;0e:696d616765206e6f;0f:7420666f756e6400;10:0400000000000000;11:f8a8dd6f01000000;12:0000000000000000;13:e0fd122001000000;14:30a3122001000000;15:0200000000000000;16:e0fd122001000000;17:48c3122001000000;18:0200000000000000;19:0040020001000000;1a:289a122001000000;1b:d89c122001000000;1c:0000000000000000;1d:80aadd6f01000000;1e:fcbe0f2001000000;1f:60aadd6f01000000;20:88900f2001000000;21:00000080;metype:6;mecount:2;medata:1;medata:1200f9088;memory:0x16fddaa80=b0bbdd6f01000000b8e10f2001000000;memory:0x16fddbbb0=d0bbdd6f0100000044900f2001000000;
    
    program received signal 5, thread:20bd7;00:30a3122001000000;01:0100000000000000;02:e1ffffffffffffff;03:e1a3122001000000;04:40ff122001000000;05:1000000000000000;06:0000000000000000;07:8005000000000000;08:0080122001000000;09:0080122001000000;0a:20696d616765206e;0b:6f7420666f756e64;0c:64546573740a2020;0d:526561736f6e3a20;0e:696d616765206e6f;0f:7420666f756e6400;10:0400000000000000;11:f8a8dd6f01000000;12:0000000000000000;13:e0fd122001000000;14:30a3122001000000;15:0200000000000000;16:e0fd122001000000;17:48c3122001000000;18:0200000000000000;19:0040020001000000;1a:289a122001000000;1b:d89c122001000000;1c:0000000000000000;1d:80aadd6f01000000;1e:fcbe0f2001000000;1f:60aadd6f01000000;20:88900f2001000000;21:00000080;metype:6;mecount:2;medata:1;medata:1200f9088;memory:0x16fddaa80=b0bbdd6f01000000b8e10f2001000000;memory:0x16fddbbb0=d0bbdd6f0100000044900f2001000000;
    
    program received signal 5, thread:20bd7;00:30a3122001000000;01:0100000000000000;02:e1ffffffffffffff;03:e1a3122001000000;04:40ff122001000000;05:1000000000000000;06:0000000000000000;07:8005000000000000;08:0080122001000000;09:0080122001000000;0a:20696d616765206e;0b:6f7420666f756e64;0c:64546573740a2020;0d:526561736f6e3a20;0e:696d616765206e6f;0f:7420666f756e6400;10:0400000000000000;11:f8a8dd6f01000000;12:0000000000000000;13:e0fd122001000000;14:30a3122001000000;15:0200000000000000;16:e0fd122001000000;17:48c3122001000000;18:0200000000000000;19:0040020001000000;1a:289a122001000000;1b:d89c122001000000;1c:0000000000000000;1d:80aadd6f01000000;1e:fcbe0f2001000000;1f:60aadd6f01000000;20:88900f2001000000;21:00000080;metype:6;mecount:2;medata:1;medata:1200f9088;memory:0x16fddaa80=b0bbdd6f01000000b8e10f2001000000;memory:0x16fddbbb0=d0bbdd6f0100000044900f2001000000;
    
    program received signal 5, thread:20bd7;00:30a3122001000000;01:0100000000000000;02:e1ffffffffffffff;03:e1a3122001000000;04:40ff122001000000;05:1000000000000000;06:0000000000000000;07:8005000000000000;08:0080122001000000;09:0080122001000000;0a:20696d616765206e;0b:6f7420666f756e64;0c:64546573740a2020;0d:526561736f6e3a20;0e:696d616765206e6f;0f:7420666f756e6400;10:0400000000000000;11:f8a8dd6f01000000;12:0000000000000000;13:e0fd122001000000;14:30a3122001000000;15:0200000000000000;16:e0fd122001000000;17:48c3122001000000;18:0200000000000000;19:0040020001000000;1a:289a122001000000;1b:d89c122001000000;1c:0000000000000000;1d:80aadd6f01000000;1e:fcbe0f2001000000;1f:60aadd6f01000000;20:88900f2001000000;21:00000080;metype:6;mecount:2;medata:1;medata:1200f9088;memory:0x16fddaa80=b0bbdd6f01000000b8e10f2001000000;memory:0x16fddbbb0=d0bbdd6f0100000044900f2001000000;
    
    program received signal 5, thread:20bd7;00:30a3122001000000;01:0100000000000000;02:e1ffffffffffffff;03:e1a3122001000000;04:40ff122001000000;05:1000000000000000;06:0000000000000000;07:8005000000000000;08:0080122001000000;09:0080122001000000;0a:20696d616765206e;0b:6f7420666f756e64;0c:64546573740a2020;0d:526561736f6e3a20;0e:696d616765206e6f;0f:7420666f756e6400;10:0400000000000000;11:f8a8dd6f01000000;12:0000000000000000;13:e0fd122001000000;14:30a3122001000000;15:0200000000000000;16:e0fd122001000000;17:48c3122001000000;18:0200000000000000;19:0040020001000000;1a:289a122001000000;1b:d89c122001000000;1c:0000000000000000;1d:80aadd6f01000000;1e:fcbe0f2001000000;1f:60aadd6f01000000;20:88900f2001000000;21:00000080;metype:6;mecount:2;medata:1;medata:1200f9088;memory:0x16fddaa80=b0bbdd6f01000000b8e10f2001000000;memory:0x16fddbbb0=d0bbdd6f0100000044900f2001000000;
    
    hit maximum number of consecutive signals, stopping
    

  • Lifetime Qt Champion

    Aren't those missing functions from dependencies of poppler ?



  • @SGaist After rebuilt each dependencies and testing each one on a project, it seems that it's a problem about methods which are inside of Poppler's object.

    Example :

    Poppler::Document * document = nullptr;
    
    
    Poppler::Document * document = Poppler::Document::loadFromData(data);
    

    The first line works at compilation & execution.
    The second line doesn't work at compilation, no symbol(s) for architecture ...

    What is your opinion about this ? Do you think that it's impossible to use this library for armv7 / arm64 ?

    Or, maybe, there is still an error somewhere about a bad architecture.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.