[Solved]LINK fatal error LLVMX86AsmPrinter.lib

I got an error after running make
Here are the last lines of the log:

LINK : fatal error LNK1181: cannot open input file ‘C:\blender-git\lib\win64_vc15\llvm\lib\LLVMX86AsmPrinter.lib’ [C:\blender-git\build_windows_x64_vc15_Release\source\creator\blender.vcxproj]

Build FAILED.

C:/blender-git/blender/intern/cycles/kernel/…\kernel/kernel_globals.h(120): warning : extern declaration of the entity __params is treated as a static definition [C:\blender-git\build_windows_x64_vc15_Release\intern\cycles\kernel\cycles_kernel_optix.vcxproj]
LINK : fatal error LNK1181: cannot open input file ‘C:\blender-git\lib\win64_vc15\llvm\lib\LLVMX86AsmPrinter.lib’ [C:\blender-git\build_windows_x64_vc15_Release\source\creator\blender.vcxproj]
1 Warning(s)
1 Error(s)

Time Elapsed 00:42:01.11

I’m building on Windows with the flags for CUDA and Optix

I suspect you have a very old build folder from when that file still existed, starting with a fresh one should resolve this error.

1 Like