dmd can't build gtk x64

FoxyBrown via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jul 28 16:57:40 PDT 2017


On Friday, 28 July 2017 at 22:45:58 UTC, FoxyBrown wrote:
> Error: can't run 
> 'C:\VS\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64', check PATH
>
> It is trying to run some x64.exe/com/bat file... why? What is 
> this file?
>
> simply doing dmd -m64 build.d
>
> Works fine for x86.


I was able to get this to work by copying all the required lib's 
to the lib dir from the windows sdk(liburct.lib, shell32.lib) and 
copying link.exe to x64.

The program compiles, but when ran, I get the error

object.Exception at generated\gtkd\gtkd\Loader.d(125): Library load 
failed (libgdk-3-0.dll):  is not a valid Win32 application.

which I assume is due to the fact that I have x86 gtk installed(I 
think, as I thought I installed the dual package... can't seem to 
find x64 gtk3+ standalone).




More information about the Digitalmars-d-learn mailing list