Cycling74 / gen-plugin-export

Build audio applications and plugins with gen~
Other
232 stars 29 forks source link

trouble generating any project to Projucer/xcode #13

Open lorenlepton opened 2 years ago

lorenlepton commented 2 years ago

followed the steps, but when it came to the CMake stuff, once I keyed/pasted in cmake -G "Xcode" -S misc -B misc/build it came up with the 'could not create...' message it also had the message CMake Error: Xcode 1.5 not supported

im on Big Sur, if that helps out thinking what may be the problem

lorenlepton commented 2 years ago

here is the generated terminal text

cd: no such file or directory: Documents/Max 8/Packages/gen-plugin-export/misc/build
lepton@lepton ~ % cd && cd "Documents/Max 8/Packages/gen-plugin-export/misc/build"
lepton@lepton build % cmake -DCMAKE_BUILD_TYPE=Release ..
-- The C compiler identification is AppleClang 13.0.0.13000029
-- The CXX compiler identification is AppleClang 13.0.0.13000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring juceaide
-- Building juceaide
-- Exporting juceaide
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/build
lepton@lepton build % cmake --build .
[  1%] Generating C74GenPlugin_artefacts/JuceLibraryCode/JuceHeader.h
[  3%] Building CXX object CMakeFiles/C74GenPlugin.dir/exported-code/C74_GENPLUGIN.cpp.o
[  5%] Building CXX object CMakeFiles/C74GenPlugin.dir/exported-code/gen_dsp/genlib.cpp.o
[  7%] Building C object CMakeFiles/C74GenPlugin.dir/exported-code/gen_dsp/json_builder.c.o
[  9%] Building C object CMakeFiles/C74GenPlugin.dir/exported-code/gen_dsp/json.c.o
[ 11%] Building CXX object CMakeFiles/C74GenPlugin.dir/Source-Plugin/PluginEditor.cpp.o
[ 12%] Building CXX object CMakeFiles/C74GenPlugin.dir/Source-Plugin/PluginProcessor.cpp.o
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/Source-Plugin/PluginProcessor.cpp:183:11: warning: 'getNumInputChannels' is deprecated [-Wdeprecated-declarations]
                if (i < getNumInputChannels()) {
                        ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_processors/processors/juce_AudioProcessor.h:1406:5: note: 'getNumInputChannels' has been explicitly marked deprecated here
    JUCE_DEPRECATED_WITH_BODY (int getNumInputChannels()  const noexcept, { return getTotalNumInputChannels(); })
    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:295:69: note: expanded from macro 'JUCE_DEPRECATED_WITH_BODY'
 #define JUCE_DEPRECATED_WITH_BODY(functionDef, body)   functionDef JUCE_DEPRECATED_ATTRIBUTE body
                                                                    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:293:73: note: expanded from macro 'JUCE_DEPRECATED_ATTRIBUTE'
 #define JUCE_DEPRECATED_ATTRIBUTE                      __attribute__ ((deprecated))
                                                                        ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/Source-Plugin/PluginProcessor.cpp:201:22: warning: 'getNumOutputChannels' is deprecated [-Wdeprecated-declarations]
        for (int i = 0; i < getNumOutputChannels(); i++) {
                            ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_processors/processors/juce_AudioProcessor.h:1407:5: note: 'getNumOutputChannels' has been explicitly marked deprecated here
    JUCE_DEPRECATED_WITH_BODY (int getNumOutputChannels() const noexcept, { return getTotalNumOutputChannels(); })
    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:295:69: note: expanded from macro 'JUCE_DEPRECATED_WITH_BODY'
 #define JUCE_DEPRECATED_WITH_BODY(functionDef, body)   functionDef JUCE_DEPRECATED_ATTRIBUTE body
                                                                    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:293:73: note: expanded from macro 'JUCE_DEPRECATED_ATTRIBUTE'
 #define JUCE_DEPRECATED_ATTRIBUTE                      __attribute__ ((deprecated))
                                                                        ^
2 warnings generated.
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/Source-Plugin/PluginProcessor.cpp:183:11: warning: 'getNumInputChannels' is deprecated [-Wdeprecated-declarations]
                if (i < getNumInputChannels()) {
                        ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_processors/processors/juce_AudioProcessor.h:1406:5: note: 'getNumInputChannels' has been explicitly marked deprecated here
    JUCE_DEPRECATED_WITH_BODY (int getNumInputChannels()  const noexcept, { return getTotalNumInputChannels(); })
    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:295:69: note: expanded from macro 'JUCE_DEPRECATED_WITH_BODY'
 #define JUCE_DEPRECATED_WITH_BODY(functionDef, body)   functionDef JUCE_DEPRECATED_ATTRIBUTE body
                                                                    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:293:73: note: expanded from macro 'JUCE_DEPRECATED_ATTRIBUTE'
 #define JUCE_DEPRECATED_ATTRIBUTE                      __attribute__ ((deprecated))
                                                                        ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/Source-Plugin/PluginProcessor.cpp:201:22: warning: 'getNumOutputChannels' is deprecated [-Wdeprecated-declarations]
        for (int i = 0; i < getNumOutputChannels(); i++) {
                            ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_processors/processors/juce_AudioProcessor.h:1407:5: note: 'getNumOutputChannels' has been explicitly marked deprecated here
    JUCE_DEPRECATED_WITH_BODY (int getNumOutputChannels() const noexcept, { return getTotalNumOutputChannels(); })
    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:295:69: note: expanded from macro 'JUCE_DEPRECATED_WITH_BODY'
 #define JUCE_DEPRECATED_WITH_BODY(functionDef, body)   functionDef JUCE_DEPRECATED_ATTRIBUTE body
                                                                    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:293:73: note: expanded from macro 'JUCE_DEPRECATED_ATTRIBUTE'
 #define JUCE_DEPRECATED_ATTRIBUTE                      __attribute__ ((deprecated))
                                                                        ^
2 warnings generated.
[ 14%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_audio_plugin_client/juce_audio_plugin_client_utils.cpp.o
[ 16%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_audio_utils/juce_audio_utils.mm.o
[ 18%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_audio_processors/juce_audio_processors.mm.o
[ 20%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_gui_extra/juce_gui_extra.mm.o
[ 22%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_gui_basics/juce_gui_basics.mm.o
[ 24%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_graphics/juce_graphics.mm.o
[ 25%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_events/juce_events.mm.o
[ 27%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_core/juce_core.mm.o
[ 29%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_data_structures/juce_data_structures.mm.o
[ 31%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_audio_basics/juce_audio_basics.mm.o
[ 33%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_audio_formats/juce_audio_formats.mm.o
[ 35%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_audio_devices/juce_audio_devices.mm.o
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.mm:23:
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.cpp:89:
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/native/juce_mac_CoreAudio.cpp:127:83: warning: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' is deprecated: first deprecated in macOS 10.5 [-Wdeprecated-declarations]
float JUCE_CALLTYPE SystemAudioVolume::getGain()              { return SystemVol (kAudioHardwareServiceDeviceProperty_VirtualMasterVolume).getGain(); }
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                  kAudioHardwareServiceDeviceProperty_VirtualMainVolume
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioHardwareService.h:71:2: note: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' has been explicitly marked deprecated here
        kAudioHardwareServiceDeviceProperty_VirtualMasterVolume   API_DEPRECATED_WITH_REPLACEMENT("kAudioHardwareServiceDeviceProperty_VirtualMainVolume", macos(10.5, 10.5)) API_UNAVAILABLE(ios, watchos, tvos) = kAudioHardwareServiceDeviceProperty_VirtualMainVolume,
        ^
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.mm:23:
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.cpp:89:
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/native/juce_mac_CoreAudio.cpp:128:83: warning: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' is deprecated: first deprecated in macOS 10.5 [-Wdeprecated-declarations]
bool  JUCE_CALLTYPE SystemAudioVolume::setGain (float gain)   { return SystemVol (kAudioHardwareServiceDeviceProperty_VirtualMasterVolume).setGain (gain); }
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                  kAudioHardwareServiceDeviceProperty_VirtualMainVolume
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioHardwareService.h:71:2: note: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' has been explicitly marked deprecated here
        kAudioHardwareServiceDeviceProperty_VirtualMasterVolume   API_DEPRECATED_WITH_REPLACEMENT("kAudioHardwareServiceDeviceProperty_VirtualMainVolume", macos(10.5, 10.5)) API_UNAVAILABLE(ios, watchos, tvos) = kAudioHardwareServiceDeviceProperty_VirtualMainVolume,
        ^
2 warnings generated.
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.mm:23:
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.cpp:89:
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/native/juce_mac_CoreAudio.cpp:127:83: warning: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' is deprecated: first deprecated in macOS 10.5 [-Wdeprecated-declarations]
float JUCE_CALLTYPE SystemAudioVolume::getGain()              { return SystemVol (kAudioHardwareServiceDeviceProperty_VirtualMasterVolume).getGain(); }
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                  kAudioHardwareServiceDeviceProperty_VirtualMainVolume
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioHardwareService.h:71:2: note: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' has been explicitly marked deprecated here
        kAudioHardwareServiceDeviceProperty_VirtualMasterVolume   API_DEPRECATED_WITH_REPLACEMENT("kAudioHardwareServiceDeviceProperty_VirtualMainVolume", macos(10.5, 10.5)) API_UNAVAILABLE(ios, watchos, tvos) = kAudioHardwareServiceDeviceProperty_VirtualMainVolume,
        ^
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.mm:23:
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.cpp:89:
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/native/juce_mac_CoreAudio.cpp:128:83: warning: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' is deprecated: first deprecated in macOS 10.5 [-Wdeprecated-declarations]
bool  JUCE_CALLTYPE SystemAudioVolume::setGain (float gain)   { return SystemVol (kAudioHardwareServiceDeviceProperty_VirtualMasterVolume).setGain (gain); }
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                  kAudioHardwareServiceDeviceProperty_VirtualMainVolume
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioHardwareService.h:71:2: note: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' has been explicitly marked deprecated here
        kAudioHardwareServiceDeviceProperty_VirtualMasterVolume   API_DEPRECATED_WITH_REPLACEMENT("kAudioHardwareServiceDeviceProperty_VirtualMainVolume", macos(10.5, 10.5)) API_UNAVAILABLE(ios, watchos, tvos) = kAudioHardwareServiceDeviceProperty_VirtualMainVolume,
        ^
2 warnings generated.
[ 37%] Linking CXX static library C74GenPlugin_artefacts/Release/libC74GenPlugin_SharedCode.a
[ 37%] Built target C74GenPlugin
[ 38%] Generating C74GenPlugin_artefacts/JuceLibraryCode/C74GenPlugin_AU/secret/JucePluginDefines.h
[ 40%] Generating C74GenPlugin_artefacts/JuceLibraryCode/C74GenPlugin_AU/PkgInfo
[ 42%] Generating C74GenPlugin_artefacts/JuceLibraryCode/C74GenPlugin_AU/secret/C74GenPlugin.rsrc
failed to find AudioUnit/AudioUnit.r
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_plugin_client/juce_audio_plugin_client_AU.r:27: ### Rez - noErr (0) during open of "AudioUnit.r".
Fatal Error!
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_plugin_client/juce_audio_plugin_client_AU.r:27: ### Rez - Fatal Error, can't recover.
AudioUnit.r: ### Rez - Since errors occurred, /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/build/C74GenPlugin_artefacts/JuceLibraryCode/C74GenPlugin_AU/secret/C74GenPlugin.rsrc's resource fork was not completely updated.
make[2]: *** [C74GenPlugin_artefacts/JuceLibraryCode/C74GenPlugin_AU/secret/C74GenPlugin.rsrc] Error 3
make[2]: *** Deleting file `C74GenPlugin_artefacts/JuceLibraryCode/C74GenPlugin_AU/secret/C74GenPlugin.rsrc'
make[1]: *** [CMakeFiles/C74GenPlugin_AU.dir/all] Error 2
make: *** [all] Error 2
lepton@lepton build % clear

lepton@lepton build % cd /Users/lepton/Documents/Max\ 8/Packages/gen-plugin-export 
lepton@lepton gen-plugin-export % cmake -G "Xcode" -S misc -B misc/build
CMake Error:
  Xcode 1.5 not supported.

CMake Error: Could not create named generator Xcode

Generators
* Unix Makefiles               = Generates standard UNIX makefiles.
  Ninja                        = Generates build.ninja files.
  Ninja Multi-Config           = Generates build-<Config>.ninja files.
  Watcom WMake                 = Generates Watcom WMake makefiles.
  Xcode                        = Generate Xcode project files.
  CodeBlocks - Ninja           = Generates CodeBlocks project files.
  CodeBlocks - Unix Makefiles  = Generates CodeBlocks project files.
  CodeLite - Ninja             = Generates CodeLite project files.
  CodeLite - Unix Makefiles    = Generates CodeLite project files.
  Eclipse CDT4 - Ninja         = Generates Eclipse CDT 4.0 project files.
  Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.
  Kate - Ninja                 = Generates Kate project files.
  Kate - Unix Makefiles        = Generates Kate project files.
  Sublime Text 2 - Ninja       = Generates Sublime Text 2 project files.
  Sublime Text 2 - Unix Makefiles
                               = Generates Sublime Text 2 project files.
lorenlepton commented 2 years ago

the problem as well, is that build is not really generated in the first place, so you have to make that, which should be outlined

but both the Gen Plugin Export & the method done on this repo are not generating

lorenlepton commented 2 years ago

had another go, making sue I typed everything correctly. still problems. this was following the steps on this repo. still gets only to 42% & then borks out

lepton@lepton ~ % cd /Users/lepton/Documents/Max\ 8/Packages/gen-plugin-export 
lepton@lepton gen-plugin-export % cmake "Xcode" -S misc -B misc/build
CMake Warning:
  Ignoring extra path from command line:

   "/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/Xcode"

-- The C compiler identification is AppleClang 13.0.0.13000029
-- The CXX compiler identification is AppleClang 13.0.0.13000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring juceaide
-- Building juceaide
-- Exporting juceaide
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/build
lepton@lepton gen-plugin-export % cmake --build misc/build --config Release
[  1%] Generating C74GenPlugin_artefacts/JuceLibraryCode/JuceHeader.h
[  3%] Building CXX object CMakeFiles/C74GenPlugin.dir/exported-code/C74_GENPLUGIN.cpp.o
[  5%] Building CXX object CMakeFiles/C74GenPlugin.dir/exported-code/gen_dsp/genlib.cpp.o
[  7%] Building C object CMakeFiles/C74GenPlugin.dir/exported-code/gen_dsp/json_builder.c.o
[  9%] Building C object CMakeFiles/C74GenPlugin.dir/exported-code/gen_dsp/json.c.o
[ 11%] Building CXX object CMakeFiles/C74GenPlugin.dir/Source-Plugin/PluginEditor.cpp.o
[ 12%] Building CXX object CMakeFiles/C74GenPlugin.dir/Source-Plugin/PluginProcessor.cpp.o
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/Source-Plugin/PluginProcessor.cpp:183:11: warning: 'getNumInputChannels' is deprecated [-Wdeprecated-declarations]
                if (i < getNumInputChannels()) {
                        ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_processors/processors/juce_AudioProcessor.h:1406:5: note: 'getNumInputChannels' has been explicitly marked deprecated here
    JUCE_DEPRECATED_WITH_BODY (int getNumInputChannels()  const noexcept, { return getTotalNumInputChannels(); })
    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:295:69: note: expanded from macro 'JUCE_DEPRECATED_WITH_BODY'
 #define JUCE_DEPRECATED_WITH_BODY(functionDef, body)   functionDef JUCE_DEPRECATED_ATTRIBUTE body
                                                                    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:293:73: note: expanded from macro 'JUCE_DEPRECATED_ATTRIBUTE'
 #define JUCE_DEPRECATED_ATTRIBUTE                      __attribute__ ((deprecated))
                                                                        ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/Source-Plugin/PluginProcessor.cpp:201:22: warning: 'getNumOutputChannels' is deprecated [-Wdeprecated-declarations]
        for (int i = 0; i < getNumOutputChannels(); i++) {
                            ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_processors/processors/juce_AudioProcessor.h:1407:5: note: 'getNumOutputChannels' has been explicitly marked deprecated here
    JUCE_DEPRECATED_WITH_BODY (int getNumOutputChannels() const noexcept, { return getTotalNumOutputChannels(); })
    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:295:69: note: expanded from macro 'JUCE_DEPRECATED_WITH_BODY'
 #define JUCE_DEPRECATED_WITH_BODY(functionDef, body)   functionDef JUCE_DEPRECATED_ATTRIBUTE body
                                                                    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:293:73: note: expanded from macro 'JUCE_DEPRECATED_ATTRIBUTE'
 #define JUCE_DEPRECATED_ATTRIBUTE                      __attribute__ ((deprecated))
                                                                        ^
2 warnings generated.
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/Source-Plugin/PluginProcessor.cpp:183:11: warning: 'getNumInputChannels' is deprecated [-Wdeprecated-declarations]
                if (i < getNumInputChannels()) {
                        ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_processors/processors/juce_AudioProcessor.h:1406:5: note: 'getNumInputChannels' has been explicitly marked deprecated here
    JUCE_DEPRECATED_WITH_BODY (int getNumInputChannels()  const noexcept, { return getTotalNumInputChannels(); })
    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:295:69: note: expanded from macro 'JUCE_DEPRECATED_WITH_BODY'
 #define JUCE_DEPRECATED_WITH_BODY(functionDef, body)   functionDef JUCE_DEPRECATED_ATTRIBUTE body
                                                                    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:293:73: note: expanded from macro 'JUCE_DEPRECATED_ATTRIBUTE'
 #define JUCE_DEPRECATED_ATTRIBUTE                      __attribute__ ((deprecated))
                                                                        ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/Source-Plugin/PluginProcessor.cpp:201:22: warning: 'getNumOutputChannels' is deprecated [-Wdeprecated-declarations]
        for (int i = 0; i < getNumOutputChannels(); i++) {
                            ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_processors/processors/juce_AudioProcessor.h:1407:5: note: 'getNumOutputChannels' has been explicitly marked deprecated here
    JUCE_DEPRECATED_WITH_BODY (int getNumOutputChannels() const noexcept, { return getTotalNumOutputChannels(); })
    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:295:69: note: expanded from macro 'JUCE_DEPRECATED_WITH_BODY'
 #define JUCE_DEPRECATED_WITH_BODY(functionDef, body)   functionDef JUCE_DEPRECATED_ATTRIBUTE body
                                                                    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:293:73: note: expanded from macro 'JUCE_DEPRECATED_ATTRIBUTE'
 #define JUCE_DEPRECATED_ATTRIBUTE                      __attribute__ ((deprecated))
                                                                        ^
2 warnings generated.
[ 14%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_audio_plugin_client/juce_audio_plugin_client_utils.cpp.o
[ 16%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_audio_utils/juce_audio_utils.mm.o
[ 18%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_audio_processors/juce_audio_processors.mm.o
[ 20%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_gui_extra/juce_gui_extra.mm.o
[ 22%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_gui_basics/juce_gui_basics.mm.o
[ 24%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_graphics/juce_graphics.mm.o
[ 25%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_events/juce_events.mm.o
[ 27%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_core/juce_core.mm.o
[ 29%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_data_structures/juce_data_structures.mm.o
[ 31%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_audio_basics/juce_audio_basics.mm.o
[ 33%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_audio_formats/juce_audio_formats.mm.o
[ 35%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_audio_devices/juce_audio_devices.mm.o
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.mm:23:
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.cpp:89:
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/native/juce_mac_CoreAudio.cpp:127:83: warning: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' is deprecated: first deprecated in macOS 10.5 [-Wdeprecated-declarations]
float JUCE_CALLTYPE SystemAudioVolume::getGain()              { return SystemVol (kAudioHardwareServiceDeviceProperty_VirtualMasterVolume).getGain(); }
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                  kAudioHardwareServiceDeviceProperty_VirtualMainVolume
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioHardwareService.h:71:2: note: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' has been explicitly marked deprecated here
        kAudioHardwareServiceDeviceProperty_VirtualMasterVolume   API_DEPRECATED_WITH_REPLACEMENT("kAudioHardwareServiceDeviceProperty_VirtualMainVolume", macos(10.5, 10.5)) API_UNAVAILABLE(ios, watchos, tvos) = kAudioHardwareServiceDeviceProperty_VirtualMainVolume,
        ^
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.mm:23:
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.cpp:89:
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/native/juce_mac_CoreAudio.cpp:128:83: warning: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' is deprecated: first deprecated in macOS 10.5 [-Wdeprecated-declarations]
bool  JUCE_CALLTYPE SystemAudioVolume::setGain (float gain)   { return SystemVol (kAudioHardwareServiceDeviceProperty_VirtualMasterVolume).setGain (gain); }
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                  kAudioHardwareServiceDeviceProperty_VirtualMainVolume
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioHardwareService.h:71:2: note: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' has been explicitly marked deprecated here
        kAudioHardwareServiceDeviceProperty_VirtualMasterVolume   API_DEPRECATED_WITH_REPLACEMENT("kAudioHardwareServiceDeviceProperty_VirtualMainVolume", macos(10.5, 10.5)) API_UNAVAILABLE(ios, watchos, tvos) = kAudioHardwareServiceDeviceProperty_VirtualMainVolume,
        ^
2 warnings generated.
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.mm:23:
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.cpp:89:
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/native/juce_mac_CoreAudio.cpp:127:83: warning: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' is deprecated: first deprecated in macOS 10.5 [-Wdeprecated-declarations]
float JUCE_CALLTYPE SystemAudioVolume::getGain()              { return SystemVol (kAudioHardwareServiceDeviceProperty_VirtualMasterVolume).getGain(); }
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                  kAudioHardwareServiceDeviceProperty_VirtualMainVolume
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioHardwareService.h:71:2: note: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' has been explicitly marked deprecated here
        kAudioHardwareServiceDeviceProperty_VirtualMasterVolume   API_DEPRECATED_WITH_REPLACEMENT("kAudioHardwareServiceDeviceProperty_VirtualMainVolume", macos(10.5, 10.5)) API_UNAVAILABLE(ios, watchos, tvos) = kAudioHardwareServiceDeviceProperty_VirtualMainVolume,
        ^
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.mm:23:
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.cpp:89:
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/native/juce_mac_CoreAudio.cpp:128:83: warning: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' is deprecated: first deprecated in macOS 10.5 [-Wdeprecated-declarations]
bool  JUCE_CALLTYPE SystemAudioVolume::setGain (float gain)   { return SystemVol (kAudioHardwareServiceDeviceProperty_VirtualMasterVolume).setGain (gain); }
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                  kAudioHardwareServiceDeviceProperty_VirtualMainVolume
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioHardwareService.h:71:2: note: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' has been explicitly marked deprecated here
        kAudioHardwareServiceDeviceProperty_VirtualMasterVolume   API_DEPRECATED_WITH_REPLACEMENT("kAudioHardwareServiceDeviceProperty_VirtualMainVolume", macos(10.5, 10.5)) API_UNAVAILABLE(ios, watchos, tvos) = kAudioHardwareServiceDeviceProperty_VirtualMainVolume,
        ^
2 warnings generated.
[ 37%] Linking CXX static library C74GenPlugin_artefacts/Release/libC74GenPlugin_SharedCode.a
[ 37%] Built target C74GenPlugin
[ 38%] Generating C74GenPlugin_artefacts/JuceLibraryCode/C74GenPlugin_AU/secret/JucePluginDefines.h
[ 40%] Generating C74GenPlugin_artefacts/JuceLibraryCode/C74GenPlugin_AU/PkgInfo
[ 42%] Generating C74GenPlugin_artefacts/JuceLibraryCode/C74GenPlugin_AU/secret/C74GenPlugin.rsrc
failed to find AudioUnit/AudioUnit.r
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_plugin_client/juce_audio_plugin_client_AU.r:27: ### Rez - noErr (0) during open of "AudioUnit.r".
Fatal Error!
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_plugin_client/juce_audio_plugin_client_AU.r:27: ### Rez - Fatal Error, can't recover.
AudioUnit.r: ### Rez - Since errors occurred, /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/build/C74GenPlugin_artefacts/JuceLibraryCode/C74GenPlugin_AU/secret/C74GenPlugin.rsrc's resource fork was not completely updated.
make[2]: *** [C74GenPlugin_artefacts/JuceLibraryCode/C74GenPlugin_AU/secret/C74GenPlugin.rsrc] Error 3
make[2]: *** Deleting file `C74GenPlugin_artefacts/JuceLibraryCode/C74GenPlugin_AU/secret/C74GenPlugin.rsrc'
make[1]: *** [CMakeFiles/C74GenPlugin_AU.dir/all] Error 2
make: *** [all] Error 2
lorenlepton commented 2 years ago

this is the Gen Export Patch method. I tried again, same thing happening like the repo method

Last login: Fri Mar 11 18:54:57 on ttys000
lepton@lepton ~ % cd /Users/lepton/Documents/Max\ 8/Packages/gen-plugin-export 
lepton@lepton gen-plugin-export % cd misc/build                      
lepton@lepton build % cd -DCMAKE_BUILD_TYPE=Release ..
cd: string not in pwd: -DCMAKE_BUILD_TYPE=Release
lepton@lepton build % cd -DCMAKE_BUILD_TYPE=Release   
cd: no such file or directory: -DCMAKE_BUILD_TYPE=Release
lepton@lepton build % cmake -DCMAKE_BUILD_TYPE=Release ..
-- The C compiler identification is AppleClang 13.0.0.13000029
-- The CXX compiler identification is AppleClang 13.0.0.13000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring juceaide
-- Building juceaide
-- Exporting juceaide
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/build
lepton@lepton build % cmake --build .
[  1%] Generating C74GenPlugin_artefacts/JuceLibraryCode/JuceHeader.h
[  3%] Building CXX object CMakeFiles/C74GenPlugin.dir/exported-code/C74_GENPLUGIN.cpp.o
[  5%] Building CXX object CMakeFiles/C74GenPlugin.dir/exported-code/gen_dsp/genlib.cpp.o
[  7%] Building C object CMakeFiles/C74GenPlugin.dir/exported-code/gen_dsp/json_builder.c.o
[  9%] Building C object CMakeFiles/C74GenPlugin.dir/exported-code/gen_dsp/json.c.o
[ 11%] Building CXX object CMakeFiles/C74GenPlugin.dir/Source-Plugin/PluginEditor.cpp.o
[ 12%] Building CXX object CMakeFiles/C74GenPlugin.dir/Source-Plugin/PluginProcessor.cpp.o
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/Source-Plugin/PluginProcessor.cpp:183:11: warning: 'getNumInputChannels' is deprecated [-Wdeprecated-declarations]
                if (i < getNumInputChannels()) {
                        ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_processors/processors/juce_AudioProcessor.h:1406:5: note: 'getNumInputChannels' has been explicitly marked deprecated here
    JUCE_DEPRECATED_WITH_BODY (int getNumInputChannels()  const noexcept, { return getTotalNumInputChannels(); })
    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:295:69: note: expanded from macro 'JUCE_DEPRECATED_WITH_BODY'
 #define JUCE_DEPRECATED_WITH_BODY(functionDef, body)   functionDef JUCE_DEPRECATED_ATTRIBUTE body
                                                                    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:293:73: note: expanded from macro 'JUCE_DEPRECATED_ATTRIBUTE'
 #define JUCE_DEPRECATED_ATTRIBUTE                      __attribute__ ((deprecated))
                                                                        ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/Source-Plugin/PluginProcessor.cpp:201:22: warning: 'getNumOutputChannels' is deprecated [-Wdeprecated-declarations]
        for (int i = 0; i < getNumOutputChannels(); i++) {
                            ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_processors/processors/juce_AudioProcessor.h:1407:5: note: 'getNumOutputChannels' has been explicitly marked deprecated here
    JUCE_DEPRECATED_WITH_BODY (int getNumOutputChannels() const noexcept, { return getTotalNumOutputChannels(); })
    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:295:69: note: expanded from macro 'JUCE_DEPRECATED_WITH_BODY'
 #define JUCE_DEPRECATED_WITH_BODY(functionDef, body)   functionDef JUCE_DEPRECATED_ATTRIBUTE body
                                                                    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:293:73: note: expanded from macro 'JUCE_DEPRECATED_ATTRIBUTE'
 #define JUCE_DEPRECATED_ATTRIBUTE                      __attribute__ ((deprecated))
                                                                        ^
2 warnings generated.
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/Source-Plugin/PluginProcessor.cpp:183:11: warning: 'getNumInputChannels' is deprecated [-Wdeprecated-declarations]
                if (i < getNumInputChannels()) {
                        ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_processors/processors/juce_AudioProcessor.h:1406:5: note: 'getNumInputChannels' has been explicitly marked deprecated here
    JUCE_DEPRECATED_WITH_BODY (int getNumInputChannels()  const noexcept, { return getTotalNumInputChannels(); })
    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:295:69: note: expanded from macro 'JUCE_DEPRECATED_WITH_BODY'
 #define JUCE_DEPRECATED_WITH_BODY(functionDef, body)   functionDef JUCE_DEPRECATED_ATTRIBUTE body
                                                                    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:293:73: note: expanded from macro 'JUCE_DEPRECATED_ATTRIBUTE'
 #define JUCE_DEPRECATED_ATTRIBUTE                      __attribute__ ((deprecated))
                                                                        ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/Source-Plugin/PluginProcessor.cpp:201:22: warning: 'getNumOutputChannels' is deprecated [-Wdeprecated-declarations]
        for (int i = 0; i < getNumOutputChannels(); i++) {
                            ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_processors/processors/juce_AudioProcessor.h:1407:5: note: 'getNumOutputChannels' has been explicitly marked deprecated here
    JUCE_DEPRECATED_WITH_BODY (int getNumOutputChannels() const noexcept, { return getTotalNumOutputChannels(); })
    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:295:69: note: expanded from macro 'JUCE_DEPRECATED_WITH_BODY'
 #define JUCE_DEPRECATED_WITH_BODY(functionDef, body)   functionDef JUCE_DEPRECATED_ATTRIBUTE body
                                                                    ^
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_core/system/juce_PlatformDefs.h:293:73: note: expanded from macro 'JUCE_DEPRECATED_ATTRIBUTE'
 #define JUCE_DEPRECATED_ATTRIBUTE                      __attribute__ ((deprecated))
                                                                        ^
2 warnings generated.
[ 14%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_audio_plugin_client/juce_audio_plugin_client_utils.cpp.o
[ 16%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_audio_utils/juce_audio_utils.mm.o
[ 18%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_audio_processors/juce_audio_processors.mm.o
[ 20%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_gui_extra/juce_gui_extra.mm.o
[ 22%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_gui_basics/juce_gui_basics.mm.o
[ 24%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_graphics/juce_graphics.mm.o
[ 25%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_events/juce_events.mm.o
[ 27%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_core/juce_core.mm.o
[ 29%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_data_structures/juce_data_structures.mm.o
[ 31%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_audio_basics/juce_audio_basics.mm.o
[ 33%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_audio_formats/juce_audio_formats.mm.o
[ 35%] Building CXX object CMakeFiles/C74GenPlugin.dir/JUCE/modules/juce_audio_devices/juce_audio_devices.mm.o
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.mm:23:
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.cpp:89:
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/native/juce_mac_CoreAudio.cpp:127:83: warning: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' is deprecated: first deprecated in macOS 10.5 [-Wdeprecated-declarations]
float JUCE_CALLTYPE SystemAudioVolume::getGain()              { return SystemVol (kAudioHardwareServiceDeviceProperty_VirtualMasterVolume).getGain(); }
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                  kAudioHardwareServiceDeviceProperty_VirtualMainVolume
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioHardwareService.h:71:2: note: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' has been explicitly marked deprecated here
        kAudioHardwareServiceDeviceProperty_VirtualMasterVolume   API_DEPRECATED_WITH_REPLACEMENT("kAudioHardwareServiceDeviceProperty_VirtualMainVolume", macos(10.5, 10.5)) API_UNAVAILABLE(ios, watchos, tvos) = kAudioHardwareServiceDeviceProperty_VirtualMainVolume,
        ^
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.mm:23:
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.cpp:89:
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/native/juce_mac_CoreAudio.cpp:128:83: warning: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' is deprecated: first deprecated in macOS 10.5 [-Wdeprecated-declarations]
bool  JUCE_CALLTYPE SystemAudioVolume::setGain (float gain)   { return SystemVol (kAudioHardwareServiceDeviceProperty_VirtualMasterVolume).setGain (gain); }
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                  kAudioHardwareServiceDeviceProperty_VirtualMainVolume
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioHardwareService.h:71:2: note: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' has been explicitly marked deprecated here
        kAudioHardwareServiceDeviceProperty_VirtualMasterVolume   API_DEPRECATED_WITH_REPLACEMENT("kAudioHardwareServiceDeviceProperty_VirtualMainVolume", macos(10.5, 10.5)) API_UNAVAILABLE(ios, watchos, tvos) = kAudioHardwareServiceDeviceProperty_VirtualMainVolume,
        ^
2 warnings generated.
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.mm:23:
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.cpp:89:
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/native/juce_mac_CoreAudio.cpp:127:83: warning: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' is deprecated: first deprecated in macOS 10.5 [-Wdeprecated-declarations]
float JUCE_CALLTYPE SystemAudioVolume::getGain()              { return SystemVol (kAudioHardwareServiceDeviceProperty_VirtualMasterVolume).getGain(); }
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                  kAudioHardwareServiceDeviceProperty_VirtualMainVolume
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioHardwareService.h:71:2: note: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' has been explicitly marked deprecated here
        kAudioHardwareServiceDeviceProperty_VirtualMasterVolume   API_DEPRECATED_WITH_REPLACEMENT("kAudioHardwareServiceDeviceProperty_VirtualMainVolume", macos(10.5, 10.5)) API_UNAVAILABLE(ios, watchos, tvos) = kAudioHardwareServiceDeviceProperty_VirtualMainVolume,
        ^
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.mm:23:
In file included from /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/juce_audio_devices.cpp:89:
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_devices/native/juce_mac_CoreAudio.cpp:128:83: warning: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' is deprecated: first deprecated in macOS 10.5 [-Wdeprecated-declarations]
bool  JUCE_CALLTYPE SystemAudioVolume::setGain (float gain)   { return SystemVol (kAudioHardwareServiceDeviceProperty_VirtualMasterVolume).setGain (gain); }
                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                  kAudioHardwareServiceDeviceProperty_VirtualMainVolume
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioHardwareService.h:71:2: note: 'kAudioHardwareServiceDeviceProperty_VirtualMasterVolume' has been explicitly marked deprecated here
        kAudioHardwareServiceDeviceProperty_VirtualMasterVolume   API_DEPRECATED_WITH_REPLACEMENT("kAudioHardwareServiceDeviceProperty_VirtualMainVolume", macos(10.5, 10.5)) API_UNAVAILABLE(ios, watchos, tvos) = kAudioHardwareServiceDeviceProperty_VirtualMainVolume,
        ^
2 warnings generated.
[ 37%] Linking CXX static library C74GenPlugin_artefacts/Release/libC74GenPlugin_SharedCode.a
[ 37%] Built target C74GenPlugin
[ 38%] Generating C74GenPlugin_artefacts/JuceLibraryCode/C74GenPlugin_AU/secret/JucePluginDefines.h
[ 40%] Generating C74GenPlugin_artefacts/JuceLibraryCode/C74GenPlugin_AU/PkgInfo
[ 42%] Generating C74GenPlugin_artefacts/JuceLibraryCode/C74GenPlugin_AU/secret/C74GenPlugin.rsrc
failed to find AudioUnit/AudioUnit.r
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_plugin_client/juce_audio_plugin_client_AU.r:27: ### Rez - noErr (0) during open of "AudioUnit.r".
Fatal Error!
/Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/JUCE/modules/juce_audio_plugin_client/juce_audio_plugin_client_AU.r:27: ### Rez - Fatal Error, can't recover.
AudioUnit.r: ### Rez - Since errors occurred, /Users/lepton/Documents/Max 8/Packages/gen-plugin-export/misc/build/C74GenPlugin_artefacts/JuceLibraryCode/C74GenPlugin_AU/secret/C74GenPlugin.rsrc's resource fork was not completely updated.
make[2]: *** [C74GenPlugin_artefacts/JuceLibraryCode/C74GenPlugin_AU/secret/C74GenPlugin.rsrc] Error 3
make[2]: *** Deleting file `C74GenPlugin_artefacts/JuceLibraryCode/C74GenPlugin_AU/secret/C74GenPlugin.rsrc'
make[1]: *** [CMakeFiles/C74GenPlugin_AU.dir/all] Error 2
make: *** [all] Error 2
lepton@lepton build % 
isabelgk commented 2 years ago

Hi, and thank you for patience!


CMake Error: Xcode 1.5 not supported

This is a strange version number -- do you have Xcode installed?

lepton@lepton gen-plugin-export % cmake "Xcode" -S misc -B misc/build

There's an error in this command; there should be a -G flag before "Xcode".

Can you try cleaning out the misc/build directory and then running

cmake -S misc -B misc/build

This will use your default configuration of Unix Makefiles and having a clean build directory is usually a good first step. If that doesn't work, then we can try disabling AU building to see if that helps.