Comments (6)
@mcslee those function is not available for your macos version, this pull request will fix your issue ef5937b
from bgfx.
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.
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.
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.
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.
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)
- Vulkan renderer crashes after only a couple thousand draw calls. HOT 12
- One test fails HOT 4
- Dynamic vertex buffers getting overwritten after bgfx::update HOT 19
- With GL renderer and wayland, switching to full screen with crtl-f results in nothing (nvidia) or not much (amd) being rendered HOT 2
- Blitting between two textures with BackbufferRatio sizes crashes when window is resized
- xx-splat - 3D Gaussian Splatting for Real-Time Radiance Field Rendering HOT 11
- Vulkan fail to create swapchain on Wayland (Call to a X11 function ?) HOT 9
- Bug: DX3D12 crash in Debug mode HOT 7
- Small fix on soname defining on ldflags for Android examples. HOT 2
- Crash on linux (default backend - vulkan) with custom window handle and native display is NULL HOT 6
- Shaderc.cpp incorrectly adds PSSL preamble to compute shader HOT 1
- macOS version compatibility HOT 2
- Bad Vulkan performance due to weak index/vertex buffer management HOT 1
- Crash on resize: Nvidia RTX 4090 + Vulkan + Linux HOT 3
- Metal: example-01-helloworld corrupted render when MSAA is enabled HOT 2
- Shifted window buffer location when resizing a window HOT 1
- Vulkan Backend - incorrect mipmap generation for cubemap frame buffers. HOT 4
- Unable to build bgfx for iOS Simulator x86_64 arch HOT 4
- Vulkan on Android: the frame isn't updating (ONLY THE FIRST FRAME IS RENDERED) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bgfx.