Blender 调试因错误而崩溃
Blender debug is crashing with error
现在我尝试构建完整版本的 Blender。在构建和安装 DLL 的步骤中我没有遇到问题,但是现在当我尝试调试 Blender 时我收到:
'blender.exe' (Win32): Loaded 'C:\Windows\System32\rsaenh.dll'. Symbols loaded.
Debug Assertion Failed!
Program: D:\BLENDERBUILD4\bin\Debug\blender.exe
File: D:\Program Files\Microsoft Visual Studio 12.0\VC\include\xstring
Line: 1168
Expression: invalid null pointer
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
blender.exe has triggered a breakpoint.
调试停止于:
_STD_BEGIN
#ifdef _DEBUG
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const wchar_t *message, const wchar_t *file, unsigned int line)
{ // report error and die
if(::_CrtDbgReportW(_CRT_ASSERT, file, line, NULL, L"%s", message)==1)
{
::_CrtDbgBreak();
}
}
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const unsigned short *message, const unsigned short *file, unsigned int line)
{ // report error and die
_Debug_message((wchar_t *) message, (wchar_t *) file, line);
}
#endif
什么问题?可能是我丢失了一些 DLL 或其他东西?如果我开始 blender.exe 它也会崩溃。抱歉菜鸟问题,在编码方面我是新手。
好的,我解决了。
只需在带有 blender.exe 的调试文件夹中添加一个 2.XX(在我的例子中是 2.78)来自安装路径的文件夹,其中包含多个 Python 脚本。而已!
现在我尝试构建完整版本的 Blender。在构建和安装 DLL 的步骤中我没有遇到问题,但是现在当我尝试调试 Blender 时我收到:
'blender.exe' (Win32): Loaded 'C:\Windows\System32\rsaenh.dll'. Symbols loaded.
Debug Assertion Failed!
Program: D:\BLENDERBUILD4\bin\Debug\blender.exe
File: D:\Program Files\Microsoft Visual Studio 12.0\VC\include\xstring
Line: 1168
Expression: invalid null pointer
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
blender.exe has triggered a breakpoint.
调试停止于:
_STD_BEGIN
#ifdef _DEBUG
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const wchar_t *message, const wchar_t *file, unsigned int line)
{ // report error and die
if(::_CrtDbgReportW(_CRT_ASSERT, file, line, NULL, L"%s", message)==1)
{
::_CrtDbgBreak();
}
}
_CRTIMP2_PURE void __CLRCALL_PURE_OR_CDECL _Debug_message(const unsigned short *message, const unsigned short *file, unsigned int line)
{ // report error and die
_Debug_message((wchar_t *) message, (wchar_t *) file, line);
}
#endif
什么问题?可能是我丢失了一些 DLL 或其他东西?如果我开始 blender.exe 它也会崩溃。抱歉菜鸟问题,在编码方面我是新手。
好的,我解决了。 只需在带有 blender.exe 的调试文件夹中添加一个 2.XX(在我的例子中是 2.78)来自安装路径的文件夹,其中包含多个 Python 脚本。而已!