How do you compile DMD on Windows?

Blatnik blatblatnik at gmail.com
Sun May 2 00:40:35 UTC 2021


On Saturday, 1 May 2021 at 23:49:49 UTC, Blatnik wrote:
> Here's hoping that phobos isn't as annoying >.>

It is just as annoying. Even after patching the paths, still 
errors out..

```
C:\D\phobos>make -f win64.mak -j4 phobos64.lib
cd etc\c\zlib
"make" -f win64.mak MODEL=64 zlib64.lib "CC=C:\Program Files 
(x86)\Microsoft Visual 
Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\Hostx64\x64\cl" "LIB=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\Hostx64\x64\lib" "VCDIR=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910"
make[1]: Entering directory 'C:/D/phobos'
make[1]: *** No rule to make target 'zlib64.lib'.  Stop.
make[1]: Leaving directory 'C:/D/phobos'
make: *** [win64.mak:512: etc\c\zlib\zlib64.lib] Error 2
```

So then I gave up and tried Digger. I should have just tried that 
from the start. It just worked.


More information about the Digitalmars-d-learn mailing list