RejectedSoftware Forums

Sign up

New install win32 dmd 2.063

Hey, having some trouble getting up and running with vibe using latest DMD (2.063):

Downloaded dub, created a new project as per the installation docs on the website, copied the simple server example and removed any render calls. Ran DUB in the root folder and got this message (I had already run DUB to install vibe.d, version is 0.7.15):

Checking dependencies in 'c:\cal\D\DSource\newVibe'
Building configuration "application", build type debug
Copying files...
Running dmd (compile)...
.dub\packages\vibe-d\source\vibe\vpm\installation.d(35): Warning: const field with initializer shoul
d be static, __gshared, or an enum
Error: Build command failed with exit code 1

Run 'dub help' for usage information.

I see that the warning is fixed in Git HEAD, but is vibe working with 2.063 currently? Can DUB be forced to use a GIT snapshot of vibe.d?

Thanks alot for any help!

Re: New install win32 dmd 2.063

On Tue, 11 Jun 2013 03:40:26 GMT, cal wrote:

Hey, having some trouble getting up and running with vibe using latest DMD (2.063):

Downloaded dub, created a new project as per the installation docs on the website, copied the simple server example and removed any render calls. Ran DUB in the root folder and got this message (I had already run DUB to install vibe.d, version is 0.7.15):

Checking dependencies in 'c:\cal\D\DSource\newVibe'
Building configuration "application", build type debug
Copying files...
Running dmd (compile)...
.dub\packages\vibe-d\source\vibe\vpm\installation.d(35): Warning: const field with initializer shoul
d be static, __gshared, or an enum
Error: Build command failed with exit code 1

Run 'dub help' for usage information.

I see that the warning is fixed in Git HEAD, but is vibe working with 2.063 currently? Can DUB be forced to use a GIT snapshot of vibe.d?

Thanks alot for any help!

try changing your dependencies to :

"dependencies": {
	"vibe-d": "~master",
	"libevent": "~master",
	"libev": "~master",
	"openssl": "~master"
}

Re: New install win32 dmd 2.063

On Tue, 11 Jun 2013 07:10:59 GMT, maarten wrote:

On Tue, 11 Jun 2013 03:40:26 GMT, cal wrote:
try changing your dependencies to :

"dependencies": {
	"vibe-d": "~master",
	"libevent": "~master",
	"libev": "~master",
	"openssl": "~master"
}


Perfect! thank you, that worked.