logo

Could not compile stylesheet for simplistic. Using last compiled stylesheet.
0
The libraries libSDL_Cbs, libSDL_image, libSDL_mixer, libSDL_net, libSDL_rtf and libSDL_ttf are not integrated to be built by Yocto Poky. These library sources are available to be downloaded here:

==> http://www.libsdl.org/projects/

It would be nice to have bitbake recipes available to automate the building of all these libraries by Yocto Poky.

Thanks in advance!!

Accepted Answer

Friday, August 31 2012, 04:31 PM - #permalink
0
Seems libsdl depends on pulse libraries, pulseaudio libraries are not available in IGEP SDK. OTOH, Pulseaudio recipes are available in current denzil branch (meta/recipes-multimedia/pulseaudio/) so you can try to bitbkae pulseaudio and compile libsdl against these libraries.
The reply is currently minimized Show
Responses (4)
  • Accepted Answer

    Wednesday, August 29 2012, 11:22 AM - #permalink
    0
    Just for reference, here I found some working recipes:

    ==> http://cgit.openembedded.org/openembedd ... es/libsdl/

    To make that recipes work under Yocto, you have to add this line into .bb files:

    LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 30 2012, 02:49 PM - #permalink
    0
    To develop under opengles, I need the library libsdl-gles working into the target. This library is provided here:

    ==> https://github.com/Cpasjuste/sdl-1.2.13_gles.git

    But I haven't found any bitbake recipe to build it under Yocto Poky. So first I have tried to compile it from scratch using Poky Yocto SDK.

    I configured it as expected:

    ./configure --prefix=/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi --host=arm-poky-linux-gnueabi --build=i686-pc-linux-gnu ... [some flags enabled or disabled]

    And then I 'make' it. But the process fails with this error:

    libtool: link: warning: library `/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/lib//libpulse-simple.la' was moved.
    ./libtool: line 3233: cd: =/usr/lib: No such file or directory
    libtool: link: warning: cannot determine absolute directory name of `=/usr/lib'
    grep: =/usr/lib/libpulse.la: No such file or directory
    /bin/sed: can't read =/usr/lib/libpulse.la: No such file or directory
    libtool: link: `=/usr/lib/libpulse.la' is not a valid libtool archive
    make: *** [build/libSDL.la] Error 1

    It seems some problem with libtool, because "=/usr/lib" is not a correct directory (char equal shouldn't be there...). Does some of you has solved this?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 31 2012, 11:54 AM - #permalink
    0
    This issue has been temporarily fixed, editing these two files:

    /opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/lib/{libpulse.la,libpulse-simple.la}

    and modifying 'dependency_libs' variable contents, first deleting all '=' chars, and second adding the prefix

    /opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi

    to every .la file.

    This is a temporal patch to enable the compilation of libsdl-gle library. But is not a clean solution for the problem. It would be nice to fix the real source of this problem.

    Thanks in advance.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, September 03 2012, 11:45 AM - #permalink
    0
    OK, that seems to work! Thanks! :)
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat