I'm trying to use the solution task in 85-rc2 (as well as the nightly)
to build our solution. Our code is a complicated mix of straight
legacy C, along with C++, and C#. When I try to build the solution,
I get a C1192 fatal building a managed C++ projects that depends on C
projects and C# projects (both successfully built using the solution
task).
The C projects are static libs.
The solution obviously builds fine from the IDE. I've had to add
stuff to my lib and include paths to get the C libs to build, but I'm
now stuck on the 1192 problem. I'll keep searching for a fix, but any
help would be appreciated.
Here's the -verbose output of the project in question:
[solution] Fixing up references...
[solution] Building 'cinea.crypto.cosmos' [debug] ...
[attrib] Setting file attributes for 1 files to Normal.
[attrib]
C:\dev\projects\cinea\sview\solution\Debug\cinea.crypto.cosmos.dll
[cl]
'C:\dev\projects\cinea\crypto\cosmos\Debug\cinea.crypto.cosmos.pch'
does not exist, recompiling.
[cl] Compiling 1 files to
'C:\dev\projects\cinea\crypto\cosmos\Debug'.
[cl] Contents of C:\DOCUME~1\kjm\LOCALS~1\Temp\tmp11D.tmp.
[cl] /c
[cl] /clr
[cl] /D "WIN32"
[cl] /D "_DEBUG"
[cl] /I "..\inc"
[cl] /I "..\..\..\csms\inc"
[cl] /I "..\..\..\csms\inc\private"
[cl] /AI "..\..\core\obj\Debug"
[cl] /FU "C:\dev\projects\cinea\core\obj\Debug\cinea.core.dll
"
[cl] /FU
"C:\dev\projects\csms\lib\private\debug\csmsCbsSrvr.lib"
[cl] /FU
"C:\dev\projects\csms\lib\private\debug\csmsCrypto.lib"
[cl] /FU "C:\dev\projects\csms\bin\debug\csmsDLib.dll"
[cl] /FU
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorlib.dll"
[cl] /FU
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll"
[cl] /Fd"C:\dev\projects\cinea\crypto\cosmos\Debug/vc70.pdb"
[cl] /Fo"C:\dev\projects\cinea\crypto\cosmos\Debug/"
[cl]
/Fp"C:\dev\projects\cinea\crypto\cosmos\Debug/cinea.crypto.cosmos.pch"
[cl] /Yc"StdAfx.h"
[cl] ".\Stdafx.cpp"
[cl] /D "_MBCS"
[cl]
[cl] Starting 'cl (@"C:\DOCUME~1\kjm\LOCALS~1\Temp\tmp11D.tmp
" /Zl /clr /EHsc /D _WINDLL /W3 /Od /Zi /MDd /nologo)' in
C:\dev\projects\cinea\crypto\cosmos'
[cl] Stdafx.cpp
[cl] Stdafx.cpp(0) : fatal error C1192: #using failed on 'c:\
dev\projects\csms\lib\private\debug\csmscbssrvr.lib'
BUILD FAILED
External Program Failed: cl (return code was 2):
NAnt.Core.BuildException: External Program Failed: cl (return code was 2)
at NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask()
at NAnt.VisualCpp.Tasks.ClTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.VSNet.VcProject.ExecuteInProjectDirectory(Task task)
at NAnt.VSNet.VcProject.BuildCPPFiles(ArrayList fileNames,
VcProjectConfiguration projectConfig, VcConfigurationBase fileConfig)
at NAnt.VSNet.VcProject.Build(ConfigurationBase config)
at NAnt.VSNet.ProjectBase.Compile(String configuration)
at NAnt.VSNet.SolutionBase.Compile(String configuration)
at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users