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. cannot find -ltag error
Forum Updated to NodeBB v4.3 + New Features

cannot find -ltag error

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 2.0k 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
    mehrdad
    wrote on last edited by
    #1

    hi,i dl a open-source project and compile it and this errors hapeen to me

    Issues :
    cannot find -ltag
    collect2: ld returned 1 exit status

    Compile Output:

    11:33:02: Running build steps for project music-player...
    11:33:02: Configuration unchanged, skipping qmake step.
    11:33:02: Starting: "C:\Qt\qtcreator-2.4.0\mingw\bin\mingw32-make.exe"
    C:/Qt/qtcreator-2.4.0/mingw/bin/mingw32-make.exe -f Makefile.Debug
    mingw32-make.exe[1]: Entering directory C:/Users/mehrdad/Desktop/scnat-scnats-music-player-master/music-player-build-desktop-Qt_4_8_0__4_8_0__Debug' g++ -mthreads -Wl,-subsystem,windows -o debug\music-player.exe debug/main.o debug/playercontroller.o debug/model.o debug/moc_playercontroller.o debug/moc_model.o -L"c:\Qt\4.8.0\lib" -ltag -lmingw32 -lqtmaind -lQtDeclaratived4 -lphonond4 -lQtGuid4 -lQtCored4 mingw32-make.exe[1]: Leaving directory C:/Users/mehrdad/Desktop/scnat-scnats-music-player-master/music-player-build-desktop-Qt_4_8_0__4_8_0__Debug'
    c:/qt/qtcreator-2.4.0/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -ltag
    collect2: ld returned 1 exit status
    mingw32-make.exe[1]: *** [debug\music-player.exe] Error 1
    mingw32-make.exe: *** [debug] Error 2
    11:33:02: The process "C:\Qt\qtcreator-2.4.0\mingw\bin\mingw32-make.exe" exited with code 2.
    Error while building project music-player (target: Desktop)
    When executing build step 'Make'

    can u help me?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      learningqt
      wrote on last edited by
      #2

      i am guessing this is a Music or Media player based project and has a dependence for taglib. you have to get taglib.
      http://taglib.github.com/

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mehrdad
        wrote on last edited by
        #3

        yes it is...but i do it before ...

        1 Reply Last reply
        0
        • L Offline
          L Offline
          learningqt
          wrote on last edited by
          #4

          -working on Windows or Linux??- ..got it Widows..hmmm

          1 Reply Last reply
          0
          • L Offline
            L Offline
            learningqt
            wrote on last edited by
            #5

            Is taglib working in windows??? have you checked it

            1 Reply Last reply
            0

            • Login

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