* Compiling Window Source Code
@ 1999-09-25 13:04 Corrwar
1999-09-27 12:26 ` Mumit Khan
1999-09-30 23:42 ` Corrwar
0 siblings, 2 replies; 4+ messages in thread
From: Corrwar @ 1999-09-25 13:04 UTC (permalink / raw)
To: cygwin
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"
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compiling Window Source Code
1999-09-25 13:04 Compiling Window Source Code Corrwar
@ 1999-09-27 12:26 ` Mumit Khan
1999-09-30 23:42 ` Mumit Khan
1999-09-30 23:42 ` Corrwar
1 sibling, 1 reply; 4+ messages in thread
From: Mumit Khan @ 1999-09-27 12:26 UTC (permalink / raw)
To: Corrwar; +Cc: cygwin
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Compiling Window Source Code
1999-09-25 13:04 Compiling Window Source Code Corrwar
1999-09-27 12:26 ` Mumit Khan
@ 1999-09-30 23:42 ` Corrwar
1 sibling, 0 replies; 4+ messages in thread
From: Corrwar @ 1999-09-30 23:42 UTC (permalink / raw)
To: cygwin
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"
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compiling Window Source Code
1999-09-27 12:26 ` Mumit Khan
@ 1999-09-30 23:42 ` Mumit Khan
0 siblings, 0 replies; 4+ messages in thread
From: Mumit Khan @ 1999-09-30 23:42 UTC (permalink / raw)
To: Corrwar; +Cc: cygwin
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-09-30 23:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-25 13:04 Compiling Window Source Code Corrwar
1999-09-27 12:26 ` Mumit Khan
1999-09-30 23:42 ` Mumit Khan
1999-09-30 23:42 ` Corrwar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).