On Sunday, 16 October 2022 at 11:09:31 UTC, Decabytes wrote:
I'm trying to set up Visual Studio 2022 with Visual D, and I'm running into issues trying to get my project to build correctly.


Some recommendation to use Visual Studio:

- tutorial for installation here: https://p0nce.github.io/d-idioms/#Installing-Dlang-on-Windows

- then generate a Visual Studio solution with:

         dub generate visuald                        # default
dub generate -a x86 visuald --compiler dmd # for DMD, x86 arch dub generate -a x86_64 visuald -c conf # x86_64 arch, DUB configuration "conf" dub generate visuald --combined # single VisualD project with all deps


- if you use libraries that work with DUB they should come with static libs, or have dynamic loaders instead. Building .lib files yourself is just more annoying, and you will have to do it for each system you want to support


Reply via email to