Tracktion / tracktion_engine

Tracktion Engine module
Other
1.19k stars 149 forks source link

Issues when trying to build examples #96

Closed cannoneyed closed 1 year ago

cannoneyed commented 2 years ago

When generating the example projects on MacOS 10.15.4(Xcode 11.5), the TestRunner demo fails with the following error

Building example: TestRunner
Re-saving file: /Users/andycoenen/cannoneyed/tracktion_engine/examples/projects/TestRunner/TestRunner.jucer
Error when saving: At least one of your modules has missing dependencies!
Please add the required dependencies, or run the command again with the "--fix-missing-dependencies" option.

This causes the build script to stop early. Opening up the .jucer file in the ProJucer, the error is being caused by the tracktion_engine module requiring the tracktion_graph module to be added. The issue can be fixed by simply adding tracktion_graph as a dependency to each of the PIPs.

https://github.com/Tracktion/tracktion_engine/pull/97

Also, the generated projects don't compile without setting the preprocessor flag JUCE_MODAL_LOOPS_PERMITTED=1. This can be done quickly in the ProJucer but isn't being set via the PIP

drowaudio commented 2 years ago

Yeah I know this is a problem. It's fixed on the develop branch though. I've got a couple more tweaks to do and then I'll merge develop in to main. In the mean time I'd stick with the develop branch.