DMD under 64-bit Windows 7 HOWTO

Jonathan Dunlap jadit2 at gmail.com
Fri Jun 28 19:28:37 PDT 2013


I followed all the instructions to a tea, but I'm getting this 
one error when compiling:
==
Can't run '"C:\Program Files (x86)\Microsoft Visual Studio 
11.0\VC\bin\amd64\link.exe"', check PATH

Exit code -1

Build complete -- 1 error, 0 warnings
==
The linked DOES exist in the below file and I can directly 
execute it from cmd:
"C:\Program Files (x86)\Microsoft Visual Studio 
11.0\VC\bin\amd64\link.exe"

My sc.ini:
[Version]
version=7.51 Build 020

[Environment]
LIB="%DEV_DIR_WINSDK%\Lib\x64";"%DEV_DIR_MSVC%\lib\amd64";"%@P%\..\lib"
DFLAGS="-m64" "-L/NOLOGO" "-I%@P%\..\..\src\phobos" 
"-I%@P%\..\..\src\druntime\import"
LINKCMD=%@P%\link.exe
LINKCMD64="%DEV_DIR_MSVC%\bin\amd64\link.exe"
==
Also, these directories also exist and have the proper libs:
%DEV_DIR_WINSDK%\Lib\x64";"%DEV_DIR_MSVC%\lib\amd64"

Help?


More information about the Digitalmars-d mailing list