Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Library not found

Library not found

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 4.7k 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.
  • L Offline
    L Offline
    laureon
    wrote on last edited by
    #1

    Hello =)

    I've just upgraded from Qt 5.0.2 to 5.1. When I try to build my project I got this.

    ld: warning: directory not found for option '-F/Users/laureon/Develop/Qt51//5.1.0/clang_64/qtbase/lib'
    ld: warning: directory not found for option '-F/Users/laureon/Develop/Qt51//5.1.0/clang_64/qtdeclarative/lib'
    ld: warning: directory not found for option '-F/Users/laureon/Develop/Qt51//5.1.0/clang_64/qtjsbackend/lib'
    ld: library not found for -lcryptopp
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make: *** [libplxFramework.1.0.0.dylib] Error 1
    18:33:02: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project plxFramework (kit: Desktop Qt 5.1.0 clang 64bit)
    When executing step 'Make'

    In my .pro I have

    INCLUDEPATH += /usr/local/include
    INCLUDEPATH += /usr/include

    LIBS += -L/usr/local/lib
    LIBS += -L/usr/lib

    LIBS += -lcryptopp -ltag

    I have an osx 10.8.4. XCode is installed with command line tools... It was everything fine until I uninstall 5.0.2 and install 5.1. can someone help me?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      ArcNexus
      wrote on last edited by
      #2

      Hi laureon:

      Check if it works:
      Open your .pro project in qt-creator text editor, right click and select add library item, disable windows and mac checks and search crypto library in your /usr/lib directory:

      In my case this is the result and it works fine:

      @unix:!macx: LIBS += -L$$PWD/../../../../usr/lib/ -lcryptopp@

      When we are one, we win

      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