1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Windows: Projucer: Turn 32/64 bit MSVC toolchain mismatch error into a warning

The warning informs about a resolvable situation that will cause an
error during LV2 plugin build steps, and suppresses VST3 manifest
generation.
This commit is contained in:
Attila Szarvas 2025-01-09 17:15:32 +00:00
parent 911529160b
commit 873bd8e537

View file

@ -1956,15 +1956,12 @@ public:
if (arch == Architecture::win64) if (arch == Architecture::win64)
{ {
const auto x86ToolchainErrorMessage = const auto x86ToolchainErrorMessage =
"echo : Error: Toolchain configuration error!\r\n" "echo : Warning: Toolchain configuration issue!"
"echo : Error: ------ WARNING ------\r\n" " You are using a 32-bit toolchain to compile a 64-bit target on a 64-bit system."
"echo You are using a 32-bit toolchain to compile a 64-bit target on a 64-bit system.\r\n" " This may cause problems with the build system."
"echo This may cause problems with the build system.\r\n" " To resolve this, use the x64 version of MSBuild. You can invoke it directly at:"
"echo To resolve this, use the x64 version of MSBuild. You can invoke it directly at:\r\n" " \"<VisualStudioPathHere>/MSBuild/Current/Bin/amd64/MSBuild.exe\""
"echo \"<VisualStudioPathHere>/MSBuild/Current/Bin/amd64/MSBuild.exe\"\r\n" " Or, use the \"x64 Native Tools Command Prompt\" script.";
"echo Or, use the \"x64 Native Tools Command Prompt\" script.\r\n"
"echo : Error: ------ WARNING ------\r\n"
"exit 1";
builder.ifAllConditionsTrue ( builder.ifAllConditionsTrue (
{ {