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. Hot to use libcryptopp und QT project under MacOS X

Hot to use libcryptopp und QT project under MacOS X

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 611 Views 1 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.
  • D Offline
    D Offline
    DavidXanatos
    wrote on last edited by
    #1

    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
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved