This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: (Problem building program)
- To: Steve Biskis <mlx@san.rr.com>
- Subject: Re: (Problem building program)
- From: Nehru Juman <shadowcaster@solutions2000.net>
- Date: Sat, 06 Mar 1999 12:01:12 -0500
- CC: Cygnus Solutions <cygwin@sourceware.cygnus.com>
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- References: <010001be67d6$839f4cb0$080216c0@newt.san.rr.com>
- Sender: cygwin-owner@sourceware.cygnus.com
Thanks a lot! Couldn't get it to work with RSXNTDJ (still love DJGPP
though). Now I can write win32 using c++. Cool.
Steve Biskis wrote:
> Need to link libuser32.a
>
> gcc -o hello hello.c -luser32
>
> Take care,
>
> Steve B.
>
> -----Original Message-----
> From: Nehru Juman <shadowcaster@solutions2000.net>
> To: cygwin@sourceware.cygnus.com <cygwin@sourceware.cygnus.com>
> Date: Friday, March 05, 1999 5:33 PM
> Subject: (Problem building program)
>
>
> >Hello Everybody,
> >
> > I've just installed MingW32 and have my path and files set up
> >properly but when I try and build the simple hello world program
> below
> >everything compiles fine but during the linking process I get the
> >following error message:
> >
> >C:\WINDOWS\TEMP\cc8480511.o(.text+0x66):two.cc:undefined reference to
>
> >'MessageBoxA@16'
> >
> > Can anyone please tell me what I'm doing wrong.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com