This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Compiling Window Source Code
- To: Corrwar at aol dot com
- Subject: Re: Compiling Window Source Code
- From: Mumit Khan <khan at nanotech dot wisc dot EDU>
- Date: Mon, 27 Sep 1999 14:26:42 -0500
- cc: cygwin at sourceware dot cygnus dot com
Corrwar@aol.com writes:
> I tried to compile a windows program at:
> http://www.cpp-programming.com/winapi/tradwin.cpp
>
> Cygwin (g++ version 2.95)
> outputted an undefined reference to 'GetStockObject@4' and "bailled out"
Did you add -mwindows when linking? GetStockObject@4 is in libgdi32.a,
which is included automatically when you add -mwindows.
Mumit
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com