linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Liblinphone Linking with Qt Creator


From: Georges Khoueiry
Subject: Re: [Linphone-developers] Liblinphone Linking with Qt Creator
Date: Wed, 31 Oct 2012 13:08:24 +0200

I tried  
 Try with something like that
LIBS += -L:/liblinphone-win32-3.5.99.0/lib/ \
    -llinphone \
    -lmediastreamer \
-lortpand 
I got : :-1: error: LNK1104: cannot open file 'linphone.lib'
I also tried the same but with -lliblinphone instead of -llinphone because the file is physically called liblinphone.dll.a
and also didn't work , same error.
I finally tried the following , no error linking , but back to the old error about not finding the symbols

LIBS += -L:/liblinphone-win32-3.5.99.0/lib/-lliblinphone \
    -L:/liblinphone-win32-3.5.99.0/lib/-llibmediastreamer \
    -L:/liblinphone-win32-3.5.99.0/lib/-llibortp

Je vous remercie pour votre temps et efforts , est-ce que vous suggeres une autre methode ou approche pour mon probleme ?
 

On Wed, Oct 31, 2012 at 12:56 PM, Diorcet Yann <address@hidden> wrote:
Hi,
Le 31/10/12 11:50, Georges Khoueiry a écrit :
Hello,
I'm trying to implement a Qt Gui for Linphone using Qt Creator,
I got hold of Liblinphone and added the following to my .pro :
INCLUDEPATH += liblinphone-win32-3.5.99.0/include/

          
LIBS += -L:/liblinphone-win32-3.5.99.0/lib/liblinphone.dll.a \
    -L:/liblinphone-win32-3.5.99.0/lib/libmediastreamer.dll.a \
    -L:/liblinphone-win32-3.5.99.0/lib/libortp.dll.a
Try with something like that
LIBS += -L:/liblinphone-win32-3.5.99.0/lib/ \
    -llinphone \
    -lmediastreamer \
    -lortp
The INCLUDEPATH works perfectly , I can include the .h files and call the functions , but what seems to be the problem is in linking the Libraries, I figured these are the proper libraries to link. Upon building the project I'm having the following error: LNK2019: unresolved external symbol _linphone_core_destroy , and for many other functions I've called. So I guess the problem is dynamically linking the libraries with the .h files so I'm not sure what to include in my project , or which libraries to add/link
I would appreciate any help I can get , thank you.
--
Georges Khoueiry 


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


--
Yann Diorcet


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




--
Georges Khoueiry 
 Software Engineer

 

| Boustany Bldg, Al Furs Street 35,
| PoBox 116-5509 Adlieh, Beirut, Lebanon


reply via email to

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