nanogui: Cross compiling nxlib for fltk 2


Previous by date: 30 May 2010 07:46:28 -0000 What files should be copied to the ramdisk?, su
Next by date: 30 May 2010 07:46:28 -0000 GrDrawImageToFit fail with PNG image with alpha layer, Daniel Nyström
Previous in thread:
Next in thread:

Subject: Cross compiling nxlib for fltk 2
From: David Sáez ####@####.####
Date: 30 May 2010 07:46:28 -0000
Message-Id: <4C0216D8.3010300@andekan.com>

Hi

I succeed at cross compiling the snapshot nxlib version for
usage with fltk 2, making the following changes:

- add shapeconst.h  shape.h  XI.h  XInput.h to folder
   X11/extensions

- add this to stub.c

   int XOpenDevice() { printf("XOpenDevice called\n"); return 0; }
   int XSelectExtensionEvent() { printf("XSelectExtensionEvent 
called\n"); return 0; }
   int XListInputDevices() { printf("XListInputDevices called\n"); 
return 0; }
   int XFreeDeviceList() { printf("XFreeDeviceList called\n"); return 0; }
   int XGetExtensionVersion() { printf("XGetExtensionVersion called\n"); 
return 0; }

- Fix image.c to compile with latest stable microwindows

   change GR_HWPIXELVAL back to GR_PIXELVAL (would be good to check
   if GR_HWPIXELVAL is defined and if not use GR_PIXELVAL)


-- 
Best regards ...
David Saez Padros

Previous by date: 30 May 2010 07:46:28 -0000 What files should be copied to the ramdisk?, su
Next by date: 30 May 2010 07:46:28 -0000 GrDrawImageToFit fail with PNG image with alpha layer, Daniel Nyström
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.