nanogui: Nano-X and win32
Subject:
Re: [nanogui] Nano-X and win32
From:
"Cedric Lescop" ####@####.####
Date:
3 Jul 2008 12:24:53 -0000
Message-Id: <5efa11530807030524k75b7546dr6a1f0e1e23586526@mail.gmail.com>
I didn't find any references to LINK_APP_INTO_SERVER in Microwindows 0.91
source code. I used "MS Windows search" which even browses IN files...It
must be somewhere in the Makefile or Config files?!
Anyway, I went through most of the source code files, except the client
side, and I extracted the part I needed I think. I disabled the network
by defining NONETWORK, then I commented out "unisted.h". I only have errors
for the symbols: scrdev, mousedev, kbddev which I was expecting. Those
structures need to be filled in with the drivers functions. I guess now I
need to write drivers to write into the screen through MS Windows, like you
did :)
Regards,
Cedric
On Wed, Jul 2, 2008 at 9:18 PM, Greg Haerr ####@####.#### wrote:
> : Well, I'll do what you said, comment out header files and see if I can
> : figure out how to solve the errors. I'll start with the srvmain.c. I'll
> : "remove" its communication part and might make a call to an empty client
> : function.
>
> I would start with setting LINK_APP_INTO_SERVER, this
> automatically sets everything so no communications is required.
> You don't want to start arbitrarily #ifdefing the source. The
> art of porting is best when you're not mucking around with the
> code, but instead configuring for minimal requirements and
> resources until you get something running. Then you can
> start adding back features. All of the win32 demos
> for instance are single-threaded, no client/server. Its
> a great place to start, since the link lines are already
> written.
>
> Regards,
>
> Greg
>