Stephen,

Can you please provide a small repro for this issue ?

Thanks,

Gert
----- Original Message ----- From: "Stephen Lewis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 18, 2004 12:48 AM
Subject: [Nant-users] Problem with solution task



I am trying to move my build files from a single .build file for each project to using <solution> tasks.

After using a 0.85 Nant build from May for several months, I updated to
the latest nightly build today.  I am having trouble building one of the
projects in the solution.  Here is an excerpt from the log file:

[solution] Building 'Range' [release] ...
[cl] 'C:\Automated
Builds\TargetScan\src\Range\Release\RangeTest.obj' does not exist,
recompiling.
[cl] Compiling 5 files to 'C:\Automated
Builds\TargetScan\src\Range\Release'.
[cl] Contents of
C:\DOCUME~1\Slewis\LOCALS~1\Temp\tmp7013.tmp.
[cl] /c
[cl] /clr
[cl] /AI ""C:\Program Files\NUnit V2.1\bin""
[cl] /Fd"C:\Automated
Builds\TargetScan\src\Range\Release/"
[cl] /Fo"C:\Automated
Builds\TargetScan\src\Range\Release/"
[cl] "BaseRange.cpp"
[cl] "Range.cpp"
[cl] "AssemblyInfo.cpp"
[cl] ".\RangeConsumerCount.cpp"
[cl] ".\RangeTest.cpp"
[cl] /D "_MBCS"
[cl] [cl] Starting 'cl
(@"C:\DOCUME~1\Slewis\LOCALS~1\Temp\tmp7013.tmp" /D WIN32 /D NDEBUG /D
_WINDLL /Ob1 /Yu"StdAfx.h" /Fp"Release/Range.pch" /O2 /W3 /nologo)' in
'C:\Automated Builds\TargetScan\src\Range'
[cl] BaseRange.cpp
[cl] cl : Command line warning D4024 : unrecognized
source file type 'Files\NUnit', object file assumed
[cl] cl : Command line warning D4027 : source file
'Files\NUnit' ignored
[cl] cl : Command line warning D4024 : unrecognized
source file type 'V2.1\bin', object file assumed
[cl] cl : Command line warning D4027 : source file
'V2.1\bin' ignored
[cl] Range.cpp
[cl] AssemblyInfo.cpp
[cl] RangeConsumerCount.cpp
[cl] RangeTest.cpp
[cl] Generating Code...
[link] Output file 'C:\Automated
Builds\TargetScan\build\solution\Range.dll' does not exist, relinking.
[link] Linking 16 files to 'C:\Automated
Builds\TargetScan\build\solution\Range.dll'.
[link] Contents of
C:\DOCUME~1\Slewis\LOCALS~1\Temp\tmp7014.tmp.
[link] /OUT:"C:\Automated
Builds\TargetScan\build\solution\Range.dll"
[link] "C:\Automated
Builds\TargetScan\src\Range\Release\Stdafx.obj"
[link] "C:\Automated
Builds\TargetScan\src\Range\Release\BaseRange.obj"
[link] "C:\Automated
Builds\TargetScan\src\Range\Release\Range.obj"
[link] "C:\Automated
Builds\TargetScan\src\Range\Release\AssemblyInfo.obj"
[link] "C:\Automated
Builds\TargetScan\src\Range\Release\RangeConsumerCount.obj"
[link] "C:\Automated
Builds\TargetScan\src\Range\Release\RangeTest.obj"
[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] /LIBPATH:""
[link] /nologo
[link] [link] Starting 'link
(@"C:\DOCUME~1\Slewis\LOCALS~1\Temp\tmp7014.tmp" /DLL /INCREMENTAL:NO
/DEBUG)' in 'C:\Automated Builds\TargetScan\src\Range'
[link] Microsoft (R) Incremental Linker Version
7.10.3077
[link] Copyright (C) Microsoft Corporation. All rights
reserved.
[link] [link] LINK : fatal error LNK1146: no argument
specified with option '/LIBPATH:'


BUILD FAILED - 0 non-fatal error(s), 4 warning(s)


Notice first that this line: [cl] /AI ""C:\Program Files\NUnit V2.1\bin"" seems to be related to these errors: [cl] cl : Command line warning D4024 : unrecognized source file type 'Files\NUnit', object file assumed [cl] cl : Command line warning D4027 : source file 'Files\NUnit' ignored [cl] cl : Command line warning D4024 : unrecognized source file type 'V2.1\bin', object file assumed [cl] cl : Command line warning D4027 : source file 'V2.1\bin' ignored

I can get past these warnings by defining a LIBPATH environment
variable, but then I get the fatal link error related to /LIBPATH:""

What should I change about the build?

Stephen Lewis
Envisioneering LLC - Medical Products
St. Louis, MO 63114
(314) 429-7367 x112




------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users




------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to