[Telepathy] Request for "Hello World" program for XMPP-Link-Local
Ajay Garg
ajaygargnsit at gmail.com
Mon May 7 04:20:01 PDT 2012
Thanks Danielle.
Almost there :)
I forgot to specify the exact link
http://cgit.freedesktop.org/telepathy/telepathy-doc/tree/docs/examples/glib_mc5_presence_app
Compiling "example.c" requires object for "connections-monitor.c" first.
So, using your technique on "connections-monitor.c", I get the following
dump ::
#####################################################################################################
[ajay at localhost telepathy]$ gcc -o connections-monitor `pkg-config --cflags
--libs telepathy-glib` connections-monitor.c
connections-monitor.c:4:25: fatal error: marshallers.h: No such file or
directory
compilation terminated.
#####################################################################################################
However, there isn't any "marshallers.h" at the link, nor is it immediately
apparent as to what (package) may contain this.
Any quick help in this regard ;-) ?
Thanks and Regards,
Ajay
On Mon, May 7, 2012 at 4:42 PM, Danielle Madeley <
danielle.madeley at collabora.co.uk> wrote:
> On Mon, 2012-05-07 at 16:38 +0530, Ajay Garg wrote:
> > Hi Danielle.
> >
> > I am trying the example given at your link.
> > I have been able to get the "includes" done, however, I don't know how to
> > figure out the libraries that need to be linked.
>
> Try: gcc -o blah `pkg-config --cflags --libs telepathy-glib` blah.c
>
> Note backticks ` not single quotes.
>
> --
> Danielle Madeley
> Senior Software Engineer, Collabora Ltd.
>
> www.collabora.co.uk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/telepathy/attachments/20120507/51b770a5/attachment.html>
More information about the telepathy
mailing list