On Mon, 27 May 2013 22:17:55 GMT, Meta wrote:
I just started my first vibe.d project, but I can't get a simple example from the website to compile. I started by using dub init
, then changed to the created directory and used dub generate visuald. I opened up package.json and added "dependencies": { "vibe-d": ">=0.7.15" }, "versions": [ "VibeCustomMain" ]
I then ran dub upgrade, opened up app.d, and pasted in this:
(...)
I think you just need to regenerate the VisualD solution (which should also automatically fetch dependencies, so no explicit dub upgrade
is usually needed). But I'll add a ticket to remember adding a script to the generated project that automatically regenerates itself when package.json is changed, similar to what CMake does.