McVole
asked on
LINK : fatal error LNK1181: cannot open input file 'user32.lib'
I am running XP home service pack 2.
Some time ago I did the following (see below), but didn't use the resulting system at the time (as I recall).
I installed the Mjolner BETA programming language system using the Microsoft SDK as described here:
http://www.daimi.au.dk/~beta/Manuals/r5.2.2/install/install-windows.html
Prior to that I installed the free Microsoft Visual C++ Toolkit 2003 as described here.
http://www.daimi.au.dk/~beta/mjolner_system/system_download.html
Now when I attempt to compile and link hello.bet (a "Hello World" program in BETA) which uses MS libs and linker, I get the following error:
LINK : fatal error LNK1181: cannot open input file 'user32.lib'
There is no file 'user32.lib' anywhere on my hard drive.
How should I fix this difficulty?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
That's not critical for debugging, but you can download the symbol packages from http://www.microsoft.com/whdc/devtools/debugging/symbolpkg.mspx
ASKER
Thanks again.
ASKER
jkr: You hit the nail on the head! Thanks.
Now I have a minor problem --- some debug info is missing for one of the libs in my Microsoft Visual C++ Toolkit 2003 installation:
warning LNK:4099 PDB libc.pdb was not found ...
where the path that followed this error text was to the lib directory in the VC++ toolkit directory.
I could install VC++ 2005 express instead (which may have the necessary). Or is there a quicker way?