I posted previously about exceptionally long build and run times for a basic synth test project here:
I tried the suggestions in the thread but did not get any clear solution. Under the presumption that the issue might be the nested FlexBoxes which were a unique component of the design, they were removed and yet I am still having slow build time issues:
(To be clear, there is still one layer of Flexbox in PluginEditor.cpp, but this can be removed by commenting out the text of the “resized” function and the groups will just stack on each other - doesn’t significantly change the issue either way.)
In this project, build times can randomly vary between 100 ms or so and up to 4 seconds. When it lags on the 4 seconds type builds, this is what it appears to be doing:
Commenting out the group building functions in PluginEditor.cpp gets rid of this build issue, but then of course I have no interface:
createNumPartialsGroup(); createGainGroup(); createEnvelopeGroup(); createDelayGroup(); createdummy1Group(); createdummy2Group(); createdummy3Group(); createdummy4Group(); createdummy5Group();
What does this mean or imply? Where in my code is this coming from and how can it be fixed?
I am at a loss on what to do about this and it is now crippling my progress and designs. Thanks for any help.