nanogui: Hi greg problem regarding microwindows merging with application
Subject:
Re: [nanogui] Hi greg problem regarding microwindows merging with application
From:
"Greg Haerr" ####@####.####
Date:
30 Sep 2005 02:21:27 +0100
Message-Id: <0c0501c5c55d$254582b0$6401a8c0@winXP>
: I would like to take the GUI part from Microwindows directory and merge
with
: my application code.. so whats all the necessary files i need to move to
the
: Apllication directory for to make work both in same environment.
When you build microwindows, it builds microwindows in the
src/lib directory, by default. Add all libraries libmwin*.a to
your link line for your application.
Then, if your application is Windows, it will normally
start with WinMain(). Microwindows is a Linux executable
so it starts with main(). The main() in microwindows will
eventually call WinMain() in your application automatically,a
and then the application will start.
Microwindows will be embedded into your application.
Note: you may get undefined symbol link errors when
you link your win32 application with Microwindows. In this
case, this means that those functions aren't implemented.
Regards,
Greg