Am Dienstag, den 08.05.2012, 09:44 +0200 schrieb LM <lmemsm(a)gmail.com>:
Made a few changes to the makefile and a few other files and it
looks
like it builds the library fine on Windows.
okay... you can also run "make test" or something like that to make sure
that it is really
compiled okay.
I don't specifically know what the issue was when I tried to
build
netsurf-2.8 versus netsurf-r13571, but I appear to have my include
...
both, but something is different. Since I appear to be having less
issues with the netsurf-r13571 tarball, I'm concentrating on trying to
build using it.
I think it is best to build the release versions. stick to that.
When I run make TARGET=windows I see no error messages. I
redirected
standard output and standard error to a file. Looking over the file,
there are just warnings. Checking the build-windows-windows
directory, I see object files (108 of them). There are no libraries
or executables built. I did go in and hardcode $userinfo{USERNAME},
$gecos and $hostname in svn-testament.pl since it was having some
trouble running.
TESTMENT: unchanged
If I run make TARGET=windows again, those lines are all I get back.
try to make clean TARGET=windows or make clean TARGET=framebuffer.
When I tried running make TARGET=framebuffer, I got several errors
back. Some of them include:
image/mng.c:29:20: fatal error: libmng.h: No such file or directory
libmng is not installed / cannot be found. Either install libmng at the
correct place, or
do the same with libpng and tell the netsurf build system to use libpng...
( study the makesfiles in top level directoy...)
[ I thought I had MNG disabled, but appears framebuffer mode still
wants the library installed. ]
ok... maybe you did it wrong.
framebuffer/thumbnail.c:66:16: error: 'NSFB_SURFACE_RAM'
undeclared
(first use in this function)
maybe you modified the libnsfb makefiles a bit too much? The RAM surface
must be available, also the SDL one...
framebuffer/thumbnail.c:71:41: error: 'NSFB_FMT_XBGR8888'
undeclared
(first use in this function)
strange. Maybe libnsfb isn't placed / installed in the correct location?
First, run the libnsfb tests ( read the docs...) - then install it properly.
framebuffer/thumbnail.c:73:2: error: incompatible type for argument
1
of 'nsfb_init'
framebuffer/thumbnail.c:90:2: error: too many arguments to function
'nsfb_plot_copy'
framebuffer/localhistory.c:22:23: fatal error: sys/ioctl.h: No such
file or directory
Looks like an problem with the sources... or maybe your mingw installation
is missing something?
The errors look fixable. Don't know whether I should try to get
the
framebuffer version to compile without errors or concentrate on why
I'm unsure if anyone has tested the SDL frontend under Windows. So that's
maybe a problem.
Greets,
Ole