Thursday, 24 April 2014

Re: Netsurf on arm linux sdl framebuffer.

You missed to mention which version of freetype you are using and which version of netsurf.
    I am using freetype 6.3.8 with netsurf 3.0

Did you try with the internal font? Or did you try freetype? You probably should look at that, anyway.

    I was using the internal font. Now I am trying with freetype but I am getting these errors:
         LINK: nsfb
     /usr/lib/x86_64-linux-gnu/libm.so: file not recognized: File format not recognized
     I am trying to get it to look in my cross compile root and not try to use my main system libs. So far no go.
 


On Thu, Apr 24, 2014 at 5:06 PM, Ole <ole@monochrom.net> wrote:
Am Donnerstag, den 24.04.2014, 15:55 +0200 schrieb samuel zimmer <sammyizimmy@gmail.com>:

Seem like my first message got all garble up. Trying plain text.

Hello!


Some stats about my toolchain
    gcc 3.3.4
    glibc 2.3.2
    binutils 2.14.90.0.5
    curl-7.35.0
    libpng 1.2.51
    libxml2 2.9.1
    openssl 1.0.0l
    SDL 1.2.15
    libmng 1.0.10
    jpeg 9.0
    zlib 1.2.8


You missed to mention which version of freetype you are using and which version of netsurf.



First I got this error
   cc1: error: unrecognized option `-Wextra'
I removed `-Wextra' from
   libnsfb makefile
   libosprite makefile

Then I got this error
   cc1: error: unrecognized option `-Wstrict-aliasing=2'
I removed `-Wstrict-aliasing=2' from
   libosprite makefile


Then I got this error
   cc1: error: unrecognized option `Wno-overlength-strings'
I removed `Wno-overlength-strings' from
   libnsfb makefile

Then I get this error
    src/surface/sdl.c:11:21: warning: SDL/SDL.h: No such file or directory
    The file is there by all the other headers eg.
"/home/fred/netsurf-full-3.0-tt/prefix-framebuffer/include/SDL/SDL.h"
if I hardcode the path from #include <SDL/SDL.h> to #include
"/home/fred/netsurf-full-3.0-tt/prefix-framebuffer/include/SDL/SDL.h"
it compiles fine.


I can only guess that either your compiler is to old or your build environment isn't setup correctly.
Maybe some syntax error at the commandline, or maybe a wrong path...



When it runs it no text displays. If I point it to a image
(file:///home/fred/image.png) it displays fine but does not render
html.

Did you try with the internal font? Or did you try freetype? You probably should look at that, anyway.

Greets,
Ole

No comments:

Post a Comment