Closed Dadoum closed 10 months ago
The code initialized an immutable variable in a static constructor. This worked with DMD, but not with LDC. Commit f58974f8502e4a102500b58689685b1c34bd66a9 solves this by making the variable mutable.
Unfortunately there are still other problems with this library and LDC on Windows. Using DMD works better for now.
Thanks for your quick response. I will try to stick with LDC since it's easier in my workflow (with cross compilation) but I will switch to DMD if that's really needed.
I fixed some other problems with LDC on Windows. The examples seem to work now.
Probably something in module constructors going wrong.