Code Monkey home page Code Monkey logo

Comments (6)

ernesernesto avatar ernesernesto commented on May 26, 2024 1

@mcslee those function is not available for your macos version, this pull request will fix your issue ef5937b

from bgfx.

mcslee avatar mcslee commented on May 26, 2024 1

Great - thank you very much @ernesernesto. Figured it was likely something to do with versioning. Hopefully that'll find its way into master soon.

Adding a link to the open pull request here, for reference: #3088

from bgfx.

truedat101 avatar truedat101 commented on May 26, 2024

We've got a stack of old iOS devices around that are on 14.x, however the recommendation is to upgrade since there are serious security issues from early this year that are addressed in OS patches. There is no way to do incremental patches from 14.m.p1 to 14.m.p2 unless the device architecture is EOL. By default iOS will jump you from a 14.m.p1 -> latest OS.m.p. In the case of iOS devices, iphone 6 devices are an example of an architecture that is EOL and is not receiving major OS updates, although Apple has released patch updates for glaring security problems. The question is around the project's need to support backwards compatibility to older architectures. I would say a healthy balance is appreciated, as in the domestic education system, there is more likely to be piles of old ipads that won't ever get upgraded, and being able to support applications for years is sometimes a requirement.

from bgfx.

cclark25 avatar cclark25 commented on May 26, 2024

I am having what seems to be the same issue on macOS Monterey 12.7.1, for an Intel MacBook. This is happening on the current master branch (git commit a0057ad).

It looks like the PR linked by @ernesernesto hasn't been merged yet.

from bgfx.

cclark25 avatar cclark25 commented on May 26, 2024

Hmm looks like applying those same changes to the master branch produces a slightly different error.

...

2023-12-17 14:17:00.333 examplesDebug[32084:282070] -[MTLBufferArgument isUsed]: unrecognized selector sent to instance 0x7fe7a6268090
2023-12-17 14:17:00.334 examplesDebug[32084:282070] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MTLBufferArgument isUsed]: unrecognized selector sent to instance 0x7fe7a6268090'
*** First throw call stack:
(
        0   CoreFoundation                      0x00007ff819cad6e3 __exceptionPreprocess + 242
        1   libobjc.A.dylib                     0x00007ff819a0d8bb objc_exception_throw + 48
        2   CoreFoundation                      0x00007ff819d3232b -[NSObject(NSObject) __retain_OA] + 0
        3   CoreFoundation                      0x00007ff819c14467 ___forwarding___ + 1356
        4   CoreFoundation                      0x00007ff819c13e88 _CF_forwarding_prep_0 + 120
        5   examplesDebug                       0x0000000104ee24fd _ZN4bgfx3mtl18RendererContextMtl16processArgumentsEPNS0_16PipelineStateMtlEP7NSArrayIPU21objcproto10MTLBinding11objc_objectES8_ + 621
        6   examplesDebug                       0x0000000104e92e9e _ZN4bgfx7Context11renderFrameEi + 270
)
libc++abi: terminating with uncaught exception of type NSException
Abort trap: 6```

from bgfx.

cclark25 avatar cclark25 commented on May 26, 2024

I managed to workaround this issue by upgrading to MacOS Sonoma 14.2. It didn't even require me to rebuild bgfx.
It seems for the meantime bgfx will just be broken on older versions of MacOS.

from bgfx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.