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

Comment by trojanfoe on macOS dyld no such file even though file exists

What is rpath set to in the executable? Use otool -l <yourexe> | more and look for LC_RPATH sections.

View Article


Comment by trojanfoe on How can I see how many times a function has been...

That recursiveSearch() function is gonna need two more things; firstly a way to return did not find. It's probably best to return a std::optional here, with the value unset if it did not find the...

View Article


Comment by trojanfoe on cargo build error : error: linking with `cc` failed:...

It looks to me like your problem stems from a overly messy system setup with multiple compiler toolchains installed. Just looking at how you set-up your $PATH leads me to believe you enjoy complexity....

View Article

Comment by trojanfoe on R studio for Mac

While the use of R Studio is obviously a programming question, the brunt of your question is a user question about freeing disk space and updating macOS, and therefore doesn't belong on StackOverflow....

View Article

Comment by trojanfoe on Apache Ports for MAMP Pro 7

Ports below 1024 are privileged and only root can listen on them; it's normal to develop web services/app using ports like 8080 etc. I cannot explain the change between macOS versions though as this...

View Article


Comment by trojanfoe on Why is my notarized and signed macOS .dmg rejected by...

Won't you need to sign it with an Installer certificate?

View Article

Comment by trojanfoe on Skip struct field when deriving Debug

I suspect the best approach will be to impl Debug manually, rather than using the derive macro.

View Article

Comment by trojanfoe on How to detect OS theme change by User in MAC OS?

Sounds like the theme change should be detected at the Qt-level and passed to the backend somehow. I think that has more chance of working.

View Article


Comment by trojanfoe on My Comfyui running through Homebrew on my Intel Mac...

Are you certain that ComfyUI is running the same python as you run when invoking python3. If it's anything like my experience with Stable Diffusion on Linux, then I have to build my own Python 3.10 in...

View Article


Comment by trojanfoe on How to run an Xcode app via the terminal?

If you want to use the terminal then don't use Xcode. Instead use vscode/zed/clion/neovim along with cmake.

View Article

Comment by trojanfoe on Monospaced fonts and Aspect Ratio: Google vs....

What is your question?

View Article

Comment by trojanfoe on symbol(s) not found for architecture arm64 in my own...

I assume hello() is defined in library.c, which you are not compiling or linking into the program by the look of it.

View Article

Comment by trojanfoe on Build Custom Linux Kernel on MacOS

Yes, use a VM. I reckon it's close to impossible to cross compile from macOS to Linux.

View Article


Comment by trojanfoe on How to work with custom bundles in Bevy v0.15

Yeah but the first code sample should work.

View Article

Comment by trojanfoe on How to privately link a library to an external static...

If both library A and library B are static then you must specify them both in the final linker command line, regardless of whether you are linking a dynamic library or an executable.

View Article


Comment by trojanfoe on Client freezes on recv despite server confirming data...

^^^ Which is often done by prepending the payload length (typically in big-endian format) at the start of the message ^^^

View Article

Comment by trojanfoe on Client freezes on recv despite server confirming data...

^^^ Which is often done by prepending the payload length (typically in big-endian format) at the start of the message ^^^

View Article


Comment by trojanfoe on How to cut a line in Xcode without selecting the text?

@hvkale well that’s a good point!

View Article

Comment by trojanfoe on can't compile c++ hello world with clang on mac...

This is a strange issue; this works for me clang -o hello hello.cpp -lstdc++.

View Article

Answer by trojanfoe for How to use metal-cpp with GLFW?

Yes it's certainly possible. Here's an example I just put together.It uses Apple's unsupported metal-cpp-extensions code in order to set-up the CAMetalLayer in the NSWindow's view, and I had to modify...

View Article
Browsing all 217 articles
Browse latest View live


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