Mail Archives: cygwin/1999/02/13/17:25:32
Here is the problem:
I downloaded the EGCS 1.1.1 mingw32 compiler (following the link from the
Cygwin Home page) and it was fine until I wanted to make a screen saver with
it. The file scrnsave.h is not there. This file defines some important
things. The libscrnsave.a file is there but I cannot compile because I need
the file scrnsave.h or it says
this while compiling:
scrsvr.cpp: In function `LRESULT ScreenSaverProc(void *, UINT, WPARAM,
LPARAM)':
scrsvr.cpp:52: warning: implicit declaration of function `int
DefScreenSaverProc
(...)'
and this while linking:
C:\WINDOWS\TEMP\cc9Taagb.o(.text+0x212):scrsvr.cc: undefined reference to
`DefScreenSaverProc'
C:\EGCS\BIN\..\lib\gcc-
lib\i386-mingw32\egcs-2.91.60\..\..\..\..\i386-mingw32\li
b\libmingw32.a(main.o)(.text+0x7b): undefined reference to `WinMain AT 16'
I'm pretty sure it's because there is no scrnsave.h file. Is this file
supposed to be there? Is it a different file that is substituted for it?
Please help.
Thanks,
Jason Craig
- Raw text -