ClangRTFM x64 must be installed in order to build this target.
10>Microsoft.MakeFile.Targets(44,5): Error MSB3073 : The command "..\..\Build\BatchFiles\Build.bat AutoRTFMTests Win64 Development -WaitMutex -FromMsBuild" exited with code 6.
dont build AutoRTFMTests
remove it from the generated projects or build stuff manually if you use BuildGraph edit the install config/preset
By âremoveâ, pretty sure he means literally delete the project from your hard disk. Even if you just remove it from the project/solution, it will still build because of the the UE Build Tool.
having the same problem, and it does seem it has something todo with Clang
134>ClangRTFM x64 must be installed in order to build this target.
134>F:\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command ââŚ..\Build\BatchFiles\Build.bat AutoRTFMTests Win64 Development -WaitMutex -FromMsBuildâ exited with code 6.
134>Done building project âAutoRTFMTests.vcxprojâ â FAILED.
I made the mistake of building âas isâ after the Generate created the project and got this same error. When I looked up how to build, I realized I had forgotten to set the UE5 project as the starter project. After I did that, and a billion years later, it compiled and ran. It has been awhile since I built source, so maybe it was just newb mistake, but thought I would share.
I installed the v22 of Clang needed for UE5.3 and re-built Development Linux UE5 project (3 settings in Rider, 2 in VS). That did not solve the problem as indicated by some responses. I set bUseAutoRTFMCompiler false in AutoRTFMTests.Target.cs and it fixed some aspects but ran into others. I ended up having to delete the entire folder.
Epic, this module is marked as not-for-licensees so I am curious why it is included in the source drop. Or why there are not instructions for the AutoRTFMCompiler if it is intended for us.
Hey, man! Basically, ClangRTFM (as I understood) is a specific distribution inside Unreal and itâs not available for us. If you try to install Clang from the internet, it will only provide you with âclang-cl.exe,â and what the specific project needs is the âverse-clang-cl.exe.â I researched a little bit and put debug messages in the entire building process, and as someone already mentioned, this âverse-clang-cl.exeâ and its respective files are located inside a folder named âNot-for-licensees.â So most probably, âitâs not for us mere programmersâ haha. If someone from Epic Games can answer us and confirm it, but basically I deleted the whole AutoRTFMTests project and the complete build proceed without any errors =)
I added bBuildInSolutionByDefault = false; to ...\Engine\Source\Programs\AutoRTFMTests\AutoRTFMTests.Target.cs to make @TioAlisonâs fix survive GenerateProjectFiles.bat re-runs.
This fixed my build issues for 5.5.1 as well. I also had to add bBuildInSolutionByDefault = false; to ...\Engine\Source\Programs\AutoRTFMTests\AutoRTFMEngineTests.Target.cs for my build to succeed.