Windows 64
Casper Færgemand" <shorttail at hotmail.com>
Casper Færgemand" <shorttail at hotmail.com>
Mon Oct 7 03:21:01 PDT 2013
On Monday, 7 October 2013 at 07:03:39 UTC, Rainer Schuetze wrote:
> The linker does not find the import libraries from the Windows
> SDK, so it hits the 32-bit libraries that come with dmd.
>
> The released sc.ini does not work with VS2012+ or a Windows SDK
> 8, you should add the following lines to it:
>
> [Environment64]
> LIB=%@P%\..\lib;%VCINSTALLDIR%\lib\amd64;%WindowsSdkDir%\Lib\win8\um\x64
> ;; for some additional improvements
> PATH=%PATH%;%VCINSTALLDIR%\bin\x86_amd64;%VCINSTALLDIR%\..\Common7\IDE
> DFLAGS=%DFLAGS% -L/OPT:NOICF
Thank you. I added the lines and I'm still getting the same 103
unresolved externals. Commenting out stuff in the file makes dmd
throws other errors, so I'm sure I'm editing the correct sc.ini.
Where are the correct libraries supposed to be exactly?
More information about the Digitalmars-d-learn
mailing list