From 873bd8e5374a215f14b74002ac1c26f0e9dae950 Mon Sep 17 00:00:00 2001 From: Attila Szarvas Date: Thu, 9 Jan 2025 17:15:32 +0000 Subject: [PATCH] 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. --- .../ProjectSaving/jucer_ProjectExport_MSVC.h | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h index 880b6c4da9..a85ebe75e4 100644 --- a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h +++ b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h @@ -1956,15 +1956,12 @@ public: if (arch == Architecture::win64) { const auto x86ToolchainErrorMessage = - "echo : Error: Toolchain configuration error!\r\n" - "echo : Error: ------ WARNING ------\r\n" - "echo You are using a 32-bit toolchain to compile a 64-bit target on a 64-bit system.\r\n" - "echo This may cause problems with the build system.\r\n" - "echo To resolve this, use the x64 version of MSBuild. You can invoke it directly at:\r\n" - "echo \"/MSBuild/Current/Bin/amd64/MSBuild.exe\"\r\n" - "echo Or, use the \"x64 Native Tools Command Prompt\" script.\r\n" - "echo : Error: ------ WARNING ------\r\n" - "exit 1"; + "echo : Warning: Toolchain configuration issue!" + " You are using a 32-bit toolchain to compile a 64-bit target on a 64-bit system." + " This may cause problems with the build system." + " To resolve this, use the x64 version of MSBuild. You can invoke it directly at:" + " \"/MSBuild/Current/Bin/amd64/MSBuild.exe\"" + " Or, use the \"x64 Native Tools Command Prompt\" script."; builder.ifAllConditionsTrue ( {