I can do "dub add raylib-d" but i have no clue to program a simple moving circle.
Thread overview | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
November 29 raylib-d how to program a simple moving circle. | ||||
---|---|---|---|---|
| ||||
November 29 Re: raylib-d how to program a simple moving circle. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alain De Vos | On Friday, 29 November 2024 at 21:37:48 UTC, Alain De Vos wrote: >I can do "dub add raylib-d" but i have no clue to program a simple moving circle. Following program has an import error
|
November 29 Re: raylib-d how to program a simple moving circle. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alain De Vos | On Friday, 29 November 2024 at 22:02:23 UTC, Alain De Vos wrote: >On Friday, 29 November 2024 at 21:37:48 UTC, Alain De Vos wrote: >I can do "dub add raylib-d" but i have no clue to program a simple moving circle. Following program has an import error
Makes no sense. Can you post the dub.json? -Steve |
November 30 Re: raylib-d how to program a simple moving circle. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | On Friday, 29 November 2024 at 22:35:14 UTC, Steven Schveighoffer wrote: >On Friday, 29 November 2024 at 22:02:23 UTC, Alain De Vos wrote: >On Friday, 29 November 2024 at 21:37:48 UTC, Alain De Vos wrote: >I can do "dub add raylib-d" but i have no clue to program a simple moving circle. Following program has an import error
Makes no sense. Can you post the dub.json? -Steve I had Canvasity in dub.json , so i removed it.
|
November 30 Re: raylib-d how to program a simple moving circle. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alain De Vos | vscode no longer complains. But "dub run" gives,
|
November 30 Re: raylib-d how to program a simple moving circle. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alain De Vos | I see i don't have the raylib library installed. And there is none available on redcore-linux(a gentoo derivative). |
November 30 Re: raylib-d how to program a simple moving circle. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alain De Vos | After installing raylib library on Debian , Running "dub run" i get now the error :
|
November 30 Re: raylib-d how to program a simple moving circle. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alain De Vos | On Saturday, 30 November 2024 at 01:28:44 UTC, Alain De Vos wrote: >vscode no longer complains. But "dub run" gives,
This is because you didn't have the library available. I highly recommend using the raylib-d:install script as mentioned in the README Not only does this copy the exactly correct library to your local directory, it also offers to update your dub.json to provide the appropriate linker directives for linking. -Steve |
November 30 Re: raylib-d how to program a simple moving circle. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alain De Vos | On Saturday, 30 November 2024 at 02:16:35 UTC, Alain De Vos wrote: >After installing raylib library on Debian , Running "dub run" i get now the error :
You are using an older version of gdc. I don't follow the gdc releases, but it's possible even the latest available doesn't support named parameters, as that is a recent addition. In any case, I still recommend using the raylib-d:install script, and you can do this without having to install a library package from your OS. -Steve |
November 30 Re: raylib-d how to program a simple moving circle. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | dub run raylib-d:install solved the problem. Thanks |