Build Failed with LNK1248

when build bf_rna.vcxproj, I get LNK1248 error, like this
D:\Codes\blender-git\Build\lib\Release\bf_rna.lib : fatal error LNK1248: image size (100014EB9) exceeds maximum allowable size (FFFFFFFF)

Operating system: windows 10
Graphics card: GTX1660TI 4G
RAM: 16G

is there any solution?

slightly over 4 gigabytes is a bit odd, that library should be less than a megabyte. I’d try removing your build folder and starting from scratch, sounds like something may have gotten corrupted somewhere along the way.

Thanks for reply!
I remove all build folder, and redo as follow: In the folder blender-git
git clone with branch main
cd blender
make update
make 2022
I’m sure folder lib and blender is complete, I get same error.
But I download source code blender3.6 from, I can build successfully

try installing the VS 2022 17.7 preview and building with make 2022pre builddir vs2022_pre

Well, that works. Thanks! But it makes me feel odd

Hi, I got same link error in cycles_bvh after I change code under debug mode, But I can compile successfully under Release mode