From: Ole > make TARGET=framebuffer > > the "make TARGET=windows" will attempt to build the native windows > executable.
Thanks. TARGET=framebuffer is what I was looking for. > > > The framebuffer library "libnsfb" requires X11 libraries... > I once submitted a patch to the list that disables specific libnsfb > backends. > Just remove the X and maybe other not-so-important dependencies from > the libnsfb > makefiles and you should be able to compile the lib. > After you have installed libnsfb, you should be able to link > framebuffer-sdl for windows. Made a few changes to the makefile and a few other files and it looks like it builds the library fine on Windows. From: John-Mark Bell > Why not use the native Windows frontend? > > The framebuffer frontend is totally unsuitable for use on systems that > have a full-featured window manager. I was hoping to use the SDL version on a couple of platforms including Windows. I suppose I could build each one natively though. If I can get it to build, long-term plan was not to use it as a web browser, but more of a cross-platform replacement for dialog. Was thinking I could possibly replace the part that sends form data to a server with the ability to store the information locally to a file. I wouldn't even need the web access capabilities, just the capabilities to interpret HTML and CSS and render pages. There are cross-platform replacements for dialog, but I'd really like to have something that can use standard web syntax (HTML, CSS, etc.) for creating interfaces. > > What issues? Please provide the exact build output. > 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 paths set appropriately with the latter and I can't get them set properly with the prior. I thought I went through the same steps in 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. 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. Last lines that are output when I run make for the windows target are: M.CONFIG: JPEG (libjpeg) enabled (NETSURF_USE_JPEG := YES) M.CONFIG: JNG/MNG/PNG (libmng) disabled (NETSURF_USE_MNG := NO) M.CONFIG: PDF export (haru) disabled (NETSURF_USE_HARU_PDF := NO) M.CONFIG: glibc internal iconv disabled (NETSURF_USE_LIBICONV_PLUG := NO) M.CONFIG: BMP (libnsbmp) enabled (NETSURF_USE_BMP := YES) M.CONFIG: GIF (libnsgif) enabled (NETSURF_USE_GIF := YES) M.CONFIG: PNG (libpng) enabled (NETSURF_USE_PNG := YES) M.CONFIG: SVG (libsvgtiny) disabled (NETSURF_USE_NSSVG := NO) M.CONFIG: PNG/JNG/MNG (libmng) disabled (NETSURF_USE_MNG := NO) TESTMENT: unchanged If I run make TARGET=windows again, those lines are all I get back. 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 [ I thought I had MNG disabled, but appears framebuffer mode still wants the library installed. ] framebuffer/thumbnail.c:66:16: error: 'NSFB_SURFACE_RAM' undeclared (first use in this function) framebuffer/thumbnail.c:71:41: error: 'NSFB_FMT_XBGR8888' undeclared (first use in this function) 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 framebuffer/gui.c:22:23: fatal error: sys/ioctl.h: No such file or directory framebuffer/framebuffer.c:196:3: error: too many arguments to function 'nsfb_plot_copy' framebuffer/framebuffer.c:241:4: error: too many arguments to function 'nsfb_plot_copy' framebuffer/framebuffer.c:355:22: error: storage size of 'fbtype' isn't known framebuffer/framebuffer.c:356:24: error: storage size of 'fbfmt' isn't known framebuffer/framebuffer.c:361:14: error: 'NSFB_FMT_XRGB8888' undeclared (first use in this function) ... framebuffer/convert_image.c:22:17: fatal error: png.h: No such file or directory [ My png.h is in /usr/local/include. I'm guessing if this was switched from <png.h> to "png.h", it'll find it. ] cc.exe: error: build-windows-framebuffer/caret_image.c: No such file or directory cc.exe: fatal error: no input files compilation terminated. make: *** [build-windows-framebuffer/build-windows-framebuffer_caret_image.o] Error 1 The errors look fixable. Don't know whether I should try to get the framebuffer version to compile without errors or concentrate on why the windows version doesn't generate anything other that object files (and .d files). The framebuffer version may have the same issue as the windows version once it gets past the compiler errors. Any further suggestions appreciated. Thanks again for the help with the target command.