nanogui: Compile with DJGPP or MSC
Subject:
Re: [nanogui] Compile with DJGPP or MSC
From:
"Georg Potthast" ####@####.####
Date:
16 May 2011 19:53:36 -0000
Message-Id: <004101cc1402$f0bed4b0$a900a8c0@SCHREIBTISCHGP>
Greg -
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);]
Georg