Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Does not compile with LDC 1.30.0 & VS Build Tools 2019 #2

Open
al1-ce opened this issue Nov 5, 2022 · 3 comments
Open

Does not compile with LDC 1.30.0 & VS Build Tools 2019 #2

al1-ce opened this issue Nov 5, 2022 · 3 comments

Comments

@al1-ce
Copy link
Member

al1-ce commented Nov 5, 2022

No description provided.

@Superbelko
Copy link
Collaborator

Can you show error message?

@al1-ce
Copy link
Member Author

al1-ce commented Nov 5, 2022

godot-d_util.lib(godotutil.classes.obj) : error LNK2019: unresolved external symbol _D3std4conv13ConvException7__ClassZ referenced in function _D3std4conv__T9convErrorTAxaTiZQrFNaNfQnAyamZCQBsQBr13ConvException
godot-d_util.lib(godotutil.classes.obj) : error LNK2019: unresolved external symbol _D3std4conv13ConvException6__vtblZ referenced in function _D3std4conv__T9convErrorTAxaTiZQrFNaNfQnAyamZCQBsQBr13ConvException
godot-d_util.lib(godotutil.classes.obj) : error LNK2019: unresolved external symbol _D3std4conv13ConvException6__initZ referenced in function _D3std4conv__T9convErrorTAxaTiZQrFNaNfQnAyamZCQBsQBr13ConvException
.dub\build\library-debug-windows-x86_64-ldc_v1.30.0-F48C6C820B5FF41BE10657ACA8512AD6\dlangtest.dll : fatal error LNK1120: 56 unresolved externals
Error: C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe failed with status: 1120
ldc2 failed with exit code 1.

Plus a dozen error LNK2019 lines before ones I've copied here. So much that my terminal ran out of space

@Superbelko
Copy link
Collaborator

oh ok, have a look at demo project dub.json, it has linker flags for some reason, could be related to that.

"dflags-windows-ldc": ["-link-defaultlib-shared=false"],

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants