Spacechild1 / vstplugin

VST plugin support for Pd and SuperCollider (mirror of https://git.iem.at/pd/vstplugin). If possible, use the issue tracker at https://git.iem.at/pd/vstplugin/-/issues.
Other
84 stars 6 forks source link

Installing on M1 for SC #8

Closed mousaique closed 2 years ago

mousaique commented 2 years ago

Hello Spacechild1, trying to install VSTPlugin for Supercollider on an M1 and get the following error. I might be making an obvious mistake as compiling from source is not really fluent unfortunately...

Last login: Sat May 21 16:36:50 on ttys001 jan@Jans-MacBook-Pro-2 vstplugin-master % cd build jan@Jans-MacBook-Pro-2 build % cmake -SC_INCLUDEDIR=/Users/jan/Sound/build/supercollider BUILD_HOST_AMD64=ON -DPD=OFF -DSUPERNOVA=OFF .. -- Project: vstplugin -- Build type: Release -- LOGLEVEL: 2 -- Build with VST2 support -- VST2DIR: /Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST2_SDK -- Build with VST3 support -- VST3DIR: /Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK -- Enable plugin bridge -- Build 32-bit host program -- Build 64-bit Intel host program


VSTPlugin -- SC_INCLUDEDIR: -- SC_INSTALLDIR: /Users/jan/Library/Application Support/SuperCollider/Extensions -- SUPERNOVA: OFF -- Configuring done -- Generating done -- Build files have been written to: /Users/jan/Sound/build/vstplugin-master/build jan@Jans-MacBook-Pro-2 build % cmake --build . -j -v /opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -S/Users/jan/Sound/build/vstplugin-master -B/Users/jan/Sound/build/vstplugin-master/build --check-build-system CMakeFiles/Makefile.cmake 0 /opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -E cmake_progress_start /Users/jan/Sound/build/vstplugin-master/build/CMakeFiles /Users/jan/Sound/build/vstplugin-master/build//CMakeFiles/progress.marks /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all /Applications/Xcode.app/Contents/Developer/usr/bin/make -f vst/CMakeFiles/vst.dir/build.make vst/CMakeFiles/vst.dir/depend /Applications/Xcode.app/Contents/Developer/usr/bin/make -f vst/CMakeFiles/vst32.dir/build.make vst/CMakeFiles/vst32.dir/depend /Applications/Xcode.app/Contents/Developer/usr/bin/make -f vst/CMakeFiles/vst_amd64.dir/build.make vst/CMakeFiles/vst_amd64.dir/depend cd /Users/jan/Sound/build/vstplugin-master/build && /opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -E cmake_depends "Unix Makefiles" /Users/jan/Sound/build/vstplugin-master /Users/jan/Sound/build/vstplugin-master/vst /Users/jan/Sound/build/vstplugin-master/build /Users/jan/Sound/build/vstplugin-master/build/vst /Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst.dir/DependInfo.cmake --color= cd /Users/jan/Sound/build/vstplugin-master/build && /opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -E cmake_depends "Unix Makefiles" /Users/jan/Sound/build/vstplugin-master /Users/jan/Sound/build/vstplugin-master/vst /Users/jan/Sound/build/vstplugin-master/build /Users/jan/Sound/build/vstplugin-master/build/vst /Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst32.dir/DependInfo.cmake --color= cd /Users/jan/Sound/build/vstplugin-master/build && /opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -E cmake_depends "Unix Makefiles" /Users/jan/Sound/build/vstplugin-master /Users/jan/Sound/build/vstplugin-master/vst /Users/jan/Sound/build/vstplugin-master/build /Users/jan/Sound/build/vstplugin-master/build/vst /Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst_amd64.dir/DependInfo.cmake --color= Dependencies file "vst/CMakeFiles/vst_amd64.dir/CpuArch.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst_amd64.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst.dir/CpuArch.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst32.dir/CpuArch.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst32.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst_amd64.dir/FileUtils.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst_amd64.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst.dir/FileUtils.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst32.dir/FileUtils.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst32.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst_amd64.dir/MiscUtils.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst_amd64.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst.dir/MiscUtils.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst32.dir/MiscUtils.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst32.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst.dir/Module.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst_amd64.dir/Module.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst_amd64.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst32.dir/Module.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst32.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst.dir/PluginBridge.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst_amd64.dir/PluginBridge.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst_amd64.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst32.dir/PluginBridge.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst32.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst.dir/PluginClient.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst_amd64.dir/PluginClient.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst_amd64.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst32.dir/PluginClient.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst32.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst.dir/PluginDesc.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst_amd64.dir/PluginDesc.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst_amd64.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst32.dir/PluginDesc.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst32.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst.dir/PluginDictionary.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst_amd64.dir/PluginDictionary.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst_amd64.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst32.dir/PluginDictionary.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst32.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst.dir/PluginServer.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst_amd64.dir/PluginServer.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst_amd64.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst32.dir/PluginServer.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst32.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst.dir/Search.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst_amd64.dir/Search.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst_amd64.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst32.dir/Search.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst32.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst.dir/ShmInterface.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst_amd64.dir/ShmInterface.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst_amd64.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst32.dir/ShmInterface.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst32.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst.dir/Sync.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst_amd64.dir/Sync.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst_amd64.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst32.dir/Sync.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst32.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst.dir/ThreadedPlugin.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst32.dir/ThreadedPlugin.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst32.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst_amd64.dir/ThreadedPlugin.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst_amd64.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst.dir/WindowCocoa.mm.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst32.dir/WindowCocoa.mm.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst32.dir/compiler_depend.internal". Dependencies file "vst/CMakeFiles/vst_amd64.dir/WindowCocoa.mm.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin-master/build/vst/CMakeFiles/vst_amd64.dir/compiler_depend.internal". Consolidate compiler generated dependencies of target vst Consolidate compiler generated dependencies of target vst32 Consolidate compiler generated dependencies of target vst_amd64 /Applications/Xcode.app/Contents/Developer/usr/bin/make -f vst/CMakeFiles/vst.dir/build.make vst/CMakeFiles/vst.dir/build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f vst/CMakeFiles/vst32.dir/build.make vst/CMakeFiles/vst32.dir/build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f vst/CMakeFiles/vst_amd64.dir/build.make vst/CMakeFiles/vst_amd64.dir/build [ 1%] Building CXX object vst/CMakeFiles/vst.dir/PluginFactory.cpp.o [ 4%] Building CXX object vst/CMakeFiles/vst.dir/VST2Plugin.cpp.o [ 4%] Building CXX object vst/CMakeFiles/vst.dir/VST3Plugin.cpp.o cd /Users/jan/Sound/build/vstplugin-master/build/vst && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DLOGLEVEL=2 -DUSE_BRIDGE=1 -DUSE_STDFS=0 -DUSE_VST2=1 -DUSE_VST3=1 -I/Users/jan/Sound/build/vstplugin-master/deps -I/Users/jan/Sound/build/vstplugin-master/vst -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST2_SDK/pluginterfaces/vst2.x -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/base -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/vst -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/gui -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/vst2.x -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -fvisibility=hidden -Wno-unknown-pragmas -Wno-format-security -msse -msse2 -msse3 -std=c++14 -ffast-math -funroll-loops -fomit-frame-pointer -Wstrict-aliasing -stdlib=libc++ -fno-objc-arc -MD -MT vst/CMakeFiles/vst.dir/VST3Plugin.cpp.o -MF CMakeFiles/vst.dir/VST3Plugin.cpp.o.d -o CMakeFiles/vst.dir/VST3Plugin.cpp.o -c /Users/jan/Sound/build/vstplugin-master/vst/VST3Plugin.cpp cd /Users/jan/Sound/build/vstplugin-master/build/vst && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DLOGLEVEL=2 -DUSE_BRIDGE=1 -DUSE_STDFS=0 -DUSE_VST2=1 -DUSE_VST3=1 -I/Users/jan/Sound/build/vstplugin-master/deps -I/Users/jan/Sound/build/vstplugin-master/vst -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST2_SDK/pluginterfaces/vst2.x -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/base -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/vst -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/gui -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/vst2.x -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -fvisibility=hidden -Wno-unknown-pragmas -Wno-format-security -msse -msse2 -msse3 -std=c++14 -ffast-math -funroll-loops -fomit-frame-pointer -Wstrict-aliasing -stdlib=libc++ -fno-objc-arc -MD -MT vst/CMakeFiles/vst.dir/VST2Plugin.cpp.o -MF CMakeFiles/vst.dir/VST2Plugin.cpp.o.d -o CMakeFiles/vst.dir/VST2Plugin.cpp.o -c /Users/jan/Sound/build/vstplugin-master/vst/VST2Plugin.cpp cd /Users/jan/Sound/build/vstplugin-master/build/vst && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DLOGLEVEL=2 -DUSE_BRIDGE=1 -DUSE_STDFS=0 -DUSE_VST2=1 -DUSE_VST3=1 -I/Users/jan/Sound/build/vstplugin-master/deps -I/Users/jan/Sound/build/vstplugin-master/vst -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST2_SDK/pluginterfaces/vst2.x -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/base -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/vst -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/gui -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/vst2.x -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -fvisibility=hidden -Wno-unknown-pragmas -Wno-format-security -msse -msse2 -msse3 -std=c++14 -ffast-math -funroll-loops -fomit-frame-pointer -Wstrict-aliasing -stdlib=libc++ -fno-objc-arc -MD -MT vst/CMakeFiles/vst.dir/PluginFactory.cpp.o -MF CMakeFiles/vst.dir/PluginFactory.cpp.o.d -o CMakeFiles/vst.dir/PluginFactory.cpp.o -c /Users/jan/Sound/build/vstplugin-master/vst/PluginFactory.cpp [ 6%] Building CXX object vst/CMakeFiles/vst32.dir/PluginFactory.cpp.o [ 7%] Building CXX object vst/CMakeFiles/vst_amd64.dir/PluginFactory.cpp.o [ 9%] Building CXX object vst/CMakeFiles/vst32.dir/VST3Plugin.cpp.o [ 10%] Building CXX object vst/CMakeFiles/vst32.dir/VST2Plugin.cpp.o [ 12%] Building CXX object vst/CMakeFiles/vst_amd64.dir/VST2Plugin.cpp.o cd /Users/jan/Sound/build/vstplugin-master/build/vst && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DLOGLEVEL=2 -DUSE_BRIDGE=1 -DUSE_STDFS=0 -DUSE_VST2=1 -DUSE_VST3=1 -I/Users/jan/Sound/build/vstplugin-master/deps -I/Users/jan/Sound/build/vstplugin-master/vst -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST2_SDK/pluginterfaces/vst2.x -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/base -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/vst -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/gui -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/vst2.x -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -fvisibility=hidden -Wno-unknown-pragmas -Wno-format-security -msse -msse2 -msse3 -std=c++14 -ffast-math -funroll-loops -fomit-frame-pointer -Wstrict-aliasing -stdlib=libc++ -fno-objc-arc -m32 -MD -MT vst/CMakeFiles/vst32.dir/VST3Plugin.cpp.o -MF CMakeFiles/vst32.dir/VST3Plugin.cpp.o.d -o CMakeFiles/vst32.dir/VST3Plugin.cpp.o -c /Users/jan/Sound/build/vstplugin-master/vst/VST3Plugin.cpp cd /Users/jan/Sound/build/vstplugin-master/build/vst && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DLOGLEVEL=2 -DUSE_BRIDGE=1 -DUSE_STDFS=0 -DUSE_VST2=1 -DUSE_VST3=1 -I/Users/jan/Sound/build/vstplugin-master/deps -I/Users/jan/Sound/build/vstplugin-master/vst -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST2_SDK/pluginterfaces/vst2.x -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/base -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/vst -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/gui -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/vst2.x -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -fvisibility=hidden -Wno-unknown-pragmas -Wno-format-security -msse -msse2 -msse3 -std=c++14 -ffast-math -funroll-loops -fomit-frame-pointer -Wstrict-aliasing -stdlib=libc++ -fno-objc-arc -m32 -MD -MT vst/CMakeFiles/vst32.dir/VST2Plugin.cpp.o -MF CMakeFiles/vst32.dir/VST2Plugin.cpp.o.d -o CMakeFiles/vst32.dir/VST2Plugin.cpp.o -c /Users/jan/Sound/build/vstplugin-master/vst/VST2Plugin.cpp [ 14%] Building CXX object vst/CMakeFiles/vst_amd64.dir/VST3Plugin.cpp.o cd /Users/jan/Sound/build/vstplugin-master/build/vst && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DLOGLEVEL=2 -DUSE_BRIDGE=1 -DUSE_STDFS=0 -DUSE_VST2=1 -DUSE_VST3=1 -I/Users/jan/Sound/build/vstplugin-master/deps -I/Users/jan/Sound/build/vstplugin-master/vst -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST2_SDK/pluginterfaces/vst2.x -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/base -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/vst -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/gui -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/vst2.x -O3 -DNDEBUG -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -fvisibility=hidden -Wno-unknown-pragmas -Wno-format-security -msse -msse2 -msse3 -std=c++14 -ffast-math -funroll-loops -fomit-frame-pointer -Wstrict-aliasing -stdlib=libc++ -fno-objc-arc -MD -MT vst/CMakeFiles/vst_amd64.dir/VST2Plugin.cpp.o -MF CMakeFiles/vst_amd64.dir/VST2Plugin.cpp.o.d -o CMakeFiles/vst_amd64.dir/VST2Plugin.cpp.o -c /Users/jan/Sound/build/vstplugin-master/vst/VST2Plugin.cpp cd /Users/jan/Sound/build/vstplugin-master/build/vst && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DLOGLEVEL=2 -DUSE_BRIDGE=1 -DUSE_STDFS=0 -DUSE_VST2=1 -DUSE_VST3=1 -I/Users/jan/Sound/build/vstplugin-master/deps -I/Users/jan/Sound/build/vstplugin-master/vst -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST2_SDK/pluginterfaces/vst2.x -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/base -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/vst -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/gui -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/vst2.x -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -fvisibility=hidden -Wno-unknown-pragmas -Wno-format-security -msse -msse2 -msse3 -std=c++14 -ffast-math -funroll-loops -fomit-frame-pointer -Wstrict-aliasing -stdlib=libc++ -fno-objc-arc -m32 -MD -MT vst/CMakeFiles/vst32.dir/PluginFactory.cpp.o -MF CMakeFiles/vst32.dir/PluginFactory.cpp.o.d -o CMakeFiles/vst32.dir/PluginFactory.cpp.o -c /Users/jan/Sound/build/vstplugin-master/vst/PluginFactory.cpp cd /Users/jan/Sound/build/vstplugin-master/build/vst && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DLOGLEVEL=2 -DUSE_BRIDGE=1 -DUSE_STDFS=0 -DUSE_VST2=1 -DUSE_VST3=1 -I/Users/jan/Sound/build/vstplugin-master/deps -I/Users/jan/Sound/build/vstplugin-master/vst -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST2_SDK/pluginterfaces/vst2.x -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/base -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/vst -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/gui -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/vst2.x -O3 -DNDEBUG -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -fvisibility=hidden -Wno-unknown-pragmas -Wno-format-security -msse -msse2 -msse3 -std=c++14 -ffast-math -funroll-loops -fomit-frame-pointer -Wstrict-aliasing -stdlib=libc++ -fno-objc-arc -MD -MT vst/CMakeFiles/vst_amd64.dir/VST3Plugin.cpp.o -MF CMakeFiles/vst_amd64.dir/VST3Plugin.cpp.o.d -o CMakeFiles/vst_amd64.dir/VST3Plugin.cpp.o -c /Users/jan/Sound/build/vstplugin-master/vst/VST3Plugin.cpp cd /Users/jan/Sound/build/vstplugin-master/build/vst && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DLOGLEVEL=2 -DUSE_BRIDGE=1 -DUSE_STDFS=0 -DUSE_VST2=1 -DUSE_VST3=1 -I/Users/jan/Sound/build/vstplugin-master/deps -I/Users/jan/Sound/build/vstplugin-master/vst -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST2_SDK/pluginterfaces/vst2.x -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/base -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/vst -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/gui -I/Users/jan/Sound/build/vstplugin-master/vst/VST_SDK/VST3_SDK/pluginterfaces/vst2.x -O3 -DNDEBUG -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -fvisibility=hidden -Wno-unknown-pragmas -Wno-format-security -msse -msse2 -msse3 -std=c++14 -ffast-math -funroll-loops -fomit-frame-pointer -Wstrict-aliasing -stdlib=libc++ -fno-objc-arc -MD -MT vst/CMakeFiles/vst_amd64.dir/PluginFactory.cpp.o -MF CMakeFiles/vst_amd64.dir/PluginFactory.cpp.o.d -o CMakeFiles/vst_amd64.dir/PluginFactory.cpp.o -c /Users/jan/Sound/build/vstplugin-master/vst/PluginFactory.cpp clang: warning: argument unused during compilation: '-msse' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-msse3' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-msse' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-msse3' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-msse' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-msse3' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-msse' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-msse3' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-msse' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-msse3' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-msse' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-msse3' [-Wunused-command-line-argument] In file included from /Users/jan/Sound/build/vstplugin-master/vst/VST3Plugin.cpp:1: /Users/jan/Sound/build/vstplugin-master/vst/VST3Plugin.h:7:10: fatal error: 'pluginterfaces/base/funknown.h' file not found

include "pluginterfaces/base/funknown.h"

     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /Users/jan/Sound/build/vstplugin-master/vst/VST2Plugin.cpp:1: /Users/jan/Sound/build/vstplugin-master/vst/VST2Plugin.h:8:10: fatal error: 'aeffectx.h' file not found

include "aeffectx.h"

     ^~~~~~~~~~~~

In file included from /Users/jan/Sound/build/vstplugin-master/vst/VST3Plugin.cpp:1: /Users/jan/Sound/build/vstplugin-master/vst/VST3Plugin.h:7:10: fatal error: 'pluginterfaces/base/funknown.h' file not found

include "pluginterfaces/base/funknown.h"

     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from /Users/jan/Sound/build/vstplugin-master/vst/VST2Plugin.cpp:1: /Users/jan/Sound/build/vstplugin-master/vst/VST2Plugin.h:8:10: fatal error: 'aeffectx.h' file not found

include "aeffectx.h"

     ^~~~~~~~~~~~

In file included from /Users/jan/Sound/build/vstplugin-master/vst/VST2Plugin.cpp:1: /Users/jan/Sound/build/vstplugin-master/vst/VST2Plugin.h:8:10: fatal error: 'aeffectx.h' file not found

include "aeffectx.h"

     ^~~~~~~~~~~~

In file included from /Users/jan/Sound/build/vstplugin-master/vst/VST3Plugin.cpp:1: /Users/jan/Sound/build/vstplugin-master/vst/VST3Plugin.h:7:10: fatal error: 'pluginterfaces/base/funknown.h' file not found

include "pluginterfaces/base/funknown.h"

     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated. In file included from /Users/jan/Sound/build/vstplugin-master/vst/PluginFactory.cpp:7: /Users/jan/Sound/build/vstplugin-master/vst/VST2Plugin.h:8:10: fatal error: 'aeffectx.h' file not found

include "aeffectx.h"

     ^~~~~~~~~~~~

make[2]: [vst/CMakeFiles/vst.dir/VST2Plugin.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... 1 error generated. 1 error generated. 1 error generated. make[2]: [vst/CMakeFiles/vst.dir/PluginFactory.cpp.o] Error 1 make[2]: [vst/CMakeFiles/vst_amd64.dir/VST3Plugin.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... make[2]: [vst/CMakeFiles/vst.dir/VST3Plugin.cpp.o] Error 1 make[1]: [vst/CMakeFiles/vst.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... 1 error generated. make[2]: [vst/CMakeFiles/vst32.dir/VST2Plugin.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... 1 error generated. make[2]: *** [vst/CMakeFiles/vst_amd64.dir/VST2Plugin.cpp.o] Error 1 In file included from /Users/jan/Sound/build/vstplugin-master/vst/PluginFactory.cpp:7: /Users/jan/Sound/build/vstplugin-master/vst/VST2Plugin.h:8:10: fatal error: 'aeffectx.h' file not found

include "aeffectx.h"

     ^~~~~~~~~~~~

In file included from /Users/jan/Sound/build/vstplugin-master/vst/PluginFactory.cpp:7: /Users/jan/Sound/build/vstplugin-master/vst/VST2Plugin.h:8:10: fatal error: 'aeffectx.h' file not found

include "aeffectx.h"

     ^~~~~~~~~~~~

1 error generated. make[2]: [vst/CMakeFiles/vst_amd64.dir/PluginFactory.cpp.o] Error 1 make[1]: [vst/CMakeFiles/vst_amd64.dir/all] Error 2 1 error generated. make[2]: [vst/CMakeFiles/vst32.dir/VST3Plugin.cpp.o] Error 1 1 error generated. make[2]: [vst/CMakeFiles/vst32.dir/PluginFactory.cpp.o] Error 1 make[1]: [vst/CMakeFiles/vst32.dir/all] Error 2 make: [all] Error 2 jan@Jans-MacBook-Pro-2 build %

Spacechild1 commented 2 years ago

Hi,

In file included from /Users/jan/Sound/build/vstplugin-master/vst/VST3Plugin.cpp:1: /Users/jan/Sound/build/vstplugin-master/vst/VST3Plugin.h:7:10: fatal error: 'pluginterfaces/base/funknown.h' file not found

include "pluginterfaces/base/funknown.h"

^~~~~~~~ In file included from /Users/jan/Sound/build/vstplugin-master/vst/VST2Plugin.cpp:1: /Users/jan/Sound/build/vstplugin-master/vst/VST2Plugin.h:8:10: fatal error: 'aeffectx.h' file not found

include "aeffectx.h"

These error messages mean that the compiler couldn't find the header files of the VST3 resp. VST2 SDK. You either haven't installed the SDK(s), or put them at the wrong place. Please follow the build instructions in the README: https://github.com/Spacechild1/vstplugin/blob/master/README.md#build-instructions

I also noticed some problems with your CMake arguments:

cmake -SC_INCLUDEDIR=/Users/jan/Sound/build/supercollider BUILD_HOST_AMD64=ON -DPD=OFF -DSUPERNOVA=OFF ..

CMake variables are set with -D<name>=<value>, so it should be -DSC_INCLUDEDIR=... and -DBUILD_HOST_AMD64=....

Spacechild1 commented 2 years ago

Build 32-bit host program

I'm wondering why it would try to build a 32-bit host program because it is off by default. Did you set -DBUILD_HOST32=ON this in a previous cmake run? I don't think this would work on M1 because Apple has already dropped 32-bit support on macOS 10.15 and corresponding newer XCode SDKS. (I should really add a compile test for these kind of features so that users can't enable them by accident.)

mousaique commented 2 years ago

Hello Christoph, thanks for getting back! I now tried to build it without the VST2/3 as they are not necessary and the installation seems to go fine, at least no errors as before (below). The VSTPlugin appears in the Extensions folder, but after recompiling SC still returns it is not installed: "exception in GraphDef_Recv: UGen 'VSTPlugin' not installed." Any idea why this could be?

Last login: Mon May 23 08:29:58 on ttys000

@.*** vstplugin % cd build

@.*** build % cmake -DSC_INCLUDEDIR=/Users/jan/Sound/build/supercollider DBUILD_HOST_AMD64=ON -DPD=OFF -DVST2=OFF -DVST3=OFF ..

-- Project: vstplugin

-- Build type: Release

-- LOGLEVEL: 2

-- Enable plugin bridge


VSTPlugin

-- SC_INCLUDEDIR: /Users/jan/Sound/build/supercollider

-- SC_INSTALLDIR: /Users/jan/Library/Application Support/SuperCollider/Extensions

-- SUPERNOVA: OFF

-- Configuring done

-- Generating done

-- Build files have been written to: /Users/jan/Sound/build/vstplugin/build

@.*** build % cmake --build . -j -v

/opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -S/Users/jan/Sound/build/vstplugin -B/Users/jan/Sound/build/vstplugin/build --check-build-system CMakeFiles/Makefile.cmake 0

/opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -E cmake_progress_start /Users/jan/Sound/build/vstplugin/build/CMakeFiles /Users/jan/Sound/build/vstplugin/build//CMakeFiles/progress.marks

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f vst/CMakeFiles/vst.dir/build.make vst/CMakeFiles/vst.dir/depend

cd /Users/jan/Sound/build/vstplugin/build && /opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -E cmake_depends "Unix Makefiles" /Users/jan/Sound/build/vstplugin /Users/jan/Sound/build/vstplugin/vst /Users/jan/Sound/build/vstplugin/build /Users/jan/Sound/build/vstplugin/build/vst /Users/jan/Sound/build/vstplugin/build/vst/CMakeFiles/vst.dir/DependInfo.cmake --color=

Dependencies file "vst/CMakeFiles/vst.dir/CpuArch.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin/build/vst/CMakeFiles/vst.dir/compiler_depend.internal".

Dependencies file "vst/CMakeFiles/vst.dir/FileUtils.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin/build/vst/CMakeFiles/vst.dir/compiler_depend.internal".

Dependencies file "vst/CMakeFiles/vst.dir/MiscUtils.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin/build/vst/CMakeFiles/vst.dir/compiler_depend.internal".

Dependencies file "vst/CMakeFiles/vst.dir/Module.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin/build/vst/CMakeFiles/vst.dir/compiler_depend.internal".

Dependencies file "vst/CMakeFiles/vst.dir/PluginBridge.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin/build/vst/CMakeFiles/vst.dir/compiler_depend.internal".

Dependencies file "vst/CMakeFiles/vst.dir/PluginClient.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin/build/vst/CMakeFiles/vst.dir/compiler_depend.internal".

Dependencies file "vst/CMakeFiles/vst.dir/PluginDesc.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin/build/vst/CMakeFiles/vst.dir/compiler_depend.internal".

Dependencies file "vst/CMakeFiles/vst.dir/PluginDictionary.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin/build/vst/CMakeFiles/vst.dir/compiler_depend.internal".

Dependencies file "vst/CMakeFiles/vst.dir/PluginFactory.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin/build/vst/CMakeFiles/vst.dir/compiler_depend.internal".

Dependencies file "vst/CMakeFiles/vst.dir/PluginServer.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin/build/vst/CMakeFiles/vst.dir/compiler_depend.internal".

Dependencies file "vst/CMakeFiles/vst.dir/Search.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin/build/vst/CMakeFiles/vst.dir/compiler_depend.internal".

Dependencies file "vst/CMakeFiles/vst.dir/ShmInterface.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin/build/vst/CMakeFiles/vst.dir/compiler_depend.internal".

Dependencies file "vst/CMakeFiles/vst.dir/Sync.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin/build/vst/CMakeFiles/vst.dir/compiler_depend.internal".

Dependencies file "vst/CMakeFiles/vst.dir/ThreadedPlugin.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin/build/vst/CMakeFiles/vst.dir/compiler_depend.internal".

Dependencies file "vst/CMakeFiles/vst.dir/WindowCocoa.mm.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin/build/vst/CMakeFiles/vst.dir/compiler_depend.internal".

Consolidate compiler generated dependencies of target vst

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f vst/CMakeFiles/vst.dir/build.make vst/CMakeFiles/vst.dir/build

make[2]: Nothing to be done for `vst/CMakeFiles/vst.dir/build'.

[ 72%] Built target vst

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/host.dir/build.make CMakeFiles/host.dir/depend

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f test/CMakeFiles/shm_test.dir/build.make test/CMakeFiles/shm_test.dir/depend

cd /Users/jan/Sound/build/vstplugin/build && /opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -E cmake_depends "Unix Makefiles" /Users/jan/Sound/build/vstplugin /Users/jan/Sound/build/vstplugin/test /Users/jan/Sound/build/vstplugin/build /Users/jan/Sound/build/vstplugin/build/test /Users/jan/Sound/build/vstplugin/build/test/CMakeFiles/shm_test.dir/DependInfo.cmake --color=

cd /Users/jan/Sound/build/vstplugin/build && /opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -E cmake_depends "Unix Makefiles" /Users/jan/Sound/build/vstplugin /Users/jan/Sound/build/vstplugin /Users/jan/Sound/build/vstplugin/build /Users/jan/Sound/build/vstplugin/build /Users/jan/Sound/build/vstplugin/build/CMakeFiles/host.dir/DependInfo.cmake --color=

Dependencies file "test/CMakeFiles/shm_test.dir/shm_test.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin/build/test/CMakeFiles/shm_test.dir/compiler_depend.internal".

Dependencies file "CMakeFiles/host.dir/vst/host.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin/build/CMakeFiles/host.dir/compiler_depend.internal".

Consolidate compiler generated dependencies of target shm_test

Consolidate compiler generated dependencies of target host

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f test/CMakeFiles/shm_test.dir/build.make test/CMakeFiles/shm_test.dir/build

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/host.dir/build.make CMakeFiles/host.dir/build

make[2]: Nothing to be done for `test/CMakeFiles/shm_test.dir/build'.

make[2]: Nothing to be done for `CMakeFiles/host.dir/build'.

[ 90%] Built target shm_test

[ 90%] Built target host

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f sc/CMakeFiles/VSTPlugin.dir/build.make sc/CMakeFiles/VSTPlugin.dir/depend

cd /Users/jan/Sound/build/vstplugin/build && /opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -E cmake_depends "Unix Makefiles" /Users/jan/Sound/build/vstplugin /Users/jan/Sound/build/vstplugin/sc /Users/jan/Sound/build/vstplugin/build /Users/jan/Sound/build/vstplugin/build/sc /Users/jan/Sound/build/vstplugin/build/sc/CMakeFiles/VSTPlugin.dir/DependInfo.cmake --color=

Dependencies file "sc/CMakeFiles/VSTPlugin.dir/src/VSTPlugin.cpp.o.d" is newer than depends file "/Users/jan/Sound/build/vstplugin/build/sc/CMakeFiles/VSTPlugin.dir/compiler_depend.internal".

Consolidate compiler generated dependencies of target VSTPlugin

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f sc/CMakeFiles/VSTPlugin.dir/build.make sc/CMakeFiles/VSTPlugin.dir/build

make[2]: Nothing to be done for `sc/CMakeFiles/VSTPlugin.dir/build'.

[100%] Built target VSTPlugin

/opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -E cmake_progress_start /Users/jan/Sound/build/vstplugin/build/CMakeFiles 0

@.*** build % cmake --build . -v -t install

/opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -S/Users/jan/Sound/build/vstplugin -B/Users/jan/Sound/build/vstplugin/build --check-build-system CMakeFiles/Makefile.cmake 0

/opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -E cmake_progress_start /Users/jan/Sound/build/vstplugin/build/CMakeFiles /Users/jan/Sound/build/vstplugin/build//CMakeFiles/progress.marks

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f vst/CMakeFiles/vst.dir/build.make vst/CMakeFiles/vst.dir/depend

cd /Users/jan/Sound/build/vstplugin/build && /opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -E cmake_depends "Unix Makefiles" /Users/jan/Sound/build/vstplugin /Users/jan/Sound/build/vstplugin/vst /Users/jan/Sound/build/vstplugin/build /Users/jan/Sound/build/vstplugin/build/vst /Users/jan/Sound/build/vstplugin/build/vst/CMakeFiles/vst.dir/DependInfo.cmake --color=

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f vst/CMakeFiles/vst.dir/build.make vst/CMakeFiles/vst.dir/build

make[2]: Nothing to be done for `vst/CMakeFiles/vst.dir/build'.

[ 72%] Built target vst

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/host.dir/build.make CMakeFiles/host.dir/depend

cd /Users/jan/Sound/build/vstplugin/build && /opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -E cmake_depends "Unix Makefiles" /Users/jan/Sound/build/vstplugin /Users/jan/Sound/build/vstplugin /Users/jan/Sound/build/vstplugin/build /Users/jan/Sound/build/vstplugin/build /Users/jan/Sound/build/vstplugin/build/CMakeFiles/host.dir/DependInfo.cmake --color=

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/host.dir/build.make CMakeFiles/host.dir/build

make[2]: Nothing to be done for `CMakeFiles/host.dir/build'.

[ 81%] Built target host

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f sc/CMakeFiles/VSTPlugin.dir/build.make sc/CMakeFiles/VSTPlugin.dir/depend

cd /Users/jan/Sound/build/vstplugin/build && /opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -E cmake_depends "Unix Makefiles" /Users/jan/Sound/build/vstplugin /Users/jan/Sound/build/vstplugin/sc /Users/jan/Sound/build/vstplugin/build /Users/jan/Sound/build/vstplugin/build/sc /Users/jan/Sound/build/vstplugin/build/sc/CMakeFiles/VSTPlugin.dir/DependInfo.cmake --color=

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f sc/CMakeFiles/VSTPlugin.dir/build.make sc/CMakeFiles/VSTPlugin.dir/build

make[2]: Nothing to be done for `sc/CMakeFiles/VSTPlugin.dir/build'.

[ 90%] Built target VSTPlugin

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f test/CMakeFiles/shm_test.dir/build.make test/CMakeFiles/shm_test.dir/depend

cd /Users/jan/Sound/build/vstplugin/build && /opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -E cmake_depends "Unix Makefiles" /Users/jan/Sound/build/vstplugin /Users/jan/Sound/build/vstplugin/test /Users/jan/Sound/build/vstplugin/build /Users/jan/Sound/build/vstplugin/build/test /Users/jan/Sound/build/vstplugin/build/test/CMakeFiles/shm_test.dir/DependInfo.cmake --color=

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f test/CMakeFiles/shm_test.dir/build.make test/CMakeFiles/shm_test.dir/build

make[2]: Nothing to be done for `test/CMakeFiles/shm_test.dir/build'.

[100%] Built target shm_test

/opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -E cmake_progress_start /Users/jan/Sound/build/vstplugin/build/CMakeFiles 0

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 preinstall

make[1]: Nothing to be done for `preinstall'.

Install the project...

/opt/homebrew/Cellar/cmake/3.22.2/bin/cmake -P cmake_install.cmake

-- Install configuration: "Release"

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/plugins/VSTPlugin.scx

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/plugins/host

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/classes

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/classes/VSTPluginController.sc

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/classes/VSTPlugin.sc

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/classes/VSTPluginGui.sc

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/classes/VSTPluginDesc.sc

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/classes/VSTPluginNodeProxy.sc

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/doc

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/doc/VSTPlugin-UGen-Internals.md

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/HelpSource

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/HelpSource/.DS_Store

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/HelpSource/Classes

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/HelpSource/Classes/VSTPluginGui.schelp

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/HelpSource/Classes/noparams.JPG

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/HelpSource/Classes/VSTPluginNodeProxyController.schelp

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/HelpSource/Classes/editor.jpg

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/HelpSource/Classes/VSTPluginDesc.schelp

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/HelpSource/Classes/embed.jpg

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/HelpSource/Classes/VSTPluginMIDIProxy.schelp

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/HelpSource/Classes/browser.jpg

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/HelpSource/Classes/VSTPlugin.schelp

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/HelpSource/Classes/VSTPluginController.schelp

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/HelpSource/Guides

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/HelpSource/Guides/HOA_IEM.schelp

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/README.md

-- Installing: /Users/jan/Library/Application Support/SuperCollider/Extensions/VSTPlugin/LICENSE.txt

@.*** build %

On Mon, 23 May 2022 at 02:35, Christof Ressi @.***> wrote:

Build 32-bit host program

I'm wondering why it would try to build a 32-bit host program because it is off by default. Did you set -DBUILD_HOST32=ON this in a previous cmake run? I don't think this would work on M1 because Apple has already dropped 32-bit support on macOS 10.15 and corresponding newer XCode SDKS. (I should really add a compile test for these kind of features so that users can't enable them by accident.)

— Reply to this email directly, view it on GitHub https://github.com/Spacechild1/vstplugin/issues/8#issuecomment-1134036154, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKYMG4FQIUWLG7WOXBU5TLVLLHFZANCNFSM5WR5S6YA . You are receiving this because you authored the thread.Message ID: @.***>

Spacechild1 commented 2 years ago

I now tried to build it without the VST2/3 as they are not necessary and the installation seems to go fine, at least no errors as before (below).

If you disable both VST2 and VST3 support, the plugin will be of little use ;-) For personal use, I would recommend to enable both. Again, please follow the build instructions in the README. It describes how to get the VST SDK(s): https://github.com/Spacechild1/vstplugin/blob/master/README.md#prerequisites

(Hint: use the ./.git-ci/get_vst2.sh and ./.git-ci/get_vst3.sh scripts)

The VSTPlugin appears in the Extensions folder, but after recompiling SC still returns it is not installed: "exception in GraphDef_Recv: UGen'VSTPlugin' not installed." Any idea why this could be?

Can you show the full scide console output? Did you actually compile scsynth for M1? (IIRC there are no official universal binaries available [yet].)

-DSC_INCLUDEDIR=/Users/jan/Sound/build/supercollider DBUILD_HOST_AMD64=ON -DPD=OFF -DVST2=OFF -DVST3=OFF

Watch your cmake arguments. There's still a missing - ;-)

mousaique commented 2 years ago

ok, still a way to go it seems:) I thought I'd be able to still use simple .VST's that way as I was just looking to use one. About the script./.git-ci/get_vst2.sh I actually intended to but it wasn't clear to me how to execute it or find it (pardon my ignorance)... And i didn't yet dare to compile SC specifically for M1, got the last release, afaik! Thanks for pointing out the missing characters also!

On Mon, 23 May 2022 at 21:46, Christof Ressi @.***> wrote:

I now tried to build it without the VST2/3 as they are not necessary and the installation seems to go fine, at least no errors as before (below).

If you disable both VST2 and VST3 support, the plugin will be of little use ;-) For personal use, I would recommend to enable both. Again, please follow the build instructions in the README. It describes how to get the VST SDK(s): https://github.com/Spacechild1/vstplugin/blob/master/README.md#prerequisites

(Hint: use the ./.git-ci/get_vst2.sh and ./.git-ci/get_vst3.sh scripts)

The VSTPlugin appears in the Extensions folder, but after recompiling SC still returns it is not installed: "exception in GraphDef_Recv: UGen'VSTPlugin' not installed." Any idea why this could be?

Can you show the full scide console output? Did you actually compile scsynth for M1? (IIRC there are no official universal binaries available [yet].)

-DSC_INCLUDEDIR=/Users/jan/Sound/build/supercollider DBUILD_HOST_AMD64=ON -DPD=OFF -DVST2=OFF -DVST3=OFF

Watch your cmake arguments. There's still a missing - ;-)

— Reply to this email directly, view it on GitHub https://github.com/Spacechild1/vstplugin/issues/8#issuecomment-1135073429, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKYMGY2B75YTLPFSGRTOPLVLPOAZANCNFSM5WR5S6YA . You are receiving this because you authored the thread.Message ID: @.***>

Spacechild1 commented 2 years ago

I thought I'd be able to still use simple .VST's that way as I was just looking to use one.

VST plugins with a .vst extension are VST2 plugins.

About the script./.git-ci/get_vst2.sh I actually intended to but it wasn't clear to me how to execute it or find it (pardon my ignorance)...

It's a shell script. Just execute ./.git-ci/get_vst2.sh in the top level directory.

And i didn't yet dare to compile SC specifically for M1, got the last release, afaik!

Same problem as in https://scsynth.org/t/building-supercollider-and-plugins-on-mac-m1/4626/18?u=spacechild1.

scsynth and VSTPlugin must be compiled for the same CPU architecture(s). If you're using an x86_64 version of scsynth, you have to compile VSTPlugin for x86_64 as well. On Apple M1 this can be done by passing the CMake option -DCMAKE_OSX_ARCHITECTURES=x86_64.

But why don't you just use the pre-build x86_64 binaries (https://git.iem.at/pd/vstplugin/-/releases)?

mousaique commented 2 years ago

Ah ok for some reason I was convinced I had to compile because of the new architecture, but of course it simply has to match the scsynths... I now downloaded the pre-build and it seems to be working fine! Thanks so much and sorry for the noise!:)

On Mon, 23 May 2022 at 22:13, Christof Ressi @.***> wrote:

I thought I'd be able to still use simple .VST's that way as I was just looking to use one.

VST plugins with a .vst extension are VST2 plugins.

About the script./.git-ci/get_vst2.sh I actually intended to but it wasn't clear to me how to execute it or find it (pardon my ignorance)...

It's a shell script. Just execute ./git-ci/get_vst2.sh in the top level directory.

And i didn't yet dare to compile SC specifically for M1, got the last release, afaik!

Same problem as in https://scsynth.org/t/building-supercollider-and-plugins-on-mac-m1/4626/18?u=spacechild1 .

scsynth and VSTPlugin must have been compiled for the same CPU architecture(s). If you're using an x86_64 version of scsynth, you have to compile VSTPlugin for x86_64 as well. On Apple M1 this can be done by passing the CMake option -DCMAKE_OSX_ARCHITECTURES=x86_64.

But why don't you just use the pre-build x86_64 binaries ( https://git.iem.at/pd/vstplugin/-/releases)?

— Reply to this email directly, view it on GitHub https://github.com/Spacechild1/vstplugin/issues/8#issuecomment-1135095106, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKYMG73MUTVGNIY6P2QUXTVLPRFFANCNFSM5WR5S6YA . You are receiving this because you authored the thread.Message ID: @.***>

Spacechild1 commented 2 years ago

no worries!