VisualD Console App does not compile on default install VS 2010

markmnl via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Apr 29 20:44:14 PDT 2014


Platform: Windows 8.1 Update 1

After running the all-in-one Windows setup: dmd-2.065.0.exe, and 
creating a new D Console Application in VS 2010 then trying to 
build the application, the build fails with the below written to 
the buildlog.html.

I can confirm writing the Tutorial's Hello World compiles and the 
exe runs from the command line.

set PATH=C:\D\dmd2\windows\\bin;C:\Program Files (x86)\Microsoft 
SDKs\Windows\v7.0A\\\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:\D\dmd2\windows\bin\..\lib"
echo. > Debug\ConsoleApp1.build.lnkarg
echo 
"Debug\ConsoleApp1.obj","Debug\ConsoleApp1.exe_cv","Debug\ConsoleApp1.map",user32.lib+ 
 >> Debug\ConsoleApp1.build.lnkarg
echo kernel32.lib/NOMAP/CO/NOI >> Debug\ConsoleApp1.build.lnkarg

"C:\Program Files (x86)\VisualD\pipedmd.exe" -deps 
Debug\ConsoleApp1.lnkdep C:\D\dmd2\windows\bin\link.exe 
@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


More information about the Digitalmars-d-learn mailing list