On Sunday, 22 February 2015 at 09:30:10 UTC, Namespace wrote:
On Sunday, 22 February 2015 at 09:05:16 UTC, Mike Parker wrote:
On 2/22/2015 2:43 PM, Gan wrote:
dub.json:
{
"name": "game",
"description": "game",
"dependencies":
{
"dgame": "~master"
}
}
First, you need to change your dependency to something like
this:
"dependencies":
> {
> "dgame": "~>0.4.0"
> }
Or you can use ==0.4.0, or >=0.4.0. Just don't use
branch-based dependencies anymore (like ~master) as those are
deprecated.
Second, there's a bug in Dgame's dub.json, which is causing
compilation to error out. I'll post a PR for it.
I have the PR merged, the problem should be fixed now. Thanks
to you and growlercab.
Now it builds though crashes on run with this error:
init openAL
derelict.util.exception.SharedLibLoadException@../../.dub/packages/derelict-util-1.9.1/source/derelict/util/exception.d(35):
Failed to load one or more shared libraries:
libogg.dylib - dlopen(libogg.dylib, 2): image not found
libogg.0.dylib - dlopen(libogg.0.dylib, 2): image not found
Error executing command run: Program exited with code 1
Press any key to continue...