Open HenningSchaar opened 2 years ago
I found a strange behaviour where if I unzip the binaries with unarchiver instead of the standard archiving application I don't get an error Message, but the application still refuses to start.
I also tried the AU and VST3 binaries with ARM-Reaper aswell as Rosetta-Reaper but sadly no Luck with that either. (After granting permissions VST3 won't scan, AU is scanned but doesn't load when inserted into a Track)
@HenningSchaar For mac M1 you'll need to build yourself, as github does not provides an ARM MacOS environment, I've modified the cmake file in this branch to properly support M1 torch libs linking could you try it and tell me if that works for you?
Thank you for the quick reply @ZodiacFRA ! I've tried checking out 9f1c356 and Building again but sadly no luck. It does seem to download the correct version of pytorch but there seems to be another problem that I can't figure out on my own.
I get this error in my shell:
CMake Error at cmake/add_torch.cmake:56 (message):
torch could not be included
Call Stack (most recent call first):
CMakeLists.txt:44 (include)
And this is the output of CMakeError.log
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /Library/Developer/CommandLineTools/usr/bin/cc
Build flags:
Id flags:
The output was:
1
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /Library/Developer/CommandLineTools/usr/bin/c++
Build flags:
Id flags:
The output was:
1
ld: library not found for -lc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have tried this with Python 3.9.1 and Python 3.9.4. I also checked my xcode command line tools installation and it seems to be fine.
This is my clang version:
Apple clang version 13.1.6 (clang-1316.0.21.2.3)
Target: arm64-apple-darwin21.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
and which clang
gives me /usr/bin/clang
.
Ah my bad, the cmakelists did not target the correct folder for this version of torch, I've updated the cmake file. Could you try again @HenningSchaar ?
I'm getting the same error with the new path (with updated line numbers)
CMake Error at cmake/add_torch.cmake:65 (message):
torch could not be included
Call Stack (most recent call first):
CMakeLists.txt:44 (include)
When I tried setting the path that is checked to /lib/python3.9/site-packages/torch/lib
I got a different error:
CMake Error at CMakeLists.txt:46 (find_package):
By not providing "FindTorch.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Torch", but
CMake did not find one.
Could not find a package configuration file provided by "Torch" with any of
the following names:
TorchConfig.cmake
torch-config.cmake
Add the installation prefix of "Torch" to CMAKE_PREFIX_PATH or set
"Torch_DIR" to a directory containing one of the above files. If "Torch"
provides a separate development package or SDK, be sure it has been
installed.
But when I tried doing what is suggested here, namely changing the path that is checked to /lib/python3.9/site-packages/torch/share/cmake/Torch
(that's where TorchConfig.cmake is located) I get the original error Message again. The CMakeError.log is the same as before for all these runs.
Hi there! Excited to get this built, running into the same problems as @HenningSchaar, including the error on the branch.
As github does not provides an ARM MacOS environment
You can pop the following into CMakelists.txt to build for ARM on github:
set(CMAKE_OSX_ARCHITECTURES arm64 x86_64)
Of course, it'll eat almost 2x the build minutes (and maybe some dependency issues to figure out.)
Is anyone able to share a binary of rave-vst built for M1?
I am testing the build, installed the libtorch with homebrew ensuring arm64, otherwise followed the instructions. Tested the standalone app, runs as native Apple M1 with high CPU but no glitches. After testing the VST and AU too, I can put it on Google Drive, but compilation was very easy, I recommend to give it a try with libtorch from homebrew.
AU works on Ableton Live 11, VST3 opens on Max/MSP (but Live does not look into ~/Library/Audio/Plug-Ins). I put the M1 build here: https://drive.google.com/file/d/16RBKrUqtoazaNkZZXrONthonsOsu30W7/view?usp=sharing
AU works on Ableton Live 11, VST3 opens on Max/MSP (but Live does not look into ~/Library/Audio/Plug-Ins). I put the M1 build here: https://drive.google.com/file/d/16RBKrUqtoazaNkZZXrONthonsOsu30W7/view?usp=sharing
Unfortunately, I could not run either standalone or audiounit from your build.
Macbook Pro Apple M1 Pro, MacOS 12.5.1
@cerkut I codesigned the standalone app, what did I miss to cause this error?
Sorry, switched to Ventura 13.0 beta, took time to rebuild. The error indicates something missing in protobuf. Could you issue
brew info protobuf
and ensure you have v 21.5 installed? Standalone compiled and ran fine on 13.0 here.
Sorry, switched to Ventura 13.0 beta, took time to rebuild. The error indicates something missing in protobuf. Could you issue
brew info protobuf
and ensure you have v 21.5 installed? Standalone compiled and ran fine on 13.0 here.
I'm still using Monterey 12.5.1 and protobuf
is using v21.5 bottled.
Managed to compile after updating my Python on M1 via pyenv
to 3.10.7
Hey there,
I've tried using the prebuilt binaries for macOS with my system and I get a very unhelpful error message from macOS:
Translates to: The program "RAVE" could not be opened.
I tried fixing permissions or right-click opening it, but no luck.
My system is an M1 Pro MacBook Pro with 16GB Ram and 1TB Hard drive running macOS 12.3.1
I also tried building the binaries myself by following the build instructions but got following error:
I hope this is the right place and format to communicate this, thanks!