Having trouble cross-compiling from linux to windows

TheZipCreator thezipcreator at protonmail.com
Sat Jan 14 22:54:13 UTC 2023


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:
```
lld-link: error: undefined symbol: 
_D3std4file8DirEntry4nameMxFNaNbNdNjNlNfZAya
>>> referenced by /home/z/code/d/qonquest/source/script.d:236
>>>               
>>> .dub/build/application-debug-windows-x86_64-ldc_v1.30.0-git-501c657-B35CDD9344888E5E741CE71FFBE20530/qonquest.obj:(_D6script11loadScriptsFAyaPS4arsd8terminal8TerminalZv)
>>> referenced by /home/z/code/d/qonquest/source/saveload.d:82
>>>               
>>> .dub/build/application-debug-windows-x86_64-ldc_v1.30.0-git-501c657-B35CDD9344888E5E741CE71FFBE20530/qonquest.obj:(_D8saveload8saveListFZAya)
>>> referenced by 
>>> /home/z/.dub/packages/arsd-official-10.9.8/arsd-official/terminal.d:7391
>>>               
>>> arsd-official_terminal.lib(arsd.terminal.obj):(_D4arsd8terminal14FileLineGetter11tabCompleteMFIAwIQdZAAya)

lld-link: error: undefined symbol: 
_D6object9Throwable4nextMNgFNaNbNdNiNjNlNfZNgCQBsQBo
>>> referenced by 
>>> .dub/build/application-debug-windows-x86_64-ldc_v1.30.0-git-501c657-B35CDD9344888E5E741CE71FFBE20530/qonquest.obj:(vtable for script.ScriptException)
>>> referenced by 
>>> .dub/build/application-debug-windows-x86_64-ldc_v1.30.0-git-501c657-B35CDD9344888E5E741CE71FFBE20530/qonquest.obj:(vtable for app.CommandException)
>>> referenced by 
>>> arsd-official_terminal.lib(arsd.terminal.obj):(vtable for 
>>> arsd.terminal.UserInterruptionException)
>>> referenced 1 more times
```
which both appear to be phobos/druntime things


More information about the digitalmars-d-ldc mailing list