Visual D 0.3.40 unable to build projects under path names with spaces

finalpatch via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Tue Feb 3 05:42:41 PST 2015


FYI, here's the cmd file

set PATH=C:\Users\fengli\Apps\dmd2\windows\bin;C:\Program Files 
(x86)\Microsoft Visual Studio 12.0\\Common7\IDE;C:\Program Files 
(x86)\Windows Kits\8.1\\bin;%PATH%
dmd -g -debug -X -Xf"Debug\ConsoleApp1.json" 
-deps="Debug\ConsoleApp1.dep" -c -of"Debug\ConsoleApp1.obj" main.d
if errorlevel 1 goto reportError

set LIB="C:\Users\fengli\Apps\dmd2\windows\bin\..\lib"
echo. > c:\users\fengli\documents\visual studio 
2013\Projects\ConsoleApp1\ConsoleApp1\Debug\ConsoleApp1.build.lnkarg
echo 
"Debug\ConsoleApp1.obj","Debug\ConsoleApp1.exe_cv","Debug\ConsoleApp1.map",user32.lib+ 
 >> c:\users\fengli\documents\visual studio 
2013\Projects\ConsoleApp1\ConsoleApp1\Debug\ConsoleApp1.build.lnkarg
echo kernel32.lib/NOMAP/CO/NOI/DELEXE >> 
c:\users\fengli\documents\visual studio 
2013\Projects\ConsoleApp1\ConsoleApp1\Debug\ConsoleApp1.build.lnkarg

"C:\Program Files (x86)\VisualD\pipedmd.exe" -deps 
Debug\ConsoleApp1.lnkdep 
C:\Users\fengli\Apps\dmd2\windows\bin\link.exe 
@c:\users\fengli\documents\visual studio 
2013\Projects\ConsoleApp1\ConsoleApp1\Debug\ConsoleApp1.build.lnkarg
if errorlevel 1 goto reportError
if not exist "Debug\ConsoleApp1.exe_cv" (echo 
"Debug\ConsoleApp1.exe_cv" not created! && goto reportError)
echo Converting debug information...
"C:\Program Files (x86)\VisualD\cv2pdb\cv2pdb.exe" 
"Debug\ConsoleApp1.exe_cv" "Debug\ConsoleApp1.exe"
if errorlevel 1 goto reportError
if not exist "Debug\ConsoleApp1.exe" (echo 
"Debug\ConsoleApp1.exe" not created! && goto reportError)

goto noError

:reportError
echo Building Debug\ConsoleApp1.exe failed!

:noError


On Tuesday, 3 February 2015 at 10:08:38 UTC, finalpatch wrote:
> You are absolutely right! I remember I have disabled short file 
> names on my NTFS volume that's why long names with space get in 
> there!
>
>
> On Monday, 2 February 2015 at 19:06:08 UTC, Rainer Schuetze 
> wrote:
>> Maybe there is something wrong with the "short" names?



More information about the Digitalmars-d-ide mailing list