Comment by trojanfoe on Compiler cannot produce code for this version of Qt...
It seems to think it is generating for macOS, and not iOS...
View ArticleComment by trojanfoe on When using this code, I get a syntax error in the...
Start by using raw strings (r"...") as that will help with the backslashes.
View ArticleComment by trojanfoe on Visual Studio, clang: error: linker command failed...
I've never run stuff directly in VSCode as I am not sure how it works. How does it know which libraries to link, etc? You might have more luck using CMake with VSCode. Even then I have issues with...
View ArticleComment by trojanfoe on CMake and Ninja - Problems with dollar sign in custom...
What is the dollar sign actually used for in the custom command?
View ArticleComment by trojanfoe on Error while composing Rust container: unrecognized...
What is the CPU arch of your host?
View ArticleComment by trojanfoe on visual c++ while loop isn't properly working
What is updating startup.msg.message?
View ArticleComment by trojanfoe on Visual Studio Code reverted to an older version when...
There are two different install types for vscode; user-level and system-level. Perhaps you have both installed?
View ArticleComment by trojanfoe on SFML/C++ Why does my method to move the enemy towards...
You are overthinking the issue. To move A towards B at a given speed you need to do nothing more than auto dir = normalize(B - A); A += dir * (speed * deltaTime);
View ArticleComment by trojanfoe on how to update clang compiler on MacOS to clang-16 (to...
Messing with the filesystem is a poor solution.
View ArticleComment by trojanfoe on Trouble with shared state updates between threads...
My initial suspicion would be the scoping of your mutex locks; try with them inside braces. You could also verify that in a debugger to see what the threads are doing.
View ArticleComment by trojanfoe on Rust Tetra Fails to Compile on MacOS
I would recommend the winit crate for creating Windows. However if you're set on this path, the actual issue is that you haven't told the linker where to find the SDL library.
View ArticleComment by trojanfoe on C++ Compilation on Mac M3: error: 'value' is...
I suspect getting -mmacosx-version-min=10.13 into the compiler and linker command line would solve this. How you do that depends on the build system being used.
View ArticleComment by trojanfoe on I am trying to compile my cpp file but it is not...
Have you followed the guide?
View ArticleComment by trojanfoe on Why can I only distribute "Custom" from Xcode?
I think for distribution to TestFlight, the app just needs signing with the iOS App Development certificate.
View ArticleComment by trojanfoe on Implement a custom log target with shared access
Can you explain what you're trying to achieve? This looks like it might be better implemented using a custom logger, rather than using env_logger.
View ArticleComment by trojanfoe on Debugging slow binary start time on macos
"MacOS Frameworks dependencies, which are not .dylib files"... they are!
View ArticleComment by trojanfoe on How to pass a structure pointer within two function...
No, you would have to redefine the struct in func2().
View ArticleComment by trojanfoe on How to pass a structure pointer within two function...
Not quite the only option...
View Article