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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -