|
I added the
following to my .build to get past this issue when building C++…
<setenv> <variable
name="VSINSTALLDIR" value="C:\Program Files\Microsoft Visual
Studio .NET 2003\Common7\IDE"/> <variable
name="VCINSTALLDIR" value="C:\Program Files\Microsoft Visual
Studio .NET 2003"/> <variable
name="FrameworkDir"
value="C:\WINDOWS\Microsoft.NET\Framework"/> <variable
name="FrameworkVersion" value="1.1.4322"/> <variable
name="FrameworkSDKDir" value="C:\Program
Files\Microsoft.NET\SDK\v1.1"/> <variable
name="DevEnvDir" value="%VSINSTALLDIR%"/> <variable
name="MSVCDir" value="%VCINSTALLDIR%\VC7"/> <variable
name="PATH"
value="%DevEnvDir%;%MSVCDir%\BIN;%VCINSTALLDIR%\Common7\Tools;%VCINSTALLDIR%\Common7\IDE;%VCINSTALLDIR%\Common7\Tools\bin\prerelease;%VCINSTALLDIR%\Common7\Tools\bin;%FrameworkSDKDir%\bin;%FrameworkDir%\%FrameworkVersion%;%PATH%;"/> <variable
name="INCLUDE"
value="%MSVCDir%\ATLMFC\INCLUDE;%MSVCDir%\INCLUDE;%MSVCDir%\PlatformSDK\include\prerelease;%MSVCDir%\PlatformSDK\include;%FrameworkSDKDir%\include;%INCLUDE%;"/> <variable
name="LIB"
value="%MSVCDir%\ATLMFC\LIB;%MSVCDir%\LIB;%MSVCDir%\PlatformSDK\lib\prerelease;%MSVCDir%\PlatformSDK\lib;%FrameworkSDKDir%\lib;%LIB%;"/> </setenv> Basically it
reproduces what would have been done by executing the vsvars32.bat… ~Robert From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Asis Yuval Hello everybody, I have this error during using nant for building C++
solution: [cl] stdafx.cpp [cl] d:\....\stdafx.h(10) : fatal error C1083: Cannot open
include file: "afxwin.h": no such file or directory I am using D:\Program Files\Microsoft Visual
Studio .NET 2003\Common7\Tools\vsvars32.bat and although I have this error. Any idea how can it solved ??? Thanks Yuval Asis
|
- [Nant-users] Error while building C++ solution Asis Yuval
- RE: [Nant-users] Error while building C++ solution Gert Driesen
- RE: [Nant-users] Error while building C++ solution Robert Smith
- Re: [Nant-users] Error while building C++ solution Gary Feldman
