bmx-ng / ray.mod

BlitzMax raylib binding
zlib License
14 stars 2 forks source link

Raylib and Timers #3

Open Kerntrick opened 3 years ago

Kerntrick commented 3 years ago

When using Raylib, if you import Brl.DefaultTimer, errors start showing up about confilicts in definitions. I've seen these 2 so far: "multiple definition of `ShowCursor'" "Duplicate identifier 'key_escape' found in module 'brl.keycodes' and module 'ray.lib'." Example:

SuperStrict Framework brl.basic Import ray.lib Import ray.GUI Import brl.timerdefault

Print "Here"

Sorry that I don't have time to dig deeper into this today.

Hezkore commented 3 years ago

Yeah I'm getting the ShowCursor error as well. All I have to do is this:

Framework ray.lib
Import brl.system
Import brl.systemdefault

Might be Windows specific?

MikeHart66 commented 3 years ago

I ran into the same problems when trying to integrate Raylib in CX. Raylib doesn't have prefixed its function names, so you will run into conflicts at one point.