This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
newbie - cannot find -luser32 problem
- To: <cygwin at sources dot redhat dot com>
- Subject: newbie - cannot find -luser32 problem
- From: "Vulcan Helicopters" <vulcan at vulcanheli dot co dot nz>
- Date: Sun, 19 Nov 2000 12:46:07 +1300
I have just installed cygwin and am trying to use gcc, but I get the
following error:
$ make hello
gcc hello.cc -o hello
/usr/bin/ld: cannot find -luser32
collect2: ld returned 1 exit status
make: *** [hello] Error 1
I though this may be to do with my PATH settings?? (I assume it is trying to
find user32.dll which is in /windows/system)
Here is the cygwin.bat file created by setup.exe:
@echo off
C:
chdir \cygwin\bin
bash --login -i
@echo off
I added in the two extra lines below, but it doesn't seem to make any
difference:
C:
chdir \cygwin\bin
SET MAKE_MODE=unix
SET PATH=C:\cygwin\bin;C:\cygwin\usr\local\bin;%PATH%
bash --login -i
Thanks in advance for any help...
wade
Vulcan Helicopters
Visit our NEW website at http://www.vulcanheli.co.nz
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com