MinGW isn't supported by DMD and LDC. If you can't use an MS
Visual C++ toolchain to build that webview.obj (and all libs it
depends on), you could give GDC a try.
On Wednesday, 9 April 2025 at 01:23:01 UTC, Salih Dincer wrote:
On Tuesday, 8 April 2025 at 20:14:56 UTC, Andy Valencia wrote:
p.s. Ironically, I could probably have coded a getopt in less
time than I've spent on std.getopt...
:)
Please try the following example with the parameters -h, -e,
I tried linking an object built with MingW with the command
```
g++ -c libs/webview/webview.cc --std=c++14 -Ilibs/webview2
-DWEBVIEW_STATIC -mwindows -static-libgcc -static-libstdc++ -o
webview.o
```
In my source root dir, I tried:
```
dmd app.d .\webview.d .\webview.o advapi32.lib ole32.lib