Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Hot to use libcryptopp und QT project under MacOS X

    Installation and Deployment
    1
    1
    512
    Loading More Posts
    • 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.
    • D
      DavidXanatos last edited by

      Hi,

      I have a huge problem with MacOS X 10.10

      So when I compile crypto++ i get eider a "so" file or a "a" file,
      now when i try to compile my project with the following line

      unix:QMAKE_LFLAGS += -Wl,-rpath,'$$ORIGIN'

      i get a strange error
      ld: can't map file, errno=22 file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk' for architecture x86_64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)

      if i remove the line i get linker errors it cant find anythiong the library exports :/

      i have ofcause added
      LIBS += -L$$OUT_PWD/../../NeoLoader/crypto++/
      LIBS += -lcryptopp

      so it seams without rpath i cant compile with a so library, and with it i get an strang error

      on an older mac with an older xcode and an older qt all that worked just fine with the rpath

      please help me solve this issie

      1 Reply Last reply Reply Quote 0
      • First post
        Last post