[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] Linphone-wx linking errors
From: |
Simon Morlat |
Subject: |
Re: [Linphone-developers] Linphone-wx linking errors |
Date: |
Wed, 23 May 2007 15:10:46 +0200 |
User-agent: |
KMail/1.9.5 |
Hi,
You are surely linking against a mediastreamer2 that wasn't compiled with
video support. or maybe just src/videostream.c was not included in the
project.
Are you using mediastreamer2 from cvs ? It is recommended.
Compiling with mediastreamer2.dev in win32native with wxdev-cpp works fine for
me.
Simon
Le mardi 22 mai 2007 17:52, António Saragga Seabra a écrit :
> Hi,
>
> Im trying to compile Linphone-wx in windows and getting the LINK errors
> shown bellow. The link error undefined references are actually defined in
> lines 119128 of the header file mediastreamer2/mediastream.h. I compiled
> mediastreamer2 as static using MSVC++ win32native project (to compile had
> to replace inline by __inline in some ffmpeg header files) and all the rest
> Linphone subparts and dependencies (libtheora, libogg, libspeex,
> libavcodec,libresample) also as static libraries using GCC / wxDev-C++.
>
> These linking errors are somewhat puzzling since all audio related
> functions defined in the same header file mediastream.h, like
> audio_stream_new() for example, dont give any error messages when linking.
>
> If I could get a helping hand it would be great!
>
>
>
> liblinphone.a(linphonecore.o): In function
> `linphone_core_init_media_streams':
>
> /coreapi/linphonecore.c:1183: undefined reference to `video_stream_new'
>
>
>
> liblinphone.a(linphonecore.o): In function
> `linphone_core_start_media_streams':
>
> /coreapi/linphonecore.c:1236: undefined reference to `video_preview_stop'
>
> /coreapi/linphonecore.c:1244: undefined reference to `video_stream_start'
>
> /coreapi/linphonecore.c:1247: undefined reference to
> video_stream_set_rtcp_information'
>
>
>
> /liblinphone.a(linphonecore.o): In function
> `linphone_core_stop_media_streams':
>
> /coreapi/linphonecore.c:1266: undefined reference to `video_stream_stop'
>
> /coreapi/linphonecore.c:1271: undefined reference to `video_preview_start'
>
>
>
> /liblinphone.a(linphonecore.o): In function `toggle_video_preview':
>
> /coreapi/linphonecore.c:1665: undefined reference to `video_preview_start'
>
> /coreapi/linphonecore.c:1669: undefined reference to `video_preview_stop'
>
>
>
> /liblinphone.a(linphonecore.o): In function `linphone_core_uninit':
>
> /coreapi/linphonecore.c:1886: undefined reference to `video_preview_stop'
>
>
>
> /libmediastreamer2.a(./debug/mscommon.obj):: undefined
> reference to `_RTC_CheckEsp'
>
> /libmediastreamer2.a(./debug/mscommon.obj):: undefined reference to
> `_RTC_Shutdown'
>
> . . .
>
>
> Many thanks
> Antonio