acids-ircam / rave_vst

Other
184 stars 28 forks source link

JUCE compile err, std::exchange was moved to <utility> #19

Open salkin-mada opened 2 years ago

salkin-mada commented 2 years ago

When building rave-vst on Arch Linux we need to use the developbranch of JUCE. C++ header std change issue fix has not yet been merged into JUCE main/release.

System / tool versions

❯ uname -a
Arch Linux seesam 5.18.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 16 Jun 2022 20:40:45 +0000 x86_64 GNU/Linux

❯ gcc --version
gcc (GCC) 12.1.0

❯ cmake --version
cmake version 3.23.2

Please see this issue: https://github.com/juce-framework/JUCE/issues/1050 and this PR: https://github.com/juce-framework/JUCE/commit/ce8aff22c31c4d932a8414bc6f6185381dc970db