[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] Bug in Library Linking GUI?
|
Hi Douglass,
We recently removed the "Browse" button in that case, because what the
-l switch wants in this case is just the name of the library - e.g. png.
Try putting png in the Libraries field and adding /user/lib to the
library directories.
Regards,
Leo
-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Douglass Turner
Sent: Wednesday, July 13, 2005 2:16 PM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] Bug in Library Linking GUI?
Platform: WinXP + Cygwin.
I have successfully built and run a C++ project using Eclipse/CDT. I
now want to link to an external library (libpng.a residing in
/user/lib under Cygwin) to extend functionality.
I tried to link to libpng.a thusly:
Project -> Properties -> C/C++ Build -> Tool Settings -> GCC C++
Linker -> Libraries
When I click "Add" in the Libraries (-l) dialog and navigate to
/usr/lib/libpng.a to select it, the dialog sees NO libraries. Nuthin.
Zilch. CDT appears blind to the contents of that or any other
directory containing ".a" files.
Have I found a bug?
Cheers,
Douglass
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev