I changed my version of juce and I can no longer build my plug-ins? I don’t understand because I don’t have changed others parameters of my build…? If someone has the solution?
“error: unable to create directory ‘/Users/bertolinoanthony/Programming/SimpleEQ/Builds/MacOSX/build/Debug/SimpleEQ.vst3’ (in target ‘SimpleEQ - VST3’ from project ‘SimpleEQ’)”
looks like your last juce version was still from when juce built vst3 files instead of bundles. you have to manually delete old files for the copystep to work again. after that it will replace automatically again
Thank you, I was able to solve this problem. Now, I have other problem with the Share code of Juce… Do you have the solution? I think the problem is with xcode if I’m not mistaken?
In file included from /Users/bertolinoanthony/Programming/SimpleEQ/Source/PluginEditor.cpp:9:
In file included from /Users/bertolinoanthony/Programming/SimpleEQ/Source/PluginProcessor.h:11:
In file included from /Users/bertolinoanthony/Programming/SimpleEQ/JuceLibraryCode/JuceHeader.h:16:
In file included from /Users/bertolinoanthony/JUCE/modules/juce_audio_basics/juce_audio_basics.h:54:
In file included from /Users/bertolinoanthony/JUCE/modules/juce_core/juce_core.h:204:
In file included from /Users/bertolinoanthony/JUCE/modules/juce_core/system/juce_StandardHeader.h:80:
/Users/bertolinoanthony/JUCE/modules/juce_core/system/juce_CompilerSupport.h:71:15: warning: If you are using Link Time Optimisation (LTO), the new linker introduced in Xcode 15 may produce a broken binary.
As a workaround, add either ‘-Wl,-weak_reference_mismatches,weak’ or ‘-Wl,-ld_classic’ to your linker flags.
Once you’ve selected a workaround, you can add JUCE_SILENCE_XCODE_15_LINKER_WARNING to your preprocessor definitions to silence this warning. [-W#pragma-messages] #pragma GCC warning "If you are using Link Time Optimisation (LTO), the "
^
/Users/bertolinoanthony/JUCE/modules/juce_core/system/juce_CompilerSupport.h:85:4: error: static assertion failed due to requirement ‘std::string_view(“15.0.0 (clang-1500.0.40.1)”) != std::string_view(“15.0.0 (clang-1500.0.40.1)”)’: The new linker introduced in Xcode 15.0 will produce broken binaries when targeting older platforms.
To work around this issue, bump your deployment target to macOS 13 or iOS 15, re-enable the old linker by adding ‘-Wl,-ld_classic’ to your link flags, or update to Xcode 15.1.
Once you’ve selected a workaround, you can add JUCE_SILENCE_XCODE_15_LINKER_WARNING to your preprocessor definitions to silence this warning.
static_assert (std::string_view (clang_version)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
/Users/bertolinoanthony/JUCE/modules/juce_core/system/juce_CompilerSupport.h:71:15: If you are using Link Time Optimisation (LTO), the new linker introduced in Xcode 15 may produce a broken binary.
As a workaround, add either ‘-Wl,-weak_reference_mismatches,weak’ or ‘-Wl,-ld_classic’ to your linker flags.
Once you’ve selected a workaround, you can add JUCE_SILENCE_XCODE_15_LINKER_WARNING to your preprocessor definitions to silence this warning.
/Users/bertolinoanthony/JUCE/modules/juce_core/system/juce_CompilerSupport.h:85:4: Static assertion failed due to requirement ‘std::string_view(“15.0.0 (clang-1500.0.40.1)”) != std::string_view(“15.0.0 (clang-1500.0.40.1)”)’: The new linker introduced in Xcode 15.0 will produce broken binaries when targeting older platforms.
To work around this issue, bump your deployment target to macOS 13 or iOS 15, re-enable the old linker by adding ‘-Wl,-ld_classic’ to your link flags, or update to Xcode 15.1.
Once you’ve selected a workaround, you can add JUCE_SILENCE_XCODE_15_LINKER_WARNING to your preprocessor definitions to silence this warning.
hmm I’m not clear what’s going wrong, if your hitting the error you shared above that error will only be hit when JUCE_SILENCE_XCODE_15_LINKER_WARNING is 0 or undefined. I can see form the error you shared above that the command that ran did not include the JUCE_SILENCE_XCODE_15_LINKER_WARNING=1 definition shown in your Projucer project.
Let’s check a couple of things
Have you pulled/cloned the latest version of the develop branch?
Have you rebuilt the Projucer?
Have you resaved/reopened the Xcode project from the Projucer?
Can you reproduce this issue with a new blank project? (after adding the above flags)
Ok, this problem is resolve… Thank you ! Now, I have new problem with compilation. I have another problem following the addition of “JUCE_SILENCE_XCODE_15_LINKER_WARNING=1” and “-Wl,-weak_reference_mismatches,weak” in my Projucer project. I don’t know what I need to do to fix this audio processor issue…