softtouch 9 Posted June 17, 2022 With Delphi 11.1 update 1 and firemonkey platform, with targets Win and macOS, when I compile for Win, no issue, then I switch platform and try to compile for osx, and get the following error: Quote [MSBuild Error] The "BRCC32" task failed unexpectedly. System.IO.IOException: The system cannot find message text for message number 0x%1 in the message file for %2. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost) at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite) at Borland.Build.Tasks.Common.CommandLineTask.CreateTempFileIfNecessary(ITaskItem basedOn) at Borland.Build.Tasks.Common.CommandLineTask.Execute() at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult) When I exit and restart the ide, I can compile for osx, but the same error comes up when switching back to Win64 target. Share this post Link to post
mpmahen 0 Posted August 1, 2022 I get the same error when I change anything in the project options. Even setting the icon gives this error. Share this post Link to post
jocke1352 0 Posted October 10, 2022 Any news about this problem? I still get it when changing build configuration and Target (Win 32 / 64) . Share this post Link to post
Chris Mathews 1 Posted October 11, 2022 Same here with 11.2 update 1. Have to shutdown the IDE and restart. Share this post Link to post
Stéphane Wierzbicki 45 Posted October 18, 2022 Same problem here windows 11 22H2 and Delphi 11.2 Share this post Link to post
dkounal 3 Posted December 1, 2022 I have this error many times but I think I found the reason If I have an open project in the IDE and I update through git a library source from Github that it is used by this open project I reproduce this error After that error I can go to Tools->Options->Editor, click save to any subtab and then write a space somewhere in the source Either compile, or build, clear this error without requesting to restart the IDE Share this post Link to post
programmerdelphi2k 237 Posted December 1, 2022 BRCC32 is to resource compiling, then, can some resource (*.res, *.ico, etc..) be corrupted or read-only when trying recreate it? if you are using a "git/svn/mercury/etc..." this file can be in use in moment of compilation, by other process, or some like this! then the "res" files cannot be created! Share this post Link to post
w0wbagger 3 Posted December 7, 2022 I have this same problem in C++ Builder. No idea what might be causing it. Restarting the IDE seems to solve it. Share this post Link to post