Closed Anonymous941 closed 11 months ago
Please update to DMD 2.099.0 or later. (Current version is 2.105.2) GCC 12.1 or later is also compatible.
Now I'm getting another error, it appears to be trying to compile for Windows even though I'm using Linux:
/home/admin/.dub/packages/d_imgui/1.89.2/d_imgui/backends_d/imgui_windows.d(11,31): Error: undefined identifier `HANDLE`
/home/admin/.dub/packages/d_imgui/1.89.2/d_imgui/backends_d/imgui_windows.d(21,6): Error: undefined identifier `BOOL`
/home/admin/.dub/packages/d_imgui/1.89.2/d_imgui/backends_d/imgui_windows.d(26,27): Error: undefined identifier `PVOID`
/home/admin/.dub/packages/d_imgui/1.89.2/d_imgui/backends_d/imgui_windows.d(26,27): Error: undefined identifier `SIZE_T`
/home/admin/.dub/packages/d_imgui/1.89.2/d_imgui/backends_d/imgui_windows.d(26,27): Error: undefined identifier `BYTE`
/home/admin/.dub/packages/d_imgui/1.89.2/d_imgui/backends_d/imgui_windows.d(27,27): Error: undefined identifier `PVOID`
/home/admin/.dub/packages/d_imgui/1.89.2/d_imgui/backends_d/imgui_windows.d(27,27): Error: undefined identifier `SIZE_T`
/home/admin/.dub/packages/d_imgui/1.89.2/d_imgui/backends_d/imgui_windows.d(34,26): Error: undefined identifier `LPARAM`
/home/admin/.dub/packages/d_imgui/1.89.2/d_imgui/backends_d/imgui_windows.d(35,26): Error: undefined identifier `LPARAM`
/home/admin/.dub/packages/d_imgui/1.89.2/d_imgui/backends_d/imgui_windows.d(36,26): Error: undefined identifier `WPARAM`
Error /usr/bin/dmd failed with exit code 1.
See #117. The fix has been merged, but it doesn't seem the tags have properly propagated yet.
Ah, I remember that now. Somehow ~/.dub/d_imgui-1.89.2/d_imgui
contains these patches but ~/.dub/packages/d_imgui/1.89.2/d_imgui
is being used instead, so I manually patched them and it built
When I try to build the latest version, I get this error hundreds of times:
This is repeated many times and with many different files.