Hello, I am new to Blender development and trying to set up the development environment on my Windows 11 system. I have followed the document instructions in the following sequence:
- [Building Blender > Windows]
- [Development Environment > Visual Studio]
- [Contributing Code > Pull Request]
However, when I open the folder(…/blender-git/blender) in Visual Studio, I receive the following error:
CMake Error at C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: 'D:/blender-git/blender/out/build/x64-Debug/CMakeFiles/CMakeScratch/TryCompile-hkyryf'
Run Build Command(s):
...
RC Pass 1: command "rc /fo CMakeFiles\cmTC_b97fe.dir/manifest.res CMakeFiles\cmTC_b97fe.dir/manifest.rc" failed (exit code 0) with the following output:
no such file or directory
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:113 (project)
What should I do next? Should I address this error, or is it safe to ignore?
Due to the constraints in composing this message I have shared the complete error message here.