linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] LinphoneProxyConfig - Incomplete type / Forwar


From: Kevin Cross
Subject: Re: [Linphone-developers] LinphoneProxyConfig - Incomplete type / Forward declaration.
Date: Fri, 8 Oct 2010 16:45:59 -0400

Will test that.
That was the way it was done on linphone cli so I was following that example.

Thanks,
K

On Fri, Oct 8, 2010 at 11:40 AM, Simon Morlat <address@hidden> wrote:
That is normal.
You must use linphone_proxy_config_get_identity() to obtain the sip
identity address.

Simon

Le lundi 20 septembre 2010 à 13:09 -0400, Kevin Cross a écrit :
> Hello,
>
> I have encountered another issue while compiling a simple test app
> against linphone (git/master)
> -------
> #include <linphonecore.h>
>
> int main()
> {
>     LinphoneProxyConfig *cfg;
>     if(cfg->reg_identity) printf("reg_ident");
>     return 0;
> }
>
> ------------------
>
> $ g++ -I /usr/local/include/linphone test2.cpp
> test2.cpp: In function ‘int main()’:
> test2.cpp:6: error: invalid use of incomplete type ‘struct
> _LinphoneProxyConfig’
> /usr/local/include/linphone/sipsetup.h:33: error: forward declaration
> of ‘struct _LinphoneProxyConfig’
>
> Thanks,
> K
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers



_______________________________________________
Linphone-developers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

[Prev in Thread] Current Thread [Next in Thread]