nanogui: Compile with DJGPP or MSC
Re: [nanogui] Compile with DJGPP or MSC
"Georg Potthast" ####@####.####
16 May 2011 19:53:36 -0000
I used and modified the make files from Victor which came with version 0.87 and got version 0.88patch to work with DJGPP after a few changes to the code. I can run some of the mwin and nanox demos in DOS using the DPMI driver that comes with DJGPP. DPMI allows to use 4 GB of memory in DOS.
I tried to get version 0.89 to work, but the malpha.c demo displays the car in wrong colors.
Maybe these compiler warnings point to the cause of the problem:
drivers/kbd_djgr.c:24: warning: initialization from incompatible pointer type [line 24 is-> static PSD DJGR_open(PSD psd);]
drivers/kbd_djgr.c:25: warning: initialization from incompatible pointer type [line 25 is-> static void DJGR_close(PSD psd);]