Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Static build dumpdoc - linker error jasper symbols



  • Hi,
    if i compile Qt5 it ends with a linker error:

    undefined reference to `_imp__jas_init'
    ...
    

    I'm not shure why this happens because the build command is:
    g++ ... -ljasper
    so it should be linked against jasper lib.
    I'm using msys2 Gnu Compiler.

    Thanks for help in advance,
    TinTin



  • This error comes up if you compile qt static with msys2 and some installed jasper package.
    Solution was uninstallation of jasper
    pacman -R mingw-w64-i686-jasper
    pacman -R mingw-w64-x86_64-jasper



  • This error comes up if you compile qt static with msys2 and some installed jasper package.
    Solution was uninstallation of jasper
    pacman -R mingw-w64-i686-jasper
    pacman -R mingw-w64-x86_64-jasper


Log in to reply