Re: [Anjuta-list] How to get Anjuta to include symbols from external libraries?



Hi Naba,

Thanks for the answer and encouragement. I think the problem must be with pkg-config on my system. Jack is supposed to use pkg-config. Here is the output from pkg-config:

frohro frohro-D610:/usr/include/jack$ pkg-config --cflags --libs jack
 -ljack -lpthread -lrt

Note that there are no include files included and when I do

frohro frohro-D610:/usr/include/jack$ pkg-config --cflags jack

frohro frohro-D610:/usr/include/jack$

I get a blank line. However I have a directory /usr/include/jack/ which has the following files:

frohro frohro-D610:/usr/include/jack$ ls /usr/include/jack
intclient.h jack.h midiport.h ringbuffer.h statistics.h thread.h timestamps.h transport.h types.h

The file /usr/lib/pkgconfig/jack.pc contains the following.

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: jack
Description: the Jack Audio Connection Kit: a low-latency synchronous callback-based media server
Version: 0.118.0
Libs: -L${libdir} -ljack -lpthread  -lrt
Cflags: -I${includedir}

Aha!  I need to make the includedir=${prefix}/include/jack!

Thanks,

Rob

On 05/31/2010 12:34 PM, Naba Kumar wrote:
Hi,

On Thu, May 27, 2010 at 9:22 PM, Rob Frohne<frohro wallawalla edu>  wrote:
Hi All,

I'm trying to get Anjuta to include the symbols from libjack (jackd in
synaptic).  I downloaded the source with:

Try 'apt-get install libjack-dev' and go to Preferences for symbol
database, instead. Assuming libjack uses pkgconfig, that's how it
works.

Regards,
-Naba

--
Rob Frohne, Ph.D., P.E.
E.F. Cross School of Engineering
Walla Walla University
100 SW 4th Street
College Place, WA 99324
(509) 527-2075			 http://people.wallawalla.edu/~rob.frohne

begin:vcard
fn:Rob Frohne
n:Frohne;Rob
org:Walla Walla University;Engineering
adr:;;100 SW 4th Street;College Place;WA;99324;USA
email;internet:rob frohne wallawalla edu
title:Professor
tel;work:509 527 2075
x-mozilla-html:FALSE
url:http://people.wallawalla.edu/~rob.frohne/
version:2.1
end:vcard



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]