This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Compiling for Win32 API
- To: "Gnu-Win32" <gnu-win32 at cygnus dot com>
- Subject: Compiling for Win32 API
- From: "Himilcon de Castro Carvalho" <carvalho at penelope dot dss dot inpe dot br>
- Date: Fri, 5 Dec 1997 15:10:30 -0200
Hello,
I have tried to compile a Windows version of "Hello World", called
winnie.cpp
written by Bartosz Milewski, 1995, with the command:
c++ -DSTRICT -o winnie.exe winnie.cpp
Compilation results in many errors about undefined references, like the
following:
C:\WINDOWS\TEMP\cc0010001.o(.text+0x8f):winnie.cc: undefined reference to
`GetMessageA@16'
Since I have never programmed for Windows (but only for Unix and XWindows),
and I'm not used to specific include files or libraries in this case, could
someone give me some hint about what I should do?
Thanks,
Himilcon
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".