Monday, 8 June 2015

Re: Running netsurf 3.3 on Raspberry Pi in framebuffer

Hello Karel,

> (0.164048) framebuffer/gui.c:455 process_cmdline: argc 1, argv 0xbea79804
> (0.166074) framebuffer/framebuffer.c:400 framebuffer_initialise: The sdl
> surface is not available from libnsfb
>
> Am I missing something or do I get the error because of the 3.4 (Dev)
> version ? Can someone please give me a hint how to fix this ?

Did you already to try to run the framebuffer version under X11? the
libnsfb can be compiled with several backends... SDL is one of them. When
the build system does not detect SDL correctly (and you do not configure
it manually somehow...), it probably just skips the build of the SDL
backend.

Maybe you have luck and the X11 backend was put into your build of libnsfb.

Otherwise, make sure that libnsfb is compiled with SDL backend.

I once had an problem with that...:

libnsfb make use of some gcc feature (a ctor function for libraries...,
something like that) which was unsupported by the GCC cross compiler that
I used: SDL was never registered as valid backend when libnsfb was loaded
and always reported that the SDL backend is not available... I had to
manually call the registration of the backend at application startup time.
But I think this was a very rare problem, I guess the buildsystem did not
find your installation of SDL development files.

Greets,
Ole

No comments:

Post a Comment