[Qt-interest] Library not found in project path
Markus Franke
Franke.M at sebakmt.com
Mon Aug 23 10:06:57 CEST 2010
It looks as if you were on Windows.
Maybe you should use "\" instead "/".
You can also try:
LIBS += lib\other\fftw\32\libfftw3-3.a
Hope this helps,
Markus
qt-interest-bounces at trolltech.com schrieb am 23.08.2010 09:48:48:
> I have the path / library
>
>
C:\Users\Matthias\Documents\Cpp\Examples\LaserPulse\lib\other\fftw\32\libfftw3-3.a
>
> with the pro file in
>
> C:\Users\Matthias\Documents\Cpp\Examples\LaserPulse\
>
> I want to load the library with
>
> CONFIG(debug, debug|release){
> LIBS += -Llib/other/fftw/32/ -lfftw3-3
> }
>
> message($${LIBS})
> gives Project MESSAGE: -Llib/other/fftw/32/ -lfftw3-3
>
> The compiler however complains that it is not there
> ld.exe: cannot find -lfftw3-3
>
> what am I doing wrong?
>
> This happens with all lib files in the project path, this is just an
example.
> Non relative paths to the libraries makes them link - but I do not want
to use any
> absolute path.
>
>
> Matthias
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
"Disclaimer: This message is intended only for the use of the individual
or entity to
which it is addressed and may contain information which is privileged,
confidential, proprietary,
or exempt from disclosure under applicable law. If you are not the
intended recipient or the person
responsible for delivering the message to the intended recipient, you are
strictly prohibited from
disclosing, distributing, copying, or in any way using this message. If
you have received this
communication in error, please notify the sender and destroy and delete
any copies you may have
received."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100823/5d9789fd/attachment.html
More information about the Qt-interest-old
mailing list