Closed MetalMaxMX closed 3 months ago
Hi!
SDL_GetTicks64()
was introduced in SDL 2.0.18 (see https://wiki.libsdl.org/SDL2/SDL_GetTicks64).
Looking at Debian 11's packages, it only has SDL 2.0.14 (see https://packages.debian.org/bullseye/libsdl2-2.0-0).
As a hacky workaround, you can replace it with SDL_GetTicks()
as they're both in milliseconds, but I'd strongly recommend upgrading to a later SDL, if you can.
Note that this should only effect the example applications - if you don't need them you can switch them off with -DBRENDER_BUILD_EXAMPLES=OFF
Hello!
Thanks! I was able to get this to build by setting that flag on the cmake command indeed! I can also manually upgrade SDL on my end though so maybe I can try that just to see how the examples look like.
I'll set this issue as closed! Once again, thanks!
Hello!
I am trying to compile BRender on my Linux box, which is a Debian 11 machine that runs under x86_64. Things seemed to do well up until I reached this part of the code:
Not sure exactly how to proceed from here.