VibeCustomMain not working

Jerry via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Apr 7 05:01:59 PDT 2016


Hello, I am trying to use vibe with DMD 2.67, dub and windows.
But in some way the default main function is sneaking in my build 
system even when I'm using VibeCustomMain version.

Main file:

import vibe.vibe;

void main() {
    writeln("Hello world");
}


And dub file:

{
     "targetType": "executable",
     "versions": [ "VibeCustomMain" ],
     "dependencies": {
	"luad": "~master",
	"kxml": "~>1.0.1",
	"jsonizer": "~>0.5.2",
	"vibe-d": "==0.7.23"
     }
}


I also tried this on DMD 2.71, 2.69 with same results. And I even 
tryed passing in VibeCustomMain manually.

Any ideas?


More information about the Digitalmars-d-learn mailing list