[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
can not compile my own app with microwindows api
From: ####@####.#### Date: 24 Mar 2004 09:55:59 +0000 Message-Id: <1080124924.406165fcc72b5@konplan.com> Hi, I have install 0.87 microwindows version in linux 8.1. i can run all demos(nonox & microwin api) and my own nanox application, but can not compile my own microwindows application with microwindows api. i saved mtest demo under hellowin.c i try: gcc hellowin.c -o hellowin -lmwdrivers -lmwengine -lmwfonts -lmwimages -lmwinlib -lnwidget -lvncauth -I/home/yidrissi/microwin/src/lib -L /home/yidrissi/microwin/src/lib but kamm errors: /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../crt1.o: In function `_start': /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../crt1.o(.text+0x18): undefined reference to `main' /tmp/cc0Qt8VG.o: In function `WinMain': /tmp/cc0Qt8VG.o(.text+0x55): undefined reference to `GetStockObject' /tmp/cc0Qt8VG.o(.text+0x7b): undefined reference to `RegisterClass' /tmp/cc0Qt8VG.o(.text+0xaa): undefined reference to `CreateWindowEx' /tmp/cc0Qt8VG.o(.text+0xbe): undefined reference to `ShowWindow' /tmp/cc0Qt8VG.o(.text+0xcc): undefined reference to `UpdateWindow' /tmp/cc0Qt8VG.o(.text+0xde): undefined reference to `GetMessage' /tmp/cc0Qt8VG.o(.text+0xf3): undefined reference to `TranslateMessage' /tmp/cc0Qt8VG.o(.text+0x102): undefined reference to `DispatchMessage' /tmp/cc0Qt8VG.o: In function `wproc': /tmp/cc0Qt8VG.o(.text+0x147): undefined reference to `BeginPaint' /tmp/cc0Qt8VG.o(.text+0x15c): undefined reference to `GetClientRect' /tmp/cc0Qt8VG.o(.text+0x177): undefined reference to `DrawTextA' /tmp/cc0Qt8VG.o(.text+0x189): undefined reference to `EndPaint' /tmp/cc0Qt8VG.o(.text+0x198): undefined reference to `PostQuitMessage' /tmp/cc0Qt8VG.o(.text+0x1ae): undefined reference to `DefWindowProc' collect2: ld returned 1 exit status can anybody help me thanks youssef | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] can not compile my own app with microwindows api
From: ####@####.#### Date: 24 Mar 2004 13:03:18 +0000 Message-Id: <OFC42DC8BD.8257CC25-ON80256E61.0046F766-80256E61.00476573@philips.com> Hi, ####@####.#### wrote: > I have install 0.87 microwindows version Why not use 0.90? > in linux 8.1. You mean SuSE Linux 8.1? > gcc hellowin.c -o hellowin -lmwdrivers -lmwengine -lmwfonts -lmwimages > -lmwinlib -lnwidget -lvncauth -I/home/yidrissi/microwin/src/lib -L > /home/yidrissi/microwin/src/lib Does it help if you specify the -L option before the -l options? Kind regards, Jon Foster -- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] can not compile my own app with microwindows api
From: ####@####.#### Date: 24 Mar 2004 13:36:56 +0000 Message-Id: <1080138184.406199c8c72d1@konplan.com> Hi, Thank you for the response yes I mean suse Linux 8.1 professional. I have specify the directory for libs in -L option before the -l option but I have always the same problem, have you another idee. must i configure anything in config file ? thank you youssef | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |