Juceaide failing

During CMake configure, running the juceaide fails with the following output:

CMake Error at /Users/benvining/cmake/FetchContent/juce/9dfd170a1a33963820cd75e906b21aba57d9b61b/extras/Build/CMake/JUCEUtils.cmake:459 (message):
  Running juceaide failed:

  libc++abi: terminating with uncaught exception of type
  juce::build_tools::SaveError

Call Stack (most recent call first):
  /Users/benvining/cmake/FetchContent/juce/9dfd170a1a33963820cd75e906b21aba57d9b61b/extras/Build/CMake/JUCEUtils.cmake:590 (_juce_execute_juceaide)
  /Users/benvining/cmake/FetchContent/juce/9dfd170a1a33963820cd75e906b21aba57d9b61b/extras/Build/CMake/JUCEUtils.cmake:1088 (_juce_configure_bundle)
  /Users/benvining/cmake/FetchContent/juce/9dfd170a1a33963820cd75e906b21aba57d9b61b/extras/Build/CMake/JUCEUtils.cmake:1229 (_juce_link_plugin_wrapper)
  /Users/benvining/cmake/FetchContent/juce/9dfd170a1a33963820cd75e906b21aba57d9b61b/extras/Build/CMake/JUCEUtils.cmake:1770 (_juce_configure_plugin_targets)
  cmake/other_formats.cmake:28 (juce_add_plugin)
  plugins/fx/2getheraudio-re4ormfx/CMakeLists.txt:16 (qubiq_add_plugin_other_formats)

Any ideas?

Are you using JUCE 7.0.7? On develop, if juceaide fails during configure, the failing command should be printed alongside this error message. Once you have the failing command, you can attach a debugger and find out what’s going wrong.

That said, there’s only a couple of places where SaveErrors are thrown in juceaide:

  • generating an AU plist, if the AU identifiers are invalid
  • overwriting/replacing a file (may fail due to permissions)
1 Like