StrangeLoopsAudio / gRainbow

A synthesizer that uses pitch detection to choose candidates for granular synthesis or sampling.
GNU General Public License v3.0
191 stars 5 forks source link

LV2 URI not well formed #96

Open ccaudle opened 3 months ago

ccaudle commented 3 months ago

Describe the bug When running cmake the JUCEUtils.cmake reports a warning, which I believe is the cause of the LV2 plugin not loading in some applications: CMake Warning at external/JUCE/extras/Build/CMake/JUCEUtils.cmake:981 (message): LV2URI should be well-formed with an 'http' prefix. Check the LV2URI argument to juce_add_plugin. Call Stack (most recent call first): external/JUCE/extras/Build/CMake/JUCEUtils.cmake:1091 (_juce_set_plugin_target_properties) external/JUCE/extras/Build/CMake/JUCEUtils.cmake:1229 (_juce_link_plugin_wrapper) external/JUCE/extras/Build/CMake/JUCEUtils.cmake:1770 (_juce_configure_plugin_targets) CMakeLists.txt:101 (juce_add_plugin)

Desktop (please complete the following information):

Another user has reported that "after running cmake you have to edit gRainbow_artefacts/JuceLibraryCode/JuceLV2Defines.h and change JucePlugin_LV2URI “/plugins/gRainbow” to JucePlugin_LV2URI “file://plugins/gRainbow”" but I do not know where the appropriate location would be to modify prior to running cmake.