Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Linux build error with pugixml
Qt 6.11 is out! See what's new in the release blog

Linux build error with pugixml

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 297 Views
  • 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.
  • C Offline
    C Offline
    ChortleMortal
    wrote on last edited by
    #1

    I can build fine with qmake or cmake on Windows.
    On Linux I can build my app fine with qmake.
    But using cmake I get this error from linking with pugixml source

    /usr/bin/ld: CMakeFiles/TiledPatternMaker.dir/misc/pugixml.cpp.o: undefined reference to symbol '_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv@@GLIBCXX_3.4'
    /usr/bin/ld: /lib/x86_64-linux-gnu/libstdc++.so.6: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    

    Has anyone else had this problem, and how to fix 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