Dash icon indicating copy to clipboard operation
Dash copied to clipboard

Unresolvable dependencies to package vibe-d 0.7.21-rc.4

Open ProkopHapala opened this issue 5 years ago • 7 comments

I cannot get over this (i'm new to D-lang)

(dmd-2.088.0)prokop@s2-041:~/git_SW/Sample-Dash-Game$ dub
Unresolvable dependencies to package vibe-d:
  dash ~master depends on vibe-d 0.7.21-rc.4

I tried run dub both in Dash directory as well as in Sample-Dash-Game

I run it on ubuntu 18.04

ProkopHapala avatar Sep 03 '19 16:09 ProkopHapala

I got the same error as you did, except I am on macOS 10.15.1.

I'm pretty new to poking around repositories and dub.json files, but I figured I'd give this a shot.

After changing the vibe-d dependency in dub.json to "vibe-d": "0.8.6", a whole bunch of other dependency problems and deprecations showed up. For instance, Dash uses std.stream in components/mesh.d, but std.stream has since been removed from the standard library and moved to the undead dub package.

I'm going to keep poking around the dub.json file to see if I can get Dash to build with dub. :-)

willowell avatar Nov 24 '19 01:11 willowell

Hey guys, I know I'm late to the party, but I've been trying to get this working again in the feature/policyserialization branch. I've got all the dependency problems sorted, now I'm just fighting my way through various API changes.

ColdenCullen avatar Nov 02 '20 00:11 ColdenCullen

@ColdenCullen Do you need any help?

willowell avatar Nov 03 '20 23:11 willowell

That would be great! It looks like something changed in the vibe.d serializer framework and the YamlSerializer is complaining about something @safe related. If you can figure it out, I'd be super grateful!

ColdenCullen avatar Nov 04 '20 00:11 ColdenCullen

@ColdenCullen Is https://github.com/Circular-Studios/Dash/wiki/Setting-Up-Your-Environment still correct? It's been a while since I've touched D - I've been in web-dev and Haskell land the past year, so I'm a bit rusty with DUB 😅

willowell avatar Nov 06 '20 01:11 willowell

I just tweaked that page a teensie tiny bit, but honestly if all you're trying to do is build Dash, all you should need to be able to do is git clone and dub build.

ColdenCullen avatar Nov 06 '20 02:11 ColdenCullen

(also, you'll want latest DMD to test in that branch)

ColdenCullen avatar Nov 06 '20 02:11 ColdenCullen