[Top][All Lists]

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

Re: [Linphone-developers] Linphone C sdk

From: Sylvain Berfini
Subject: Re: [Linphone-developers] Linphone C sdk
Date: Tue, 27 Oct 2020 12:25:09 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1


Seems you need to learn about compiling a C program, because it works fine.

Here's how to do it (assuming you built the SDK in a build folder and that you are at the root of the linphone-sdk repository):

gcc liblinphone/coreapi/help/examples/C/helloworld.c -o helloworld -I build/linphone-sdk/desktop/include/ -Lbuild/linphone-sdk/desktop/lib64/ -llinphone -lmediastreamer

LD_LIBRARY_PATH=build-desktop/linphone-sdk/desktop/lib64/ ./helloworld


Sylvain Berfini
Software Engineer @ Belledonne Communications
Le 23/10/2020 à 14:51, Mathias Drapier a écrit :
For a project I need to create a C program on Ubuntu in order to be able to make SIP calls. But after several try I cannot install and run the hello-world.c program I get errors like : 
"undefined reference to` linphone_core_invite "...
Do you have a tutorial that explains how to install and use this library?

Thank you in advance, cordially DRAPIER Mathias

Linphone-developers mailing list

reply via email to

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