CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2020
    Posts
    1

    TagLib linking error Qt

    Hello programmers!

    I am builded TagLib 1.11.1 library with cmake for MinGW, installed it and connected to my Qt project:

    INCLUDEPATH += \
    "C:/Program Files (x86)/taglib/include/taglib" \

    LIBS += \
    -L"C:/Program Files (x86)/taglib/lib" -llibtag

    But after running my program i get following errors:
    In function `Z5qMainiPPc':
    undefined reference to `_imp___ZN6TagLib8FileNameC1EPKw'
    undefined reference to `_imp___ZN6TagLib7FileRefC1ENS_8FileNameEbNS_15AudioProperties9ReadStyleE'
    undefined reference to `_imp___ZN6TagLib7FileRefD1Ev'
    collect2.exe: error: ld returned 1 exit status

    What's wrong, please help!

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,395

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured