linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] LinphoneProxyConfig - Incomplete type / Forward de


From: Kevin Cross
Subject: [Linphone-developers] LinphoneProxyConfig - Incomplete type / Forward declaration.
Date: Mon, 20 Sep 2010 13:09:29 -0400

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

reply via email to

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