Thibaut

use command line to go to root directory root do a dir /AD /X
and use the the shortened (8 character) folder name in your include
e.g.
06/13/2004  05:26p      <DIR>          PROGRA~1        Program Files
03/22/2004  11:16a      <DIR>          MICROS~3.NET    Microsoft Visual
Studio .NET 2003

so.. X:\Program Files\Microsoft Visual Studio .NET 2003
becomes X:\PROGRA~1\MICROS~3.NET

Does this help???
Martin

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 14, 2004 6:15 AM
Subject: [Nant-users] NAnt, VC++.Net, standard/additional include
directories, and quotes


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


-------------------------------------------------------
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