Having trouble cross-compiling from linux to windows

kinke noone at nowhere.com
Sun Jan 15 11:21:46 UTC 2023


On Saturday, 14 January 2023 at 22:54:13 UTC, TheZipCreator wrote:
> actually, nevermind. I tried to compile something more 
> substantial (my terminal game, 
> [qonquest](https://github.com/TheZipCreator/qonquest)) as a 
> test and I got the following errors:
> [...]

Not sure if that's the problem, but as mentioned on 
https://wiki.dlang.org/Cross-compiling_with_LDC, it is absolutely 
crucial that the Windows libs are copied from a Windows package 
*of the same version as your host LDC* (so that the bundled 
importable .d files match the prebuilt libs). You seem to be 
using a CI build (`…-git-501c657`), so the Windows package needs 
to be from the same CI build.


More information about the digitalmars-d-ldc mailing list