< Back to IRCAM Forum

RAVE compile problems

Hi,

I am trying to compile RAVE VST for MacOS on M1 and am running into what I think is namespace problems:
/rave_vst-main/build/torch/libtorch/include/ATen/DeviceGuard.h:26:49: ::error: error: 49reference to ‘nullopt’ is ambiguous reference to ‘nullopt’ is ambiguous error: :
return t.has_value() ? device_of(t.value()) : nullopt; return t.has_value() ? device_of(t.value()) : nullopt;

This seems to be caused by namespace problems between std and juce. I am using cmake 3.25.1, MacOS 13.0.1 and clang-14.0.0. Any suggestions on how to resolve this? Or can anyone who compiled successfully share the binaries?
Thanks,
Håkan