04.10.2013, 21:54, "arnaud le roy" <[email protected]>: > thanks, > > now it compiles fine but i have some unresolved symbol in the final > linkage ! > > for exemple : > > WebCore.lib(JSRTCPeerConnection.obj) : error LNK2019: unresolved > external symbol "public: void __thiscall WebC > ore::RTCPeerConnection::getStats(class WTF::PassRefPtr<class > WebCore::RTCStatsCallback>,class WTF::PassRefPtr< > class WebCore::MediaStreamTrack>)" > (?getStats@RTCPeerConnection@WebCore@@QAEXV?$PassRefPtr@VRTCStatsCallback@W > ebCore@@@WTF@@V?$PassRefPtr@VMediaStreamTrack@WebCore@@@4@@Z) referenced > in function "__int64 __fastcall WebCo > re::jsRTCPeerConnectionPrototypeFunctionGetStats(class JSC::ExecState > *)" (?jsRTCPeerConnectionPrototypeFuncti > onGetStats@WebCore@@YI_JPAVExecState@JSC@@@Z) > > i have 67 unresolved symbol, maybe it is not enougth to include idl ? it > seems that all the resolved symbol is on media_stream dependency (i > attach the major unresolved symbol). > > have you an idea ?
You could have easily found (e.g. with git grep) that your missing symbol should be coming from Modules/mediastream/RTCPeerConnection.cpp. But files from WebCore/platform/mediastream are missing in WebCore/Target.pri. You should add them there. That should resolve linker error, however that may not be enough to get it working how you want. If you need working WebRTC implementation, you'll need non-dummy RTCPeerConnectionHandler implementation, and it's present only in Chromium port (platform/mediastream/chromium), so I'm afraid you will need a lot of work to integrate it. -- Regards, Konstantin _______________________________________________ webkit-qt mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-qt
