Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Undefined symbols for architecture x86_64 in MAC OSX 10.11
Forum Updated to NodeBB v4.3 + New Features

Undefined symbols for architecture x86_64 in MAC OSX 10.11

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 3 Posters 1.7k Views 2 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.
  • ironsniperI Offline
    ironsniperI Offline
    ironsniper
    wrote on last edited by
    #1

    hey everyone i am trying to compile a crypto coin wallet and am getting the following here and i cannot figureout how to fix it so it does not happen, i am using qt4 and qt creator to compile this

    Undefined symbols for architecture x86_64:
    "Db::verify(char const*, char const*, std::__1::basic_ostream<char, std::__1::char_traits<char> >, unsigned int)", referenced from:
    CDBEnv::Verify(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, bool (
    )(CDBEnv&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)) in db.o
    CDBEnv::Salvage(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, bool, std::__1::vector<std::__1::pair<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, std::__1::allocator<std::__1::pair<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > > >&) in db.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make: *** [thecreed-Qt.app/Contents/MacOS/thecreed-Qt] Error 1
    22:47:07: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project thecreed-qt (kit: Desktop)
    When executing step "Make"
    22:47:07: Elapsed time: 00:09.

    any help would be great

    BoosterB 1 Reply Last reply
    1
    • koronaboraK Offline
      koronaboraK Offline
      koronabora
      wrote on last edited by koronabora
      #2

      Are there 'Db' class inside a library or inside your code?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        Are you using C++11 ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        BoosterB 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