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.