raylib-d how to program a simple moving circle.
Alain De Vos
devosalain at ymail.com
Sat Nov 30 02:16:35 UTC 2024
After installing raylib library on Debian ,
https://github.com/raysan5/raylib/releases
Running "dub run" i get now the error :
```
dub run
Fetching raylib-d 5.5.1 (getting selected version)...
Performing "debug" build using /usr/bin/gdc for x86_64.
raylib-d 5.5.1: building configuration "library"...
/home/x/.dub/packages/raylib-d-5.5.1/raylib-d/source/raylib/raylib_types.d:231:25: error: found ‘:’ when expecting ‘)’
231 | return Vector2(x:(x + width), y:y);
| ^
/home/x/.dub/packages/raylib-d-5.5.1/raylib-d/source/raylib/raylib_types.d:231:40: error: found ‘:’ when expecting ‘;’ following `return` statement
231 | return Vector2(x:(x + width), y:y);
| ^
/home/x/.dub/packages/raylib-d-5.5.1/raylib-d/source/raylib/raylib_types.d:231:42: error: found ‘)’ when expecting ‘;’ following statement
231 | return Vector2(x:(x + width), y:y);
| ^
/home/x/.dub/packages/raylib-d-5.5.1/raylib-d/source/raylib/raylib_types.d:231:42: error: found ‘)’ instead of statement
231 | return Vector2(x:(x + width), y:y);
| ^
/home/x/.dub/packages/raylib-d-5.5.1/raylib-d/source/raylib/raylib_types.d:235:25: error: found ‘:’ when expecting ‘)’
235 | return Vector2(x:x, y:(y + height));
| ^
/home/x/.dub/packages/raylib-d-5.5.1/raylib-d/source/raylib/raylib_types.d:235:26: error: found ‘x’ when expecting ‘;’ following `return` statement
235 | return Vector2(x:x, y:(y + height));
| ^
/home/x/.dub/packages/raylib-d-5.5.1/raylib-d/source/raylib/raylib_types.d:235:27: error: found ‘,’ instead of statement
235 | return Vector2(x:x, y:(y + height));
| ^
/home/x/.dub/packages/raylib-d-5.5.1/raylib-d/source/raylib/raylib_types.d:239:25: error: found ‘:’ when expecting ‘)’
239 | return Vector2(x:(x + width), y:(y + height));
| ^
/home/x/.dub/packages/raylib-d-5.5.1/raylib-d/source/raylib/raylib_types.d:239:40: error: found ‘:’ when expecting ‘;’ following `return` statement
239 | return Vector2(x:(x + width), y:(y + height));
| ^
/home/x/.dub/packages/raylib-d-5.5.1/raylib-d/source/raylib/raylib_types.d:239:53: error: found ‘)’ when expecting ‘;’ following statement
239 | return Vector2(x:(x + width), y:(y + height));
| ^
/home/x/.dub/packages/raylib-d-5.5.1/raylib-d/source/raylib/raylib_types.d:239:53: error: found ‘)’ instead of statement
239 | return Vector2(x:(x + width), y:(y + height));
| ^
/home/x/.dub/packages/raylib-d-5.5.1/raylib-d/source/raylib/raylib_types.d:243:25: error: found ‘:’ when expecting ‘)’
243 | return Vector2(x:(x + width/2.0f), y:(y +
height/2.0f));
| ^
/home/x/.dub/packages/raylib-d-5.5.1/raylib-d/source/raylib/raylib_types.d:243:45: error: found ‘:’ when expecting ‘;’ following `return` statement
243 | return Vector2(x:(x + width/2.0f), y:(y +
height/2.0f));
| ^
/home/x/.dub/packages/raylib-d-5.5.1/raylib-d/source/raylib/raylib_types.d:243:63: error: found ‘)’ when expecting ‘;’ following statement
243 | return Vector2(x:(x + width/2.0f), y:(y +
height/2.0f));
|
^
/home/x/.dub/packages/raylib-d-5.5.1/raylib-d/source/raylib/raylib_types.d:243:63: error: found ‘)’ instead of statement
243 | return Vector2(x:(x + width/2.0f), y:(y +
height/2.0f));
|
^
/usr/bin/gdc failed with exit code 1.
```
More information about the Digitalmars-d-learn
mailing list