Compiling for Win32 API
Himilcon de Castro Carvalho
carvalho@penelope.dss.inpe.br
Fri Dec 5 09:13:00 GMT 1997
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".
More information about the Cygwin
mailing list