Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

m1 build (AU or vst3) #3

Open
lokkiikkol opened this issue Dec 31, 2022 · 4 comments
Open

m1 build (AU or vst3) #3

lokkiikkol opened this issue Dec 31, 2022 · 4 comments

Comments

@lokkiikkol
Copy link

hi there,

it would be great to have an m1 build preferably in audio unit format, but vst3 would work as well. is this something you would consider doing? otherwise i might try this myself. apart from installing Xcode, are there any major things in the way of compiling this for apple silicon?

@ddf
Copy link
Owner

ddf commented Dec 31, 2022

I am unlikely to produce an m1 build myself because I have no plans to buy new Apple hardware any time soon. I might port this to iPlug2 in 2023, use a workaround to update the OS on my old MacBook, and do new builds with latest macOS. However, I seem to recall reading that it's not possible to do m1 builds without an m1 machine.

If you want to try building it yourself, you will need use my fork of wdl-ol (ie iPlug1), and then clone this repository into a Projects folder in the root of your local wdl-ol clone. I have no idea how well the Xcode project will upgrade, but I imagine there will be a number of settings to update. There is an AU target in the Xcode project, but again I'm not sure if it will be pointing to the correct frameworks. In order to build the vst3 target you will need download the VST3 SDK and put it in the VST3_SDK folder of the wdl-ol clone. I last built this project with VST3 3.6.6. I'm not sure which version Steinberg is on now, so the latest version may or may not work with the VST3 implementation in wdl-ol.

I'll keep this issue open if you want to report back on how building it yourself goes.

@lokkiikkol
Copy link
Author

Hi, I gave this a go. At first I got a bunch of error messages, because your project did not meet the minimum OSX version. I changed it in all the relevant places and now these errors and warning persist, maybe you can make something of them?


Showing Recent Messages

Prepare build
/Users/lokki/evaluator/wdl-ol/VST3_SDK/base/mac/config/debug.xcconfig:1:1: error: unable to open configuration settings file
/Users/lokki/evaluator/wdl-ol/VST3_SDK/base/mac/config/libbase/libbase_libc++.xcconfig:1:1: error: unable to open configuration settings file


/Users/lokki/evaluator/wdl-ol/VST3_SDK/base/mac/config/debug.xcconfig:1:1: unable to open configuration settings file

/Users/lokki/evaluator/wdl-ol/VST3_SDK/base/mac/config/libbase/libbase_libc++.xcconfig:1:1: unable to open configuration settings file

ComputeTargetDependencyGraph

note: Building targets in dependency order
note: Target dependency graph (7 targets)
   Target 'All' in project 'Evaluator'
       ➜ Explicit dependency on target 'APP' in project 'Evaluator'
       ➜ Explicit dependency on target 'VST2' in project 'Evaluator'
       ➜ Explicit dependency on target 'AU' in project 'Evaluator'
       ➜ Explicit dependency on target 'VST3' in project 'Evaluator'
   Target 'VST3' in project 'Evaluator'
       ➜ Explicit dependency on target 'base_libc++' in project 'base'
       ➜ Explicit dependency on target 'lice_32&64_intel' in project 'lice'
   Target 'base_libc++' in project 'base' (no dependencies)
   Target 'AU' in project 'Evaluator'
       ➜ Explicit dependency on target 'lice_32&64_intel' in project 'lice'
   Target 'VST2' in project 'Evaluator'
       ➜ Explicit dependency on target 'lice_32&64_intel' in project 'lice'
   Target 'APP' in project 'Evaluator'
       ➜ Explicit dependency on target 'lice_32&64_intel' in project 'lice'
   Target 'lice_32&64_intel' in project 'lice' (no dependencies)

Building targets in dependency order

Target dependency graph (7 targets)

GatherProvisioningInputs

CreateBuildDescription

Build description signature: aec982b89be0716a909b56440b5ee317
Build description path: /Users/lokki/evaluator/wdl-ol/Projects/evaluator/build-mac/XCBuildData/aec982b89be0716a909b56440b5ee317.xcbuilddata


Build target VST2 of project Evaluator with configuration Debug
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'VST2' from project 'Evaluator')


Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO.


Build target AU of project Evaluator with configuration Debug
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'AU' from project 'Evaluator')
warning: Build Carbon Resources build phases are no longer supported.  Rez source files should be moved to the Copy Bundle Resources build phase. (in target 'AU' from project 'Evaluator')
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'AU' from project 'Evaluator')


Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO.

Build Carbon Resources build phases are no longer supported.  Rez source files should be moved to the Copy Bundle Resources build phase.

Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase.


Build target VST3 of project Evaluator with configuration Debug
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'VST3' from project 'Evaluator')


Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO.


Build target base_libc++ of project base with configuration Debug
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'base_libc++' from project 'base')


Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO.


Build target APP of project Evaluator with configuration Debug
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'APP' from project 'Evaluator')


Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO.



Build failed    24.11.2023, 16:03    0.4 seconds

Screenshot 2023-11-24 at 16 04 20

@lokkiikkol
Copy link
Author

got it down to:


Showing Recent Messages

Prepare build
/Users/lokki/evaluator/wdl-ol/VST3_SDK/base/mac/config/debug.xcconfig:1:1: error: unable to open configuration settings file
/Users/lokki/evaluator/wdl-ol/VST3_SDK/base/mac/config/libbase/libbase_libc++.xcconfig:1:1: error: unable to open configuration settings file


/Users/lokki/evaluator/wdl-ol/VST3_SDK/base/mac/config/debug.xcconfig:1:1: unable to open configuration settings file

/Users/lokki/evaluator/wdl-ol/VST3_SDK/base/mac/config/libbase/libbase_libc++.xcconfig:1:1: unable to open configuration settings file

ComputeTargetDependencyGraph

note: Building targets in dependency order
note: Target dependency graph (7 targets)
    Target 'All' in project 'Evaluator'
        ➜ Explicit dependency on target 'APP' in project 'Evaluator'
        ➜ Explicit dependency on target 'VST2' in project 'Evaluator'
        ➜ Explicit dependency on target 'AU' in project 'Evaluator'
        ➜ Explicit dependency on target 'VST3' in project 'Evaluator'
    Target 'VST3' in project 'Evaluator'
        ➜ Explicit dependency on target 'base_libc++' in project 'base'
        ➜ Explicit dependency on target 'lice_32&64_intel' in project 'lice'
    Target 'base_libc++' in project 'base' (no dependencies)
    Target 'AU' in project 'Evaluator'
        ➜ Explicit dependency on target 'lice_32&64_intel' in project 'lice'
    Target 'VST2' in project 'Evaluator'
        ➜ Explicit dependency on target 'lice_32&64_intel' in project 'lice'
    Target 'APP' in project 'Evaluator'
        ➜ Explicit dependency on target 'lice_32&64_intel' in project 'lice'
    Target 'lice_32&64_intel' in project 'lice' (no dependencies)

Building targets in dependency order

Target dependency graph (7 targets)

GatherProvisioningInputs

CreateBuildDescription

Build description signature: aec982b89be0716a909b56440b5ee317
Build description path: /Users/lokki/evaluator/wdl-ol/Projects/evaluator/build-mac/XCBuildData/aec982b89be0716a909b56440b5ee317.xcbuilddata


Build target VST2 of project Evaluator with configuration Debug
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'VST2' from project 'Evaluator')


Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO.


Build target AU of project Evaluator with configuration Debug
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'AU' from project 'Evaluator')
warning: Build Carbon Resources build phases are no longer supported.  Rez source files should be moved to the Copy Bundle Resources build phase. (in target 'AU' from project 'Evaluator')
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'AU' from project 'Evaluator')


Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO.

Build Carbon Resources build phases are no longer supported.  Rez source files should be moved to the Copy Bundle Resources build phase.

Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase.


Build target VST3 of project Evaluator with configuration Debug
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'VST3' from project 'Evaluator')


Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO.


Build target base_libc++ of project base with configuration Debug
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'base_libc++' from project 'base')


Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO.


Build target APP of project Evaluator with configuration Debug
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'APP' from project 'Evaluator')


Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO.



Build failed    24.11.2023, 16:03    0.4 seconds
Screenshot 2023-11-24 at 16 18 06

@ddf
Copy link
Owner

ddf commented Nov 25, 2023

Nice that's getting pretty close. I've no idea why it won't open those configuration files, but it probably has something to do with the fact that those configuration files were designed for a much older version of Xcode. At this point, you might have better luck starting with a clean iPlug2 project and modifying the Evaluator source to work with that. I do not expect to have time to do that port myself any time soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants