0

i'm developing app using QT Creator and external library - librachive. But i cant link it with my project. I have a library file libarchive.so.13.1.2 in my project folder, and this string in my .pro file:

LIBS += -L$$_PRO_FILE_PWD_ -llibarchive.so.13.1.2

And i have an error :-1: error: cannot find -llibarchive.so.13.1.2. I'd tried different filenames and symlinks. What i'm doing wrong?

4

1 回答 1

0

尝试这个

LIBS += -L$$_PRO_FILE_PWD_ -larchive.so.13.1.2
于 2013-10-18T16:13:05.053 回答