Quantcast
Channel: User trojanfoe - Stack Overflow
Browsing all 226 articles
Browse latest View live

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 Article


Comment 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 Article


Comment 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 Article

Comment 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 Article

Comment by trojanfoe on Error while composing Rust container: unrecognized...

What is the CPU arch of your host?

View Article


Comment by trojanfoe on visual c++ while loop isn't properly working

What is updating startup.msg.message?

View Article

Comment by trojanfoe on Programmatically query macOS screen unlock (C API)

Does this work?

View Article

Comment 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 Article


Comment 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 Article


Comment by trojanfoe on how to update clang compiler on MacOS to clang-16 (to...

Messing with the filesystem is a poor solution.

View Article

Comment 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 Article

Comment 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 Article

Comment 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 Article


Comment by trojanfoe on I am trying to compile my cpp file but it is not...

Have you followed the guide?

View Article

Comment by trojanfoe on UIImage does not release memory

Is MainView being released?

View Article


Comment 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 Article

Comment 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 Article


Comment by trojanfoe on Debugging slow binary start time on macos

"MacOS Frameworks dependencies, which are not .dylib files"... they are!

View Article

Comment by trojanfoe on How to pass a structure pointer within two function...

No, you would have to redefine the struct in func2().

View Article

Comment by trojanfoe on How to pass a structure pointer within two function...

Not quite the only option...

View Article
Browsing all 226 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>