On Thu, 11 May 2017 20:52:43 +0200, Mike Wey wrote:

On 05/11/2017 07:44 PM, Antonio Corbi wrote:

Hi Mike,

I've just updated the dependency for gtk-d in dub of one of my projects from ~>3.3.0 to ~>3.6.0.
Dub selects 3.6.1, but when building the gtk-d library with 'dub build' I get this error:

Error: module gtkc.cairo from file ../../../../.dub/packages/gtk-d-3.6.1/gtk-d/src/cairo/gtkc/cairo-runtime.d conflicts with another module cairo from file ../../../../.dub/packages/gtk-d-3.6.1/gtk-d/src/cairo/gtkc/cairo-compiletime.d

Is it a known problem? Do I have to do something in order to compile gtk-d 3.6.x as a dependency in my projects?

Thanks!

I wasn't a known problem, dub was picking up the src directory but that
contains the source for the generated code.

I've set the soucedir for the main package and tagged it 3.6.2, so you
can either use 3.6.2 or use one of the subpackages as the dependency.

All seems to be working now!

Antonio