nanogui: how to compile and link win32 api in linux


Previous by date: 19 Aug 2008 07:49:35 -0000 Re: how to compile and link win32 api in linux, RAHUL RAVINDRAN
Next by date: 19 Aug 2008 07:49:35 -0000 how to compile and link win32 api in linux, RAHUL RAVINDRAN
Previous in thread: 19 Aug 2008 07:49:35 -0000 Re: how to compile and link win32 api in linux, RAHUL RAVINDRAN
Next in thread: 19 Aug 2008 07:49:35 -0000 how to compile and link win32 api in linux, RAHUL RAVINDRAN

Subject: how to compile and link win32 api in linux
From: RAHUL RAVINDRAN ####@####.####
Date: 19 Aug 2008 07:49:35 -0000
Message-Id: <448567.94179.qm@web56911.mail.re3.yahoo.com>

Sir,
   i went through the examples in microwindow.90/demos/mwin
   In that i go throught mtest2.c mtest.c which uses window api.
   i want to know how it is compiled and linked.
  can u give the  command for which  i can compile  and link  my file
which uses
  win32 api.
  Because i created my own file but while linking there is error:

   vcdemo1.c:(.text+0xa): undefined reference to `GetDesktopWindow'
vcdemo1.c:(.text+0x1e): undefined reference to `GetWindowRect'
vcdemo1.c:(.text+0x42): undefined reference to `MwRegisterButtonControl'
vcdemo1.c:(.text+0x4e): undefined reference to `MwRegisterEditControl'
vcdemo1.c:(.text+0x5a): undefined reference to `MwRegisterStaticControl'
vcdemo1.c:(.text+0x9d): undefined reference to `GetStockObject'
vcdemo1.c:(.text+0xbc): undefined reference to `RegisterClass'
vcdemo1.c:(.text+0x11e): undefined reference to `CreateWindowEx'
vcdemo1.c:(.text+0x19a): undefined reference to `CreateWindowEx'
vcdemo1.c:(.text+0x217): undefined reference to `CreateWindowEx'
vcdemo1.c:(.text+0x290): undefined reference to `CreateWindowEx'
vcdemo1.c:(.text+0x2a2): undefined reference to `ShowWindow'
vcdemo1.c:(.text+0x2ad): undefined reference to `UpdateWindow'
vcdemo1.c:(.text+0x2ba): undefined reference to `TranslateMessage'
vcdemo1.c:(.text+0x2c5): undefined reference to `DispatchMessage'
vcdemo1.c:(.text+0x2e8): undefined reference to `GetMessage'
vcdemo1.o: In function `wproc':
vcdemo1.c:(.text+0x317): undefined reference to `PostQuitMessage'
vcdemo1.c:(.text+0x339): undefined reference to `DefWindowProc'

please help.




      Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/

Previous by date: 19 Aug 2008 07:49:35 -0000 Re: how to compile and link win32 api in linux, RAHUL RAVINDRAN
Next by date: 19 Aug 2008 07:49:35 -0000 how to compile and link win32 api in linux, RAHUL RAVINDRAN
Previous in thread: 19 Aug 2008 07:49:35 -0000 Re: how to compile and link win32 api in linux, RAHUL RAVINDRAN
Next in thread: 19 Aug 2008 07:49:35 -0000 how to compile and link win32 api in linux, RAHUL RAVINDRAN


Powered by ezmlm-browse 0.20.