Hi all!
I am working on a plugin for Windows where someone else has taken care of the DSP. They provided all the DSP-related functions and classes in a static library along with its corresponding header files.
Initially, they provided a library compiled using v142 build tools. I asked them to also compile it using v143, as I was already experiencing compatibility issues with my build tools (v143).
They sent me the library again using v143, but I am still getting a few linker errors when I try to compile the plugin:
The object or library file 'MY_STATIC_LIBRARY.lib' was created by a different version of the compiler than other objects like 'x64\Release\VST3\\include_juce_audio_plugin_client_VST3.obj'; rebuild all objects and libraries with the same compiler
I get the same error for include_juce_audio_plugin_client_AAX.obj
and include_juce_audio_plugin_client_Standalone.obj
.
Does anyone have any idea how to fix this? As I understand it, all of those objects are compiled from source using the project’s build tools every time I rebuild it. Or is this wrong?
If I try building the project with v142, I get this other error for the AAX, standalone, and VST3 builds, which I read is also related to build tools compatibility issues:
unrecognized flag '-Zc:nrvo' in 'p2'
Of course I tried cleaning and re-exporting the VisualStudio project from Projucer after deleting the Builds folder, but without any luck.
Any help, would be much appreciated.
Thanks!