Thread overview | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
February 21, 2015 Dgame revived | ||||
---|---|---|---|---|
| ||||
Today I registered Dgame on DUB. Since I do not currently have much time (I'm currently in my exams period) I hope I did everything right. Let me know if not and what could be improved. Since I left D a while ago, Dgame was also not maintained, but thanks to your demand I will maintain Dgame again. The current goal is to register Dgame successful on DUB. The next goal would be to adapt the webpage and the installation chapter and to re-register the domain dgame.dev.de After that (and after my hopefully successful exams) I will rebuild Dgame from scratch with the goal of a more consistent and better structure and with the idea in mind to use @nogc wherever possible. |
February 21, 2015 Re: Dgame revived | ||||
---|---|---|---|---|
| ||||
Posted in reply to Namespace | On Saturday, 21 February 2015 at 14:43:57 UTC, Namespace wrote:
> Today I registered Dgame on DUB. Since I do not currently have much time (I'm currently in my exams period) I hope I did everything right. Let me know if not and what could be improved.
>
> Since I left D a while ago, Dgame was also not maintained, but thanks to your demand I will maintain Dgame again. The current goal is to register Dgame successful on DUB. The next goal would be to adapt the webpage and the installation chapter and to re-register the domain dgame.dev.de
> After that (and after my hopefully successful exams) I will rebuild Dgame from scratch with the goal of a more consistent and better structure and with the idea in mind to use @nogc wherever possible.
Awesome!! great news :)
|
February 21, 2015 Re: Dgame revived | ||||
---|---|---|---|---|
| ||||
Posted in reply to Namespace | On Saturday, 21 February 2015 at 14:43:57 UTC, Namespace wrote:
> Today I registered Dgame on DUB. Since I do not currently have much time (I'm currently in my exams period) I hope I did everything right. Let me know if not and what could be improved.
>
> Since I left D a while ago, Dgame was also not maintained, but thanks to your demand I will maintain Dgame again. The current goal is to register Dgame successful on DUB. The next goal would be to adapt the webpage and the installation chapter and to re-register the domain dgame.dev.de
> After that (and after my hopefully successful exams) I will rebuild Dgame from scratch with the goal of a more consistent and better structure and with the idea in mind to use @nogc wherever possible.
Great news, thanks heaps :-)
|
February 22, 2015 Re: Dgame revived | ||||
---|---|---|---|---|
| ||||
Posted in reply to Namespace | On Saturday, 21 February 2015 at 14:43:57 UTC, Namespace wrote:
> Today I registered Dgame on DUB. Since I do not currently have much time (I'm currently in my exams period) I hope I did everything right. Let me know if not and what could be improved.
>
> Since I left D a while ago, Dgame was also not maintained, but thanks to your demand I will maintain Dgame again. The current goal is to register Dgame successful on DUB. The next goal would be to adapt the webpage and the installation chapter and to re-register the domain dgame.dev.de
> After that (and after my hopefully successful exams) I will rebuild Dgame from scratch with the goal of a more consistent and better structure and with the idea in mind to use @nogc wherever possible.
Cool, thanks for Dgame.
|
February 22, 2015 Re: Dgame revived | ||||
---|---|---|---|---|
| ||||
Posted in reply to amber | On Sunday, 22 February 2015 at 01:56:59 UTC, amber wrote: > On Saturday, 21 February 2015 at 14:43:57 UTC, Namespace wrote: >> Today I registered Dgame on DUB. Since I do not currently have much time (I'm currently in my exams period) I hope I did everything right. Let me know if not and what could be improved. >> >> Since I left D a while ago, Dgame was also not maintained, but thanks to your demand I will maintain Dgame again. The current goal is to register Dgame successful on DUB. The next goal would be to adapt the webpage and the installation chapter and to re-register the domain dgame.dev.de >> After that (and after my hopefully successful exams) I will rebuild Dgame from scratch with the goal of a more consistent and better structure and with the idea in mind to use @nogc wherever possible. > > Cool, thanks for Dgame. I can't seem to build a program with just the main method with DGame on DUB. Error: Building: game (Default) Performing main compilation... /usr/local/bin/dub build "game" "--build=debug" Building package spacecraft in /Users/Matt/DGame Test/ Package dsfml can be installed with version ~master. Package dgame can be upgraded from ~master to 0.4.0. Use "dub upgrade" to perform those changes. WARNING: A deprecated branch based version specification is used for the dependency dgame. Please use numbered versions instead. Also note that you can still use the dub.selections.json file to override a certain dependency to use a branch instead. Building derelict-util 1.9.1 configuration "library", build type debug. Running dmd... Error: unrecognized switch '-version=0.4.0' FAIL ../.dub/packages/derelict-util-1.9.1/.dub/build/library-debug-posix.osx-x86_64-dmd_2066-E0DFCC872C8A9F5E0383C82BBC088A37/ DerelictUtil staticLibrary Error executing command build: dmd failed with exit code 1. Exit code 2 Build complete -- 1 error, 0 warnings ---------------------- Done ---------------------- Build: 1 error, 0 warnings dub.json: { "name": "game", "description": "game", "dependencies": { "dgame": "~master" } } |
February 22, 2015 Re: Dgame revived | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gan | On Sunday, 22 February 2015 at 05:43:19 UTC, Gan wrote:
> On Sunday, 22 February 2015 at 01:56:59 UTC, amber wrote:
>> On Saturday, 21 February 2015 at 14:43:57 UTC, Namespace wrote:
>>> Today I registered Dgame on DUB. Since I do not currently have much time (I'm currently in my exams period) I hope I did everything right. Let me know if not and what could be improved.
>>>
>>> Since I left D a while ago, Dgame was also not maintained, but thanks to your demand I will maintain Dgame again. The current goal is to register Dgame successful on DUB. The next goal would be to adapt the webpage and the installation chapter and to re-register the domain dgame.dev.de
>>> After that (and after my hopefully successful exams) I will rebuild Dgame from scratch with the goal of a more consistent and better structure and with the idea in mind to use @nogc wherever possible.
>>
>> Cool, thanks for Dgame.
>
> I can't seem to build a program with just the main method with DGame on DUB.
> Error:
> Building: game (Default)
> Performing main compilation...
> /usr/local/bin/dub build "game" "--build=debug"
> Building package spacecraft in /Users/Matt/DGame Test/
> Package dsfml can be installed with version ~master.
> Package dgame can be upgraded from ~master to 0.4.0.
> Use "dub upgrade" to perform those changes.
> WARNING: A deprecated branch based version specification is used for the dependency dgame. Please use numbered versions instead. Also note that you can still use the dub.selections.json file to override a certain dependency to use a branch instead.
> Building derelict-util 1.9.1 configuration "library", build type debug.
> Running dmd...
> Error: unrecognized switch '-version=0.4.0'
> FAIL ../.dub/packages/derelict-util-1.9.1/.dub/build/library-debug-posix.osx-x86_64-dmd_2066-E0DFCC872C8A9F5E0383C82BBC088A37/ DerelictUtil staticLibrary
> Error executing command build: dmd failed with exit code 1.
>
> Exit code 2
> Build complete -- 1 error, 0 warnings
>
> ---------------------- Done ----------------------
>
> Build: 1 error, 0 warnings
>
>
>
> dub.json:
> {
> "name": "game",
> "description": "game",
> "dependencies":
> {
> "dgame": "~master"
> }
> }
Having this problem too.
dub.json:
{
"name": "game",
"description": "game",
"dependencies": {
"dgame": "~>0.4.0"
}
}
|
February 22, 2015 Re: Dgame revived | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jack | On Sunday, 22 February 2015 at 08:26:16 UTC, Jack wrote:
> On Sunday, 22 February 2015 at 05:43:19 UTC, Gan wrote:
>> On Sunday, 22 February 2015 at 01:56:59 UTC, amber wrote:
>>> On Saturday, 21 February 2015 at 14:43:57 UTC, Namespace wrote:
>>>> Today I registered Dgame on DUB. Since I do not currently have much time (I'm currently in my exams period) I hope I did everything right. Let me know if not and what could be improved.
>>>>
>>>> Since I left D a while ago, Dgame was also not maintained, but thanks to your demand I will maintain Dgame again. The current goal is to register Dgame successful on DUB. The next goal would be to adapt the webpage and the installation chapter and to re-register the domain dgame.dev.de
>>>> After that (and after my hopefully successful exams) I will rebuild Dgame from scratch with the goal of a more consistent and better structure and with the idea in mind to use @nogc wherever possible.
>>>
>>> Cool, thanks for Dgame.
>>
>> I can't seem to build a program with just the main method with DGame on DUB.
>> Error:
>> Building: game (Default)
>> Performing main compilation...
>> /usr/local/bin/dub build "game" "--build=debug"
>> Building package spacecraft in /Users/Matt/DGame Test/
>> Package dsfml can be installed with version ~master.
>> Package dgame can be upgraded from ~master to 0.4.0.
>> Use "dub upgrade" to perform those changes.
>> WARNING: A deprecated branch based version specification is used for the dependency dgame. Please use numbered versions instead. Also note that you can still use the dub.selections.json file to override a certain dependency to use a branch instead.
>> Building derelict-util 1.9.1 configuration "library", build type debug.
>> Running dmd...
>> Error: unrecognized switch '-version=0.4.0'
>> FAIL ../.dub/packages/derelict-util-1.9.1/.dub/build/library-debug-posix.osx-x86_64-dmd_2066-E0DFCC872C8A9F5E0383C82BBC088A37/ DerelictUtil staticLibrary
>> Error executing command build: dmd failed with exit code 1.
>>
>> Exit code 2
>> Build complete -- 1 error, 0 warnings
>>
>> ---------------------- Done ----------------------
>>
>> Build: 1 error, 0 warnings
>>
>>
>>
>> dub.json:
>> {
>> "name": "game",
>> "description": "game",
>> "dependencies":
>> {
>> "dgame": "~master"
>> }
>> }
>
> Having this problem too.
>
> dub.json:
> {
> "name": "game",
> "description": "game",
> "dependencies": {
> "dgame": "~>0.4.0"
> }
> }
I tried to post this earlier but it didn't go through for some reason...
I had the same problem and went to github to report the issue but it's already there with a PR pending. It's a one-line fix. so I manually copied what the PR does and it is now working for me.
I had to edit the dub.json file in the Dgame package (under ~/.dub/packages) and remove the "versions":["0.4.0"] line. Saved the file and rebuilt my own app. All good :)
/amber
|
February 22, 2015 Re: Dgame revived | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gan | 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.
|
February 22, 2015 Re: Dgame revived | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | 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.
|
February 22, 2015 Re: Dgame revived | ||||
---|---|---|---|---|
| ||||
Posted in reply to Namespace | 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... |
Copyright © 1999-2021 by the D Language Foundation