Library not found
-
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/includeLIBS += -L/usr/local/lib
LIBS += -L/usr/libLIBS += -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?
-
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@