On Wednesday, 2 September 2015 at 01:07:01 UTC, Mike Parker wrote:
On Tuesday, 1 September 2015 at 20:35:43 UTC, spec00 wrote:
On Tuesday, 1 September 2015 at 20:15:28 UTC, spec00 wrote:
[...]

The problem was in me using the 64bit version of the GLFW dll. DMD doesn't support compiling to x64? I tried using the DUB flag --arch=x86_x64 but i then got an error saying:
Can't run '\bin\link.exe', check PATH

What would be the correct way to compile to x64?

Thanks,

To compile 64-bit programs on Windows, DMD requires the Microsoft toolchain. The easiest thing to do is to install the Community Edition of Visual Studio 2013 (DMD isn't yet compatible with VS 2015).

Also, you aren't using OpenGL in this example, but GLFW :)

Thanks Mike!

Reply via email to