c++ - Cannot find library when building with Qt Creator -
i'm using ubuntu 12.04 64-bit.
i when building project receive error:
cannot find -lnspr
collect2: ld returned 1 exit status
the .pro file contains
libraries.path = /opt/my_dir libraries.files = \ engine/x64/libnspr.so \
why can't find library?
the workaround far - put libnspr.so /usr/lib/x86_64-linux-gnu directory.
from there linker picked library , build successful.
i understand it's not best way solve problem, constuctive criticism welcome.
Comments
Post a Comment