Closed brianmichel closed 4 years ago
It looks like the build might be failing as it's still using Clang 8 for CI jobs. Let me know if you'd like an additional PR to update these jobs to point to Clang 10 @topisani.
yes please, that would be very helpful - you may need to do a manual download of the binaries, its probably not in travis repos yet
Closing this as discussed in other PRs. We will be bringing back macOS building support in both CI and the local environment, but this is not the right approach for right now.
Hello! I found out about this project this morning and went to go build it on my macOS machine and encountered a few build errors preventing me from completing compilation.
I did some digging and found that LLVM made
filesystem
part of the standard c++ lib starting at version 9 and above (https://releases.llvm.org/9.0.0/projects/libcxx/docs/UsingLibcxx.html#using-filesystem) so I looked through some other project and found people solving this problem in a similar way (like here)I'm certainly no C++ or CMake expert, but this did allow me (in conjunction with the other changes listed) complete the compilation process.
The changes in
audio_driver.cpp
seem related to macOS not using ALSA, and from what I can tell structs likesnd_mixer_t
are all set up from within that library, so I forward declared them wrapped in the__APPLE__
flag.Finally, the changes to
log_manager.cpp
were in a similar vein, the function that was being called just simply doesn't exist in thepthreads.h
for macOS so I took a similar approach.The code compiles, the tests pass, but running the
otto
binary crashes with the following stackstack trace
I wanted to make this PR even with the crashing as perhaps it could solve some issues for other folks, or the devs can advise me here on what they would like. I'm also a patron of this project so I'm pumped to see it on my local machine!
Let me know what you think!