Compiling on MacOS Monterey
-
@d-healey Ah yes, well that I'm sure of, I also verified the path in Xcode.
Also tried Universal Binary (32/64-bit) instead of 64-bit Intel, that gives me:
'The i386 architecture is deprecated. You should update your ARCHS build setting to remove the i386 architecture.'And I'm building for Profiling. Does OSX deployment target make a big difference?
-
@blezzbeats Profiling is a release build. It will need to be 64 bit Intel because HISE uses Rosetta on M1.
Send me/post your HISE .jucer file.
-
<JUCERPROJECT id="jUHBuI" name="HISE Standalone" projectType="guiapp" version="2.1.0" bundleIdentifier="com.hartinstruments.HISEStandalone" includeBinaryInAppConfig="1" companyName="Hart Instruments" companyWebsite="http://hise.audio" companyCopyright="Hart Instruments" displaySplashScreen="0" reportAppUsage="0" splashScreenColour="Dark" cppLanguageStandard="17" jucerFormatVersion="1" jucerVersion="5.2.0"> <MAINGROUP id="yomWt4" name="HISE Standalone"> <GROUP id="{577963C7-1A49-BB2A-D701-52DC7A5895F7}" name="Source"> <FILE id="Fw455d" name="ScriptNodeTestSuite.cpp" compile="1" resource="0" file="../../hi_scripting/scripting/scriptnode/ScriptNodeTestSuite.cpp"/> <FILE id="ho3qQy" name="logo_new.png" compile="0" resource="1" file="../../hi_core/hi_images/logo_new.png"/> <FILE id="YnIt9L" name="logo_mini.png" compile="0" resource="1" file="../../hi_core/hi_images/logo_mini.png"/> <FILE id="yjZXfQ" name="DspUnitTests.cpp" compile="1" resource="0" file="../../hi_scripting/scripting/api/DspUnitTests.cpp"/> <FILE id="EQP6SW" name="HiseEventBufferUnitTests.cpp" compile="1" resource="0" file="../../hi_core/hi_core/HiseEventBufferUnitTests.cpp"/> <FILE id="tTUrnI" name="infoError.png" compile="0" resource="1" file="../../hi_core/hi_images/infoError.png"/> <FILE id="Ugx13U" name="infoInfo.png" compile="0" resource="1" file="../../hi_core/hi_images/infoInfo.png"/> <FILE id="rNV4cu" name="infoQuestion.png" compile="0" resource="1" file="../../hi_core/hi_images/infoQuestion.png"/> <FILE id="X7hemd" name="infoWarning.png" compile="0" resource="1" file="../../hi_core/hi_images/infoWarning.png"/> <FILE id="EfOrgJ" name="FrontendKnob_Bipolar.png" compile="0" resource="1" file="../../hi_core/hi_images/FrontendKnob_Bipolar.png"/> <FILE id="hJJvHU" name="FrontendKnob_Unipolar.png" compile="0" resource="1" file="../../hi_core/hi_images/FrontendKnob_Unipolar.png"/> <FILE id="BPrHyu" name="balanceKnob_200.png" compile="0" resource="1" file="../../hi_core/hi_images/balanceKnob_200.png"/> <FILE id="OSpRCj" name="knobEmpty_200.png" compile="0" resource="1" file="../../hi_core/hi_images/knobEmpty_200.png"/> <FILE id="u4ioUB" name="knobModulated_200.png" compile="0" resource="1" file="../../hi_core/hi_images/knobModulated_200.png"/> <FILE id="R0Hdz6" name="knobUnmodulated_200.png" compile="0" resource="1" file="../../hi_core/hi_images/knobUnmodulated_200.png"/> <FILE id="hSh2fs" name="toggle_200.png" compile="0" resource="1" file="../../hi_core/hi_images/toggle_200.png"/> <FILE id="OAAVOx" name="MainComponent.cpp" compile="1" resource="0" file="Source/MainComponent.cpp"/> <FILE id="h7HW4R" name="MainComponent.h" compile="0" resource="0" file="Source/MainComponent.h"/> <FILE id="btXzOW" name="Main.cpp" compile="1" resource="0" file="Source/Main.cpp"/> </GROUP> <FILE id="OLb0nc" name="knob_without_arrow.png" compile="0" resource="1" file="../../hi_core/hi_images/knob_without_arrow.png"/> </MAINGROUP> <EXPORTFORMATS> <XCODE_MAC targetFolder="Builds/MacOSX" smallIcon="ho3qQy" bigIcon="ho3qQy" customPList="<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key><true/> </dict> </dict> </plist>" extraDefs="USE_IPP=0 HI_ENABLE_EXPANSION_EDITING=1 HISE_ENABLE_EXPANSIONS=1 HISE_SCRIPT_SERVER_TIMEOUT=20000" extraCompilerFlags="-Wno-reorder -Wno-inconsistent-missing-override -mpopcnt -faligned-allocation -Wno-switch" xcodeValidArchs="x86_64" extraLinkerFlags=""> <CONFIGURATIONS> <CONFIGURATION name="Debug" osxCompatibility="10.9 SDK" osxArchitecture="64BitIntel" isDebug="1" optimisation="1" targetName="HISE Debug" linkTimeOptimisation="0" cppLanguageStandard="c++11" cppLibType="libc++" enablePluginBinaryCopyStep="1" macOSDeploymentTarget="10.9" headerPath="" libraryPath=""/> <CONFIGURATION name="Release" osxCompatibility="10.9 SDK" osxArchitecture="64BitIntel" isDebug="0" optimisation="3" targetName="HISE" linkTimeOptimisation="1" cppLanguageStandard="c++11" cppLibType="libc++" enablePluginBinaryCopyStep="1" macOSDeploymentTarget="10.9" headerPath="" libraryPath=""/> <CONFIGURATION name="CI" osxCompatibility="10.9 SDK" osxArchitecture="64BitIntel" isDebug="0" optimisation="4" targetName="HISE" linkTimeOptimisation="0" cppLanguageStandard="c++11" cppLibType="libc++" enablePluginBinaryCopyStep="1" stripLocalSymbols="1" defines="HISE_CI=1" macOSDeploymentTarget="10.9" headerPath=" " libraryPath=""/> </CONFIGURATIONS> <MODULEPATHS> <MODULEPATH id="juce_gui_extra" path="../../JUCE/modules"/> <MODULEPATH id="juce_gui_basics" path="../../JUCE/modules"/> <MODULEPATH id="juce_graphics" path="../../JUCE/modules"/> <MODULEPATH id="juce_events" path="../../JUCE/modules"/> <MODULEPATH id="juce_data_structures" path="../../JUCE/modules"/> <MODULEPATH id="juce_cryptography" path="../../JUCE/modules"/> <MODULEPATH id="juce_core" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_utils" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_processors" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_formats" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_devices" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_basics" path="../../JUCE/modules"/> <MODULEPATH id="hi_core" path="../../"/> <MODULEPATH id="hi_modules" path="../../"/> <MODULEPATH id="hi_backend" path="../../"/> <MODULEPATH id="hi_scripting" path="../../"/> <MODULEPATH id="hi_dsp_library" path="../../"/> <MODULEPATH id="hi_lac" path="../../"/> <MODULEPATH id="hi_sampler" path="../../"/> <MODULEPATH id="hi_components" path="../../"/> <MODULEPATH id="hi_dsp" path="../../"/> <MODULEPATH id="hi_streaming" path="../../"/> <MODULEPATH id="juce_product_unlocking" path="../../JUCE/modules"/> <MODULEPATH id="juce_dsp" path="../../JUCE/modules"/> <MODULEPATH id="hi_zstd" path="../../"/> <MODULEPATH id="hi_tools" path="../../"/> <MODULEPATH id="juce_opengl" path="../../JUCE/modules"/> <MODULEPATH id="hi_snex" path="../../"/> <MODULEPATH id="hi_rlottie" path="../../"/> </MODULEPATHS> </XCODE_MAC> <XCODE_IPHONE targetFolder="Builds/iOS" iosScreenOrientation="UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight" extraCompilerFlags="-Wno-reorder -Wno-inconsistent-missing-override" extraLinkerFlags="" smallIcon="BNfj8p" bigIcon="BNfj8p" iosBackgroundAudio="1" UIStatusBarHidden="1" extraDefs="USE_IPP=0 HISE_IOS=1" customPList="<key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict>" iPadScreenOrientation="UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight" iosDeviceFamily="1,2"> <CONFIGURATIONS> <CONFIGURATION name="Debug" iosCompatibility="8.0" isDebug="1" optimisation="1" targetName="HISE Standalone" cppLanguageStandard="c++11" cppLibType="libc++" libraryPath="" headerPath="" enablePluginBinaryCopyStep="1" iosDeploymentTarget="8.0"/> <CONFIGURATION name="Release" iosCompatibility="8.0" isDebug="0" optimisation="3" targetName="HISE Standalone" headerPath="" libraryPath="" cppLanguageStandard="c++11" cppLibType="libc++" linkTimeOptimisation="1" enablePluginBinaryCopyStep="1" iosDeploymentTarget="8.0"/> </CONFIGURATIONS> <MODULEPATHS> <MODULEPATH id="juce_gui_extra" path="../../JUCE/modules"/> <MODULEPATH id="juce_gui_basics" path="../../JUCE/modules"/> <MODULEPATH id="juce_graphics" path="../../JUCE/modules"/> <MODULEPATH id="juce_events" path="../../JUCE/modules"/> <MODULEPATH id="juce_data_structures" path="../../JUCE/modules"/> <MODULEPATH id="juce_cryptography" path="../../JUCE/modules"/> <MODULEPATH id="juce_core" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_utils" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_processors" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_formats" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_devices" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_basics" path="../../JUCE/modules"/> <MODULEPATH id="hi_modules" path="../../"/> <MODULEPATH id="hi_core" path="../../"/> <MODULEPATH id="hi_backend" path="../../"/> <MODULEPATH id="hi_scripting" path="../../"/> <MODULEPATH id="hi_dsp_library" path="../../"/> <MODULEPATH id="hi_lac" path="../../"/> <MODULEPATH id="hi_sampler" path="../../"/> <MODULEPATH id="hi_components" path="../../"/> <MODULEPATH id="hi_dsp" path="../../"/> <MODULEPATH id="hi_streaming" path="../../"/> <MODULEPATH id="juce_product_unlocking" path="../../JUCE/modules"/> <MODULEPATH id="juce_dsp" path="../../JUCE/modules"/> <MODULEPATH id="hi_zstd" path="../../"/> <MODULEPATH id="hi_tools" path="../../"/> <MODULEPATH id="juce_opengl" path="../../JUCE/modules"/> <MODULEPATH id="hi_snex" path="../../"/> <MODULEPATH id="hi_rlottie" path="../../"/> </MODULEPATHS> </XCODE_IPHONE> <VS2017 targetFolder="Builds/VisualStudio2017" smallIcon="ho3qQy" bigIcon="ho3qQy" useIPP="Sequential" IPPLibrary="Sequential" windowsTargetPlatformVersion="10.0.16299.0" extraDefs="USE_IPP=1 HISE_SCRIPT_SERVER_TIMEOUT=20000" extraCompilerFlags="/bigobj /W0"> <CONFIGURATIONS> <CONFIGURATION name="Debug" winWarningLevel="2" generateManifest="1" winArchitecture="x64" isDebug="1" optimisation="1" targetName="HISE Debug" headerPath="../../../../tools/SDK/ASIOSDK2.3/common" useRuntimeLibDLL="0" debugInformationFormat="ProgramDatabase" enablePluginBinaryCopyStep="0"/> <CONFIGURATION name="Release" winWarningLevel="4" generateManifest="1" winArchitecture="x64" isDebug="0" optimisation="3" targetName="HISE" headerPath="../../../../tools/SDK/ASIOSDK2.3/common" useRuntimeLibDLL="0" enableIncrementalLinking="1" alwaysGenerateDebugSymbols="1" debugInformationFormat="ProgramDatabase" enablePluginBinaryCopyStep="0" linkTimeOptimisation="1"/> <CONFIGURATION name="CI" winWarningLevel="4" generateManifest="1" winArchitecture="x64" isDebug="0" optimisation="2" targetName="HISE" headerPath="../../../../tools/SDK/ASIOSDK2.3/common" useRuntimeLibDLL="0" debugInformationFormat="ProgramDatabase" enablePluginBinaryCopyStep="0" linkTimeOptimisation="1" defines="HISE_CI=1"/> </CONFIGURATIONS> <MODULEPATHS> <MODULEPATH id="juce_gui_extra" path="../../JUCE/modules"/> <MODULEPATH id="juce_gui_basics" path="../../JUCE/modules"/> <MODULEPATH id="juce_graphics" path="../../JUCE/modules"/> <MODULEPATH id="juce_events" path="../../JUCE/modules"/> <MODULEPATH id="juce_data_structures" path="../../JUCE/modules"/> <MODULEPATH id="juce_cryptography" path="../../JUCE/modules"/> <MODULEPATH id="juce_core" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_utils" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_processors" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_formats" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_devices" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_basics" path="../../JUCE/modules"/> <MODULEPATH id="hi_scripting" path="../../"/> <MODULEPATH id="hi_modules" path="../../"/> <MODULEPATH id="hi_dsp_library" path="../../"/> <MODULEPATH id="hi_core" path="../../"/> <MODULEPATH id="hi_backend" path="../../"/> <MODULEPATH id="hi_lac" path="../../"/> <MODULEPATH id="hi_sampler" path="../../"/> <MODULEPATH id="hi_components" path="../../"/> <MODULEPATH id="hi_dsp" path="../../"/> <MODULEPATH id="hi_streaming" path="../../"/> <MODULEPATH id="juce_product_unlocking" path="../../JUCE/modules"/> <MODULEPATH id="juce_dsp" path="../../JUCE/modules"/> <MODULEPATH id="hi_zstd" path="../../"/> <MODULEPATH id="hi_tools" path="../../"/> <MODULEPATH id="juce_opengl" path="../../JUCE/modules"/> <MODULEPATH id="hi_snex" path="../../"/> <MODULEPATH id="hi_rlottie" path="../../"/> </MODULEPATHS> </VS2017> <LINUX_MAKE targetFolder="Builds/LinuxMakefile" extraDefs="USE_IPP=0 HI_ENABLE_EXPANSION_EDITING=1 HISE_ENABLE_EXPANSIONS=1 HISE_SCRIPT_SERVER_TIMEOUT=20000 " smallIcon="bfBEgJ" bigIcon="bfBEgJ" linuxExtraPkgConfig="x11 xinerama xext" extraLinkerFlags="-no-pie " extraCompilerFlags="-fpermissive"> <CONFIGURATIONS> <CONFIGURATION name="Debug" isDebug="1" optimisation="1" targetName="HISE Standalone"/> <CONFIGURATION name="Release" isDebug="0" optimisation="3" targetName="HISE Standalone" linkTimeOptimisation="1"/> <CONFIGURATION name="TravisCI" isDebug="1" optimisation="1" targetName="HISE Standalone" defines="TRAVIS_CI=1"/> </CONFIGURATIONS> <MODULEPATHS> <MODULEPATH id="juce_gui_extra" path="../../JUCE/modules"/> <MODULEPATH id="juce_gui_basics" path="../../JUCE/modules"/> <MODULEPATH id="juce_graphics" path="../../JUCE/modules"/> <MODULEPATH id="juce_events" path="../../JUCE/modules"/> <MODULEPATH id="juce_data_structures" path="../../JUCE/modules"/> <MODULEPATH id="juce_cryptography" path="../../JUCE/modules"/> <MODULEPATH id="juce_core" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_utils" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_processors" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_formats" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_devices" path="../../JUCE/modules"/> <MODULEPATH id="juce_audio_basics" path="../../JUCE/modules"/> <MODULEPATH id="hi_scripting" path="../../"/> <MODULEPATH id="hi_modules" path="../../"/> <MODULEPATH id="hi_dsp_library" path="../../"/> <MODULEPATH id="hi_core" path="../../"/> <MODULEPATH id="hi_backend" path="../../"/> <MODULEPATH id="hi_lac" path="../../"/> <MODULEPATH id="hi_sampler" path="../../"/> <MODULEPATH id="hi_components" path="../../"/> <MODULEPATH id="hi_dsp" path="../../"/> <MODULEPATH id="hi_streaming" path="../../"/> <MODULEPATH id="juce_product_unlocking" path="../../JUCE/modules"/> <MODULEPATH id="juce_dsp" path="../../JUCE/modules"/> <MODULEPATH id="hi_zstd" path="../../"/> <MODULEPATH id="hi_tools" path="../../"/> <MODULEPATH id="juce_opengl" path="../../JUCE/modules"/> <MODULEPATH id="hi_snex" path="../../"/> <MODULEPATH id="hi_rlottie" path="../../"/> </MODULEPATHS> </LINUX_MAKE> </EXPORTFORMATS> <MODULES> <MODULE id="hi_backend" showAllCode="1" useLocalCopy="0"/> <MODULE id="hi_components" showAllCode="1" useLocalCopy="0"/> <MODULE id="hi_core" showAllCode="1" useLocalCopy="0"/> <MODULE id="hi_dsp" showAllCode="1" useLocalCopy="0"/> <MODULE id="hi_dsp_library" showAllCode="1" useLocalCopy="0"/> <MODULE id="hi_lac" showAllCode="1" useLocalCopy="0"/> <MODULE id="hi_modules" showAllCode="1" useLocalCopy="0"/> <MODULE id="hi_rlottie" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/> <MODULE id="hi_sampler" showAllCode="1" useLocalCopy="0"/> <MODULE id="hi_scripting" showAllCode="1" useLocalCopy="0"/> <MODULE id="hi_snex" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/> <MODULE id="hi_streaming" showAllCode="1" useLocalCopy="0"/> <MODULE id="hi_tools" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/> <MODULE id="hi_zstd" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/> <MODULES id="juce_audio_basics" showAllCode="1" useLocalCopy="0"/> <MODULES id="juce_audio_devices" showAllCode="1" useLocalCopy="0"/> <MODULES id="juce_audio_formats" showAllCode="1" useLocalCopy="0"/> <MODULES id="juce_audio_processors" showAllCode="1" useLocalCopy="0"/> <MODULES id="juce_audio_utils" showAllCode="1" useLocalCopy="0"/> <MODULES id="juce_core" showAllCode="1" useLocalCopy="0"/> <MODULES id="juce_cryptography" showAllCode="1" useLocalCopy="0"/> <MODULES id="juce_data_structures" showAllCode="1" useLocalCopy="0"/> <MODULE id="juce_dsp" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/> <MODULES id="juce_events" showAllCode="1" useLocalCopy="0"/> <MODULES id="juce_graphics" showAllCode="1" useLocalCopy="0"/> <MODULES id="juce_gui_basics" showAllCode="1" useLocalCopy="0"/> <MODULES id="juce_gui_extra" showAllCode="1" useLocalCopy="0"/> <MODULE id="juce_opengl" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/> <MODULE id="juce_product_unlocking" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/> </MODULES> <JUCEOPTIONS USE_IPP="disabled"/> <LIVE_SETTINGS> <OSX defines="USE_IPP=0"/> <WINDOWS/> <LINUX/> </LIVE_SETTINGS> </JUCERPROJECT>```
-
That looks good. I don't see any references to IPP there. So there is something else wrong with your setup which is hard to fix without seeing it.
I suggest you delete every copy of the HISE source code you have and start from scratch with the develop branch - or even better, use git.
-
@d-healey Thanks for the guidance!
Removed every little thing I could find and gitcloned the develop branch.
Now I'm getting this again:
.../HISE/hi_tools/hi_tools/HI_LookAndFeels.h:121:16: Reference to 'Point' is ambiguous
For basically everything under hi_tools
-
@blezzbeats said in Compiling on MacOS Monterey:
@d-healey Thanks for the guidance!
Removed every little thing I could find and gitcloned the develop branch.
Now I'm getting this again:
.../HISE/hi_tools/hi_tools/HI_LookAndFeels.h:121:16: Reference to 'Point' is ambiguous
For basically everything under hi_tools
Try Xcode 13.1
-
After the git clone did you checkout the develop branch?
-
@d-healey Xcode 13.1 set up now, same errors.
By checkout do you mean if I verified that I actually got that branch? I'm not sure now cause the folder I git cloned just says HISE now whereas when I downloaded a zip it was HISE-develop -
@d-healey Removed that one and downloaded the zip again, seems I didn't clone properly so I should probably learn how to do that. Anyways, the build succeeded!! Many thanks
-
@blezzbeats go watch my git videos :)
-
@d-healey Will do! :)