Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. failed to start app error 142 (taglib)

failed to start app error 142 (taglib)

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 670 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Marek
    wrote on last edited by aha_1980
    #1

    Hi
    I'm having troubles adding taglib to my project (on Windows of course, Linux works as usually).
    I have downloaded taglib sources from git and compiled it under Cygwin32, gcc version 7.3.0 (target: i686-pc-cygwin ?) using cmake.
    Static libtag.a was created, I believe it is 32 bit, when I execute
    dumpbin.exe /headers taglib/libtag.a | grep -i machine
    I have got:
    14C machine (x86)
    In Qt I'm using Qt 5.11.1 MinGW 32Bit so it should work ?
    Compilation ends with error:
    recipe for target 'release/lib-test.exe' failed
    and there is popup saying:
    The application was unable to start correctly (0x000000142)

    can comeone help?
    Best,
    Marek

    [Edit ~aha_1980: Fixed typo tablib -> taglib]

    aha_1980A 1 Reply Last reply
    0
    • M Marek

      Hi
      I'm having troubles adding taglib to my project (on Windows of course, Linux works as usually).
      I have downloaded taglib sources from git and compiled it under Cygwin32, gcc version 7.3.0 (target: i686-pc-cygwin ?) using cmake.
      Static libtag.a was created, I believe it is 32 bit, when I execute
      dumpbin.exe /headers taglib/libtag.a | grep -i machine
      I have got:
      14C machine (x86)
      In Qt I'm using Qt 5.11.1 MinGW 32Bit so it should work ?
      Compilation ends with error:
      recipe for target 'release/lib-test.exe' failed
      and there is popup saying:
      The application was unable to start correctly (0x000000142)

      can comeone help?
      Best,
      Marek

      [Edit ~aha_1980: Fixed typo tablib -> taglib]

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi @Marek,

      So if I understand you correctly, you have build taglib with Cygwin-gcc and your program win MinGW?

      Have you already found this stackoverflow question?

      They propose to add -DTAGLIB_STATIC when compiling your app.

      Regards

      Qt has to stay free or it will die.

      M 2 Replies Last reply
      1
      • aha_1980A aha_1980

        Hi @Marek,

        So if I understand you correctly, you have build taglib with Cygwin-gcc and your program win MinGW?

        Have you already found this stackoverflow question?

        They propose to add -DTAGLIB_STATIC when compiling your app.

        Regards

        M Offline
        M Offline
        Marek
        wrote on last edited by
        #3

        @aha_1980 I haven't, let me check it

        1 Reply Last reply
        0
        • aha_1980A aha_1980

          Hi @Marek,

          So if I understand you correctly, you have build taglib with Cygwin-gcc and your program win MinGW?

          Have you already found this stackoverflow question?

          They propose to add -DTAGLIB_STATIC when compiling your app.

          Regards

          M Offline
          M Offline
          Marek
          wrote on last edited by
          #4

          @aha_1980 now I have 100+ errors like undefined reference to '__dso_handle' from libtag.a so I assume it won't work with libtag.a compiled by gcc.
          The example you provided was with cmake using mingw to compile.

          Best,
          Marek

          aha_1980A 1 Reply Last reply
          0
          • M Marek

            @aha_1980 now I have 100+ errors like undefined reference to '__dso_handle' from libtag.a so I assume it won't work with libtag.a compiled by gcc.
            The example you provided was with cmake using mingw to compile.

            Best,
            Marek

            aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @Marek

            ah, yes you are right. If I were you, I'd try to compile taglib with mingw too to avoid incompatibilities.

            My gut feeling is, that you cannot exchange libs between mingw and cygwin-gcc

            Qt has to stay free or it will die.

            1 Reply Last reply
            2

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved