Ok, so if I want to use Nano-X under Windows I need to compile it need compile it with its win32 API. Then, if I want to compile it under Windows for a Linux platform, I need to compile it with NanoX libs (X11). Is it going to give me the same "result"? That's what people call "cross-compile"?
Thank you again. On Mon, Jun 30, 2008 at 11:16 AM, Klatt Uwe <[EMAIL PROTECTED]> wrote: > Hi Cedric, > > Nano-X gives you two APIs (X-WINDOWS and WIN32 API). > WIN32 API emulates a subset of WIN32 functions. > > When you want to program under WINDOWS, you dont need Nano-X libs! > > Bye > Uwe > > > I'm trying to build one of the demo from > > http://www.microwindows.org/ under > > Windows... > > I understand that everything is made for Linux but I really > > do need to make > > it run on Windows. (C code is portable right?!) > > > > I can compile the demo. (because of the prototypes in header files.) > > But then, the linker gives me this error: undefined reference > > to 'GrOpen', > > 'GrNewWindow", "GrSelectEvents", etc.. > > > > How/where can I find these functions? > > I added these libraries to the demo project: > > - libmwimages.a (no error) > > - libmwin.a (no error) > > - libmwinlib.a (no error) > > - libnano-X.a (error: "could not read symbols: File in wrong > > format") > > > > Does this library contain the functions I am looking for? > > Does it contain > > Linux's symbols? > > I also found the client.c which open aconnection to the > > server, do I needto > > implement this "communication" to use Nano-X under Window? > > > > Thank for your time, > > > > > > Cedric Lescop > > > > > > PS: I'm new with mailing list, is there any way to do a > > "browse" in the > > SUBJECT or BODY for example? Thank you. > > >