Comment by trojanfoe on macOS: Installing pkg file on Apple Silicon
I recently created a Universal macOS app that was distributed as a .pkg and did not receive prompts to install Rosetta. I don't know what Installer.app is but I used pkgbuild to create the .pkg.
View ArticleComment by trojanfoe on number of enum items
Remove the initialisation values, so INVALID is 0, and it will be 3.
View ArticleComment by trojanfoe on How to prevent windows being scaled in SFML?
You need to understand the difference between point size and pixel size. I am sure SFML has functions to get the current pixel size, as well as the point scale factor to help you out here. Note also,...
View ArticleComment by trojanfoe on Trying to render a checkerboard with Bevy
If you want to render a grid, on a plane, then that can be done with a shader. Does each square in the grid need to exist separately for some reason?
View ArticleComment by trojanfoe on Java runtime issue on mac
That's not enough detail to help you.
View ArticleComment by trojanfoe on Change git user
Did you commit using your old name/e-mail? If so, that's where it's stored.
View ArticleComment by trojanfoe on Swift execute multiple command in one Process?
@JoakimDanielson even if he parses the command line and does different things depending what it contains?
View ArticleComment by trojanfoe on -O3 optimisation in C++ causing disk write function...
Please add if(!foo) return 2; after writing to foo and print the return value of writeToDisk().
View ArticleComment by trojanfoe on How to correctly link modules in cpp using CMake
Please show both the declaration and definition of that method.
View ArticleComment by trojanfoe on Boolean not changing across all instances of a script
Please add more tags; what programming language and what game framework?
View ArticleComment by trojanfoe on An error Command PhaseScriptExecution failed with a...
So what's the error message? You can see that by expanding the line in the build log.
View ArticleComment by trojanfoe on How do I suppress this Xcode static analyzer warning?
@l'L'l The Xcode static analyser seems to use different flags to the normal compiler warnings. It doesn't appear to have any inline way of suppressing warnings you have no control over; I've spent a...
View ArticleComment by trojanfoe on CMAKE_OSX_DEPLOYMENT_TARGET does not take an effect...
I think setting the env-vars MACOSX_DEPLOYMENT_TARGET or IPHONEOS_DEPLOYMENT_TARGET will probably work.
View ArticleComment by trojanfoe on Crash using Metal buffers
@RemcoPoelstra Did you ever solve this issue? I am seeing similar issues using metal-cpp when uploading data from MTL::Buffer to MTL::Texture where the buffer was created in a background thread. I...
View ArticleComment by trojanfoe on Problem Installing Homebrew on Mac Sonoma 14.1
What does xcode-select --install do?
View ArticleComment by trojanfoe on Spritekit crashes sporadically on SKAction.move
OK so NoteScene.swift:245:17 is where you need to focus. It looks like an issue with an array within an SKNode, no doubt an out-of-bounds. If there is multi-threading is play here, then I would look...
View ArticleComment by trojanfoe on Trying to render a checkerboard with Bevy
If you want to render a grid, on a plane, then that can be done with a shader. Does each square in the grid need to exist separately for some reason?
View ArticleComment by trojanfoe on Why won't Cmake build my vulkan/spirv shaders?
This won't rebuild the .spv if the shader is modified though, will it?
View Article