GuvaCode / ray4laz

A complete header translation (binding) of the raylib 5.0 to Pascal. Without any funky helper functions for memory alignment issues. Inspired and partially based on the drezgames/raylib-pascal binding, however a little cleaner and more recent, with FPC 3.2.0 and up support.
https://www.raylib.com/
zlib License
98 stars 18 forks source link

Nothing works #5

Closed Ifelsethendo closed 2 years ago

Ifelsethendo commented 2 years ago

Installed through package manager. Load examples. If there is not some error like: models_animation.pas(31,40) Error: Call by var for arg no. 1 has to match exactly: Got "Pointer" expected "TMaterial" ray_header.pas(1270,11) Hint: Found declaration: SetMaterialTexture(var TMaterial;LongInt;TTexture); CDecl;

Then the example compiles, runs, exits without anything ever showing up on screen.

Same with the program template from the file> new menu.

GuvaCode commented 2 years ago

Could you please tell me what kind of system you have? Windows or Linux? What version of raylib is installed?

GuvaCode commented 2 years ago

Yes, there is a problem with Windows. Namely with the DrawModelEx function.

Ifelsethendo commented 2 years ago

Ah, okay, thanks for response. Have fun!

On Sat, Nov 6, 2021 at 3:22 AM Gunko Vadim @.***> wrote:

Yes, there is a problem with Windows. Namely with the DrawModelEx function.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GuvaCode/Ray4Laz/issues/5#issuecomment-962423864, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWIJOZBQELCISWUPSHHS5DDUKTXU7ANCNFSM5HOSRVTA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.