|
From: | Georges Khoueiry |
Subject: | Re: [Linphone-developers] Fwd: Re: Liblinphone Linking with Qt Creator |
Date: | Wed, 31 Oct 2012 14:26:21 +0200 |
-------- Message original --------
Sujet: Re: [Linphone-developers] Liblinphone Linking with Qt Creator Date : Wed, 31 Oct 2012 13:48:58 +0200 De : Georges Khoueiry <address@hidden> Pour : address@hidden
Apparently I was using mvcc , and the switch to mingw32 made it work!thank you , your help is greatly appreciated !
On Wed, Oct 31, 2012 at 1:17 PM, Diorcet Yann <address@hidden> wrote:
Le 31/10/12 12:08, Georges Khoueiry a écrit :
Which compiler did you use? mingw32 or mvcc?I triedTry with something like that
LIBS += -L:/liblinphone-win32-3.5.99.0/lib/ \ -llinphone \-lmediastreamer \I got : :-1: error: LNK1104: cannot open file 'linphone.lib'-lortpandI also tried the same but with -lliblinphone instead of -llinphone because the file is physically called liblinphone.dll.aand 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 :
Try with something like thatHello,I got hold of Liblinphone and added the following to my .pro :I'm trying to implement a Qt Gui for Linphone using Qt Creator,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
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/linkI 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
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
--
Georges Khoueiry
--
Georges Khoueiry
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
[Prev in Thread] | Current Thread | [Next in Thread] |