win10下vs2022编译Blender V3.3源代码出错

错误提示如下:

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源码-优快云博客

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值