Thread overview
derelict-gl3 + derelict-glfw3 + derelict-util (version?) - need instructions on handling basic package version dependency conflicts
April 03

When trying all 3 of these libraries together (just adding them with e.g. derelict-gl3 so latest version) I get:

C:\Users\fruit\OneDrive\Desktop\MathProjects\DerelictTest\derelicttest2>dub generate visuald
Error Unresolvable dependencies to package derelict-util:
  derelict-gl3 1.0.24 depends on derelict-util >=1.0.3
  derelict-glfw3 3.1.3 depends on derelict-util ~>2.0.4
  derelicttest2 ~master depends on derelict-util ~>2.1.0

Not sure what it means, or how to fix without spending too much time trying out all the 1000's of possible combinations of package versions.

So any hints?

April 03

On Thursday, 3 April 2025 at 04:41:14 UTC, Daniel Donnelly, Jr. wrote:

>

When trying all 3 of these libraries together (just adding them with e.g. derelict-gl3 so latest version) I get:

C:\Users\fruit\OneDrive\Desktop\MathProjects\DerelictTest\derelicttest2>dub generate visuald
Error Unresolvable dependencies to package derelict-util:
  derelict-gl3 1.0.24 depends on derelict-util >=1.0.3
  derelict-glfw3 3.1.3 depends on derelict-util ~>2.0.4
  derelicttest2 ~master depends on derelict-util ~>2.1.0

Not sure what it means, or how to fix without spending too much time trying out all the 1000's of possible combinations of package versions.

So any hints?

Derelict is no longer maintained. It was replaced by the BindBC project and that's what you should be using.

As for the issue, in case you see it somewhere else in the future, those packages all depend on derelict-util, but they depend on different versions of it and dub doesn't know how to resolve the conflict.

April 03
On Thursday, 3 April 2025 at 04:43:59 UTC, Mike Parker wrote:
> On Thursday, 3 April 2025 at 04:41:14 UTC, Daniel Donnelly, Jr. wrote:
>> [...]
>
> Derelict is no longer maintained. It was replaced by the BindBC project and that's what you should be using.
>
> As for the issue, in case you see it somewhere else in the future, those packages all depend on derelict-util, but they depend on different versions of it and dub doesn't know how to resolve the conflict.

Found this:

https://code.dlang.org/packages/raylib-d

Will try it out!  Thanks