Hi,

I'd like to know have been through this already, before posting anything to
nant-devs.

I'm using a vs.net 2003 solution, including a win32 project (vcproj) :

1/ it compiles fine under the IDE, but NAnt solution task (latest nightly build)
reports that it can't find "assert.h" and other standard include files , even if
I set solution/@includedevfolders to true.

those files are under X:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include

2/ i tried to add an additional include directories to the project properties,
using :
$(VCInstallDir)include (which resolves to X:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\include)

but it didn't work; VCInstallDir macro doesn't seem to be expanded
 
3/ then i tried the hard way : adding additional include directory X:\Program
Files\Microsoft Visual Studio .NET 2003\Vc7\include itself

doesn't work either; any space in an additional include directory will cause the
build to fail (even with quotes around);

       [cl] Starting 'cl (@"C:\TEMP\tmpF1.tmp" /D WIN32 /D _DEBUG /D _LIB /W3
/MLd /ZI /TP /Od /nologo)' in 'C:\Working\
MyLocalCopy\Project'
 Microsoft
            c1xx : fatal error C1083: Cannot open source file:
'Files\Microsoft': No such file or directory
            Visual
            c1xx : fatal error C1083: Cannot open source file: 'Visual': No such
file or directory
            Studio
            c1xx : fatal error C1083: Cannot open source file: 'Studio': No such
file or directory
            .NET
            c1xx : fatal error C1083: Cannot open source file: '.NET': No such
file or directory
            src


4/ as a side-effect, it seems that building a vs.net solution including vcproj
*actually requires* vs.net with c++ installed, otherwise include files are not
available.


any thoughts welcome

regards

Thibaut Barrère


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to