My solution builds when I use the IDE, but with NAnt, I get an error. Here
is the following output from the command prompt:
C:\ant\nant\bin>nant
NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005)
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///C:/ant/nant/bin/test.build
Target framework: Microsoft .NET Framework 1.1
Target(s) specified: all
build:
[solution] Starting solution build.
[solution] Loading projects...
[solution] Loading project 'C:\Documents and Settings\Jill\My
Documents\new\kit
ty\kitty.vcproj'.
[solution] Gathering additional dependencies...
[solution] Fixing up references...
[solution] Building 'kitty' [Release] ...
[attrib] No matching files or directories found.
[link] PDB file 'C:\Documents and Settings\Jill\My
Documents\ne
w\kitty\Release\kitty.pdb' does not exist, relinking.
[link] Linking 13 files.
[link] Contents of
C:\DOCUME~1\Jill\LOCALS~1\Temp\tmp14A.tmp.
[link] /OUT:"C:\Documents and Settings\Jill\My
Documents\new\ki
tty\Release\kitty.exe"
[link] /DEBUG
[link] /PDB:"C:\Documents and Settings\Jill\My
Documents\new\ki
tty\Release\kitty.pdb"
[link] /nologo
[link] "kernel32.lib"
[link] "user32.lib"
[link] "gdi32.lib"
[link] "winspool.lib"
[link] "comdlg32.lib"
[link] "advapi32.lib"
[link] "shell32.lib"
[link] "ole32.lib"
[link] "oleaut32.lib"
[link] "uuid.lib"
[link] "odbc32.lib"
[link] "odbccp32.lib"
[link] "C:\Documents and Settings\Jill\My
Documents\new\kitty\R
elease\kitty.obj"
[link]
[link] Starting 'link
(@"C:\DOCUME~1\Jill\LOCALS~1\Temp\tmp14A.
tmp" /INCREMENTAL:NO /OPT:REF /SUBSYSTEM:CONSOLE /MACHINE:X86 /OPT:ICF)' in
'C:\
Documents and Settings\Jill\My Documents\new\kitty'
[link] LINK : fatal error LNK1181: cannot open input file
'user
32.lib'
BUILD FAILED
External Program Failed: link (return code was 1181)
Total time: 0.3 seconds.
I checked to make sure that the user32.lib file exists, and set the PATH
environment variable to include the path to this user32.lib file (just in
case), to no avail. Any idea whatÂ’s wrong?
Thanks in advance!
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users