Closed roshie548 closed 2 years ago
M1 or Intel?
Intel
will recheck on my mac
[100%] Built target Hyperion ➜ build git:(master) cd bin ➜ bin git:(master) ls Hyperion.app flatc flathash hyperion-osx hyperion-qt hyperion-remote protoc ➜ bin git:(master) hyperion-osx --help zsh: command not found: hyperion-osx ➜ bin git:(master) ./hyperion-osx --help Usage: ./hyperion-osx [options] OSX capture application for Hyperion. Will automatically search a Hyperion server if -a option isn't used. Please note that if you have more than one server running it's more or less random which one will be used.
tried it with @Paulchen-Panther, works
you should update your xcode maybe with sudo rm -rf /Library/Developer/CommandLineTools xcode-select --install
will close this, as this is not a general issue, feel free to ask if you have other problems after updating xcode
Thanks for the replies. I tried updating my Xcode CLT before as stated in the issue, but that by itself didn't work. I did however manage to fix the error. Not sure if updating Xcode helped, but in case anyone runs into this issue this is how I fixed it.
// Update Xcode
sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install
// Make sure homebrew and packages are up to date
brew update
brew upgrade
brew doctor
// running brew doctor asked me to set my path: echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc
// Delete 'build' folder in your Hyperion directory
rm -rf build
// Remake it and cd into it
mkdir build
cd build
cmake -DPLATFORM=osx -DCMAKE_BUILD_TYPE=Release ..
make -j $(sysctl -n hw.ncpu)
Should build without errors now
Bug report
Building on macOS Big Sur v11.1 Hyperion version: Hyperion 2.0.0-alpha.11 I already tried deleting and reinstalling Xcode command line tools
Steps to reproduce
What is expected?
Hyperion should build successfully
What is actually happening?
System