Thread overview
Setting up DMD on windows
Feb 03, 2018
welkam
Feb 04, 2018
Rubn
Feb 04, 2018
Seb
Feb 04, 2018
Rubn
Feb 04, 2018
Seb
February 03, 2018
Tried to use DMD compiler that I built from source by following these instructions https://wiki.dlang.org/Building_under_Windows

They are outdated but I managed to compile it but I get this error when I tried to compile some code.

dmdm -run Main.d
C:\D\dmd2\windows\32\..\..\src\druntime\import\core\sys\windows\winbase.d(1828): Error:
object.Error@(0): Access Violation
----------------
0x0064FED6
0x006502BE
0x006499CF
0x006488ED



dmdm is just alias dmdm=C:\D\dmd2\windows\32\dmd.exe $*

the compiler version is dmd-2.078.0

Could some one help fix this?
February 04, 2018
On Saturday, 3 February 2018 at 23:42:28 UTC, welkam wrote:
> Tried to use DMD compiler that I built from source by following these instructions https://wiki.dlang.org/Building_under_Windows
>
> They are outdated but I managed to compile it but I get this error when I tried to compile some code.
>
> dmdm -run Main.d
> C:\D\dmd2\windows\32\..\..\src\druntime\import\core\sys\windows\winbase.d(1828): Error:
> object.Error@(0): Access Violation
> ----------------
> 0x0064FED6
> 0x006502BE
> 0x006499CF
> 0x006488ED
>
>
>
> dmdm is just alias dmdm=C:\D\dmd2\windows\32\dmd.exe $*
>
> the compiler version is dmd-2.078.0
>
> Could some one help fix this?

I think you have to build with an old version of MSVC, 2010 maybe? It's been a while since I built it I don't remember the exactly which version ended up working.

February 04, 2018
On Sunday, 4 February 2018 at 01:23:50 UTC, Rubn wrote:
> On Saturday, 3 February 2018 at 23:42:28 UTC, welkam wrote:
>> [...]
>
> I think you have to build with an old version of MSVC, 2010 maybe? It's been a while since I built it I don't remember the exactly which version ended up working.

2013 and 2015 are tested on the CIs.
February 04, 2018
On Sunday, 4 February 2018 at 01:33:05 UTC, Seb wrote:
> On Sunday, 4 February 2018 at 01:23:50 UTC, Rubn wrote:
>> On Saturday, 3 February 2018 at 23:42:28 UTC, welkam wrote:
>>> [...]
>>
>> I think you have to build with an old version of MSVC, 2010 maybe? It's been a while since I built it I don't remember the exactly which version ended up working.
>
> 2013 and 2015 are tested on the CIs.

Wasn't that just added? I don't think that CI was running for the version he is trying to compile.
February 04, 2018
On Sunday, 4 February 2018 at 17:11:21 UTC, Rubn wrote:
> On Sunday, 4 February 2018 at 01:33:05 UTC, Seb wrote:
>> On Sunday, 4 February 2018 at 01:23:50 UTC, Rubn wrote:
>>> On Saturday, 3 February 2018 at 23:42:28 UTC, welkam wrote:
>>>> [...]
>>>
>>> I think you have to build with an old version of MSVC, 2010 maybe? It's been a while since I built it I don't remember the exactly which version ended up working.
>>
>> 2013 and 2015 are tested on the CIs.
>
> Wasn't that just added? I don't think that CI was running for the version he is trying to compile.

IIRC 2013 is the version auto-tester is using and in use for a couple of years.
Only AppVeyor (VS 2015) was added recently.