Re: [Anjuta-list] installing libraries
- From: Konstantin Kozlov <kozlov spbcas ru>
- To: "Grizzly(Francis Smit)" <grizzly smit id au>
- Cc: anjuta-list lists sourceforge net, Johannes Schmid <jhs jsschmid de>
- Subject: Re: [Anjuta-list] installing libraries
- Date: Wed, 11 Mar 2009 08:47:37 +0300
Hi,
in short, you need to create the file in your project for library -
<library name>.pc and install it to $prefix/lib/pkgconfig. Look for
examples in /usr/lib/pkgconfig. It is possible to create a target in
Anjuta for that, or manualy edit Makefile.am.
Grizzly(Francis Smit) wrote:
Johannes Schmid wrote:
Hi!
You can only add libraries with "Add package" which are using
pkg-config. Normal libraries don't do that automaticly (have a look at
the pkg-config documentation how to archive this...). You can still add
the library to your project by adding "-I/path/to/header/files" to
CFLAGS and -lmylibrary to LDFLAGS in the target configuration
(right-click on target in project-window and choose properties).
See also the build tutorial on anjuta.org!
Thanks, um one more thing can you link me to the pkg-config
documentation, google is being unhelpful :( or is the man page enough ??
Regards,
Johannes
Am Mittwoch, den 11.03.2009, 09:27 +1100 schrieb Grizzly(Francis Smit):
Hi I made a library using anjuta then I installed it
sudo make install
but when I go to put it in my project anjuta->project->properties ...
Packages->Add Package I cannot find my package what am I doing wrong??
--
Konstantin Kozlov
Department of Computational Biology,
Center for Advanced Studies,
SPb State Polytechnical University,
195251, Polytechnicheskaya ul., 29,
bld 4, office 204,
St.Petersburg, Russia.
Tel./fax: +7 812 596 2831
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]