When I've compiled emulator sources on FreeBSD I've got "SDL init
failure" with SDL that comes with emulator
and with standart SDL (in this case I was needed to remove some calls,
related to window position change).
I've added SDL_GetError() call to some significant error checks at
android_sdl.c.
So, traced error was related to incorrect requested by svgalib
resolution (i've widescreen notebook).
Other problem was with surface attributes, but I can't remember
correctly, what combination helped.
Setting manually other resolution helped to start emulator (showed
skin), but in my case It hangs later in code.
After all FreeBSD is not supported.
Just add this call for error checking and see problem. I really can't
understand, why it was not added by googlers,
it helps much to understand problems.
---
Best regards,
Alexey
On Jan 9, 6:47 pm, Digit <
digit.andr...@gmail.com> wrote:
> hello,
>
> since you recompiled, you may have noticed that the emulator comes with a
> statically linked vesion of the SDL library, used to process inputs and
> display windows in a cross-platform way. the "SDL Init Failure" message
> means that SDL_Init() failed, probably because it couldn't connect to your
> X11 Server, or because the SDL compiled into the emulator doesn't have
> support for X11 at all.
>
> the latter can happen if you don't have the Xlibs development package
> installed on your system when building the emulator. the SDL build doesn't
> fail, but the resulting library cannot display anything and SDL_Init(
> SDL_INIT_VIDEO ) would fail..
>
> if you didn't, simply install the packages, then rebuild the emulator with
> the provided script. if this doesn't solve the issue, let me know on this
> forum
>
> does the official emulator binary run on your system ? (it really is built
> from the same sources)
>