Hi, all:
How can I setup the .pro file to make sure I can link with those static libraries?
For instance, in my case, my compilation gave me the following error message
cannot find -lutils
cannot find -lutils
To copy to clipboard, switch view to plain text mode
In fact, there is a
libutils.a
libutils.a
To copy to clipboard, switch view to plain text mode
right there.
What's in my .pro file is like:
LIBS += -L/usr/local/lib \
-L../utils/bin/debug \
-lutils \
LIBS += -L/usr/local/lib \
-L../utils/bin/debug \
-lutils \
To copy to clipboard, switch view to plain text mode
Well, is
-lutils \
-lutils \
To copy to clipboard, switch view to plain text mode
the right way to link static libraries?
How to link those static libraries produced by my own code?
Cheers
JIA
Bookmarks