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

Comment by trojanfoe on How can I pre-authorize authopen in Rust?

authopen: /dev/rdisk3: No such file or directory Seems like the root cause?

View Article


Comment by trojanfoe on SDL3 CMake linkage problem undefined reference for SDL

I don't know if you are still interested in this, but you don't have a find_package(SDL3 REQUIRED) statement. Better is to use CPM for cmake dependencies.

View Article


Comment by trojanfoe on Set include directory for linker (ld) on OSX

@EatonEmmerich You should start a new question.

View Article

Comment by trojanfoe on Mac Apache giving 403 Forbidden on Users directory

What does the apache error logs tell you?

View Article

Comment by trojanfoe on How do I update my c++ version on a Mac M2

Clang 16.0 can support C++20, so it's just a case of passing -std=c++20 to the compiler. Use cmake to curate your project, which will allow you to use Xcode, Visual Studio, CLion, VSCode, Zed, etc.

View Article


Comment by trojanfoe on Problem with SDL2 + game controllers: too many open...

The process limit for open files on macOS is something like 10240, so if you are exceeding that it would point to a file handle leak in your program. Double check any code that opens a file that the...

View Article

Comment by trojanfoe on After launch Virtualbox nothing happens

This is not a programming question. Try apple.stackexchange.com

View Article

Comment by trojanfoe on SDL3 fails to create OpenGL ES 2.0 context?

That looks like SDL2 code, not SDL3?

View Article


Comment by trojanfoe on Static linking of Metal library in Xcode

@Spo1ler Why is that?

View Article


Comment by trojanfoe on Unable to install Pods in a new Project after...

What is it about folders that Cocoapods dislikes and stops it from working?

View Article

Comment by trojanfoe on Golang suppress specific warning

This happens all the time when running on macOS for me using C++ or Rust, possibly only when the app creates a window.

View Article

Comment by trojanfoe on PBKDF2WithHmacSHA256 Swift 6 and Android

Yeah I share your suspicion about the string to byte conversion; you are passing in the byte pointer of what I assume is a string of a SHA256 but you are using the count method for length, which is...

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 privately link a library to an external static...

The only way I can think of is to merge the two libraries, given static libraries are just archives of object files (.o).

View Article

Comment by trojanfoe on LLVM cmake build fails, giving "FAILED:...

Any reason you can't use Homebrew to install llvm?

View Article


Comment by trojanfoe on Ruby 3.0.6 Fails to Build on macOS 15.1.1 (ARM) Using...

Please show the compiler errors.

View Article

Comment by trojanfoe on Personal LaunchAgent no longer works correctly in...

It's worth checking Console.app to see if you can see some error messages from the launchd (I assume). However this isn't a programming question so you are better asking here.

View Article


Comment by trojanfoe on How can I restart my running program everytime I save...

@RichardNeumann The recommended solution in that question (cargo-watch) is not getting further updates.

View Article

Comment by trojanfoe on Half second delay playing sound with SDL_mixer

I don't know the answer to this problem, but why are you passing SDL_AudioSpec by value instead of by reference in void SoundPrep(SDL_AudioSpec wavSpec)?

View Article

Comment by trojanfoe on How to fix the header file issue with Homebrew gcc...

I cannot find the answer to this issue. If it's blocking you then you might want to switch to clang.

View Article
Browsing all 226 articles
Browse latest View live


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