On Monday, 31 October 2022 at 20:31:11 UTC, ryuukk_ wrote:
On Monday, 31 October 2022 at 20:20:49 UTC, WhatMeWorry wrote:
I've got a pretty straightforward SDL dub file
dependency "bindbc-opengl"    version="~>1.0.3"
versions "GL_46"
dependency "bindbc-glfw"      version="~>1.0.1"
versions "GLFW_33"
dependency "gl3n"             version="~>1.4.1"
dependency "bindbc-freeimage" version="~>0.1.1"
versions "FI_317"


Unresolvable dependencies to package bindbc-loader:
  bindbc-freeimage 0.1.1 depends on bindbc-loader ~>0.2.1
  bindbc-freeimage 0.1.1 depends on bindbc-loader ~>0.2.1
  bindbc-glfw 1.0.1 depends on bindbc-loader ~>1.0.0
  bindbc-glfw 1.0.1 depends on bindbc-loader ~>1.0.0
  bindbc-opengl 1.0.3 depends on bindbc-loader ~>1.0.0
..\duball.exe exited with code 2


How to I tell dub that I want some packages to use different versions of the same package, bindbc-loader, in this case?


You are using a very old version of freeimage, i suggest upgrading to the the latest one:

1.0.2 - https://code.dlang.org/packages/bindbc-freeimage


Thank you. Specifying the newest freeimage package solved the problem. But now bindbc-assimp wants an older version of bindbc-loader but bindbc-assimp is at the most recent version. So is there a way to specify bindbc-loader ~>0.2.1 just for bindbc-assimp?

Unresolvable dependencies to package bindbc-loader:
  bindbc-assimp 0.0.1 depends on bindbc-loader ~>0.2.1
  bindbc-freeimage 1.0.2 depends on bindbc-loader ~>1.0.0
  bindbc-glfw 1.0.1 depends on bindbc-loader ~>1.0.0
  bindbc-opengl 1.0.3 depends on bindbc-loader ~>1.0.0
..\duball.exe exited with code 2




Reply via email to