Failed to initialize SDL

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

 



Hi,
     This issue got resolved for me.My mercurial copy of SDL is in fact up
to date. I updated my svn copy of PJSIP today after about a week and now
everything seems to work fine.

On Mon, Jul 2, 2012 at 3:48 PM, Sandeep Karanth <sandeepk.kdp at gmail.com>wrote:

> Hi,
>       Am too getting the same error when I try to build PJSIP with SDL on
> my ubuntu 12.04 machine. Meanwhile I did see a FAQ regarding this at
> http://wiki.libsdl.org/moin.cgi/FAQLinux . Any work around for this issue?
>
> On Thu, Mar 15, 2012 at 9:56 PM, Michal Matuga <matuga at microstep.sk>wrote:
>
>>  Allright, found the problem.****
>>
>> ** **
>>
>> After extending error message with SDL_GetError() I found, that SDL
>> failed to initialize because of no video device.****
>>
>> ** **
>>
>> Than I made investigation about this problem, and I found, that driver
>> fbcon was removed in SDL 1.3. I don`t see source for this driver in
>> src/video either.****
>>
>> ** **
>>
>> Question is, how to make some kind of workaround to make it work.****
>>
>> ** **
>>  ------------------------------
>>
>> *From:* pjsip-bounces at lists.pjsip.org [mailto:
>> pjsip-bounces at lists.pjsip.org] *On Behalf Of *Michal Matuga
>> *Sent:* Thursday, March 15, 2012 4:35 PM
>> *To:* pjsip at lists.pjsip.org
>> *Subject:* [pjsip] Failed to initialize SDL****
>>
>> ** **
>>
>> Hi,****
>>
>> ** **
>>
>> I tryied to cross compile pjsip 2.0 with video support for embedded ARM.
>> But when I run application, or pjsua, I`m getting this error.****
>>
>> ** **
>>
>> 20:55:17.983 ffmpeg_codecs.  ...The H263-1998 decoder is using base codec
>> (H263)****
>>
>> 20:55:17.983 ffmpeg_codecs.  ...The XVID codec is using base codec (MP4V)
>> ****
>>
>> 20:55:17.984 colorbar_dev.c  ...Colorbar video src initialized with 1
>> device(s):****
>>
>> 20:55:17.985 colorbar_dev.c  ... 0: Colorbar generator****
>>
>> 20:55:17.989      sdl_dev.c !Failed initializing SDL****
>>
>> SimpleBrowser: ../src/pjmedia-videodev/sdl_dev.c:523:
>> sdl_factory_destroy: Assertion `pj_list_empty(&sf->streams)' failed.****
>>
>> ** **
>>
>> What do you think can be a problem? This are my configures for SDL,
>> ffmpeg and pjsip  Thank you very much.****
>>
>> ** **
>>
>> SDL:****
>>
>> ./configure --prefix=/home/matuga/pjsip/compiled/
>> --exec-prefix=/home/matuga/pjsip/compiled/ --host=arm-linux
>> --disable-shared --enable-static --disable-video-x11 --disable-video-cocoa
>> --enable-video-directfb --disable-directx --disable-video-opengl
>> --disable-video-opengles****
>>
>> ** **
>>
>> Ffmpeg:****
>>
>> ./configure --prefix=/home/matuga/pjsip/compiled/ --enable-cross-compile
>> --enable-shared --disable-static --enable-memalign-hack  --arch=arm
>> --target-os=linux --cross-prefix=arm-linux-****
>>
>> ** **
>>
>> Pjsip:****
>>
>> ./configure --host="arm-linux" --prefix="/home/matuga/pjsip/compiled"
>> --disable-large-filter --disable-speex-aec --disable-l16-codec
>> --disable-g7221-codec --disable-speex-codec --disable-ilbc-codec
>> --disable-speex-aec CFLAGS="-I/home/matuga/pjsip/compiled/include/"
>> LDFLAGS="-L/home/matuga/pjsip/compiled/lib/"****
>>
>> ** **
>>
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>>
>


-- 
Regards,
Sandeep Karanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120703/6504a4c5/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux