Access Violation while trying to use OpenGL

spec00 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 2 11:31:30 PDT 2015


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!


More information about the Digitalmars-d-learn mailing list