Important: Please read the Qt Code of Conduct -

cannot find -ltag error

  • 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 directoryC:/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?

  • i am guessing this is a Music or Media player based project and has a dependence for taglib. you have to get taglib.

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

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

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

Log in to reply