Hi, are the instructions on: Building - VCV Rack Manual accurate for Mac Silicons or do we need specific command to clone the Silicon version of VCV Rack and its dependencies? I am getting errors when compiling and I think the sources might be the issue here…
This is the error I get when I try to execute “make dep”
cd glew-2.1.0 && mkdir -p build
cd glew-2.1.0/build && cmake -DCMAKE_SYSTEM_NAME=Darwin -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 -DCMAKE_INSTALL_PREFIX="/Users/antoniograzioli/Desktop/VCV/Rack/dep" -DCMAKE_INSTALL_LIBDIR=lib ./cmake
CMake Warning (dev) at CMakeLists.txt:5 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
-- The C compiler identification is AppleClang 16.0.0.16000026
-- The CXX compiler identification is AppleClang 16.0.0.16000026
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - broken
CMake Error at /opt/homebrew/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: '/Users/antoniograzioli/Desktop/VCV/Rack/dep/glew-2.1.0/build/CMakeFiles/CMakeScratch/TryCompile-XPzdO8'
Run Build Command(s): /opt/homebrew/bin/cmake -E env VERBOSE=1 /usr/local/bin/make -f Makefile cmTC_bec51/fast
Unknown system error -86
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:5 (project)
-- Configuring incomplete, errors occurred!
make[1]: *** [lib/libGLEW.a] Error 1
make: *** [dep] Error 2
I cannot believe it (and I think I have solved it) I have always worked on a “VCV” folder on my Mac Desktop and always built Rack into that folder.
I deleted everything and created a new “VCV” folder on another volume (a USB drive) and now everything works as expected.
Was it simply a permission issue? or maybe permission on the desktop have gone crazy???
1 Like