错误提示如下:
D:\blender33\blender\intern\ghost\intern\GHOST_Wintab.cpp(191,14): error C2397: 从“int”转换到“const unsigned __int64”需要收缩转换 [D:\blender33\build_windows_x64_vc17_Release\intern\ghost\bf_intern_ghost.vcxproj]
找到并打开GHOST_Wintab.cpp文件
定位到191行: //m_pkts{queueSize}
m_pkts{static_cast<unsigned __int64>(queueSize)} // 确保 queueSize 非负
如上修改即可。
完整常规编译过程另行参见:实践:win下编译Blender开源源代码4.3_blender源码-优快云博客