I follow this guid and build blender source code( http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Windows),
but when I launch my blender.exe, the UI is not displayed correctly. here is the screenshot.
My system environment is: MSVC2008ENG(with SP1),Win7 x32(Chinese edition), Blender2.57, python2.6
And here is my solution:
1. Change system language to English:
1) open "Control Panel" --> "Region and Language" window
2)in "Formats" tab, set format to "English"
3)in "Location" tab, set location to "USA"
press button "Change system locale...", and set it to "English(USA)"
3. set your computer name, which only contains letters a~z and A~Z.
4. restart you computer.
5. follow this guid (http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Windows) and regenerate *.sln,*vcproj, and rebuild Blender.
NOTE: When you update your code under BLENDER/trunk/blender, don't forget to update the code under BLENDE/trunk/lib/windows.
Thanks for amino(IRC#blendercollada@freenode)'s help, the original solution was born when I dicusse the problem with amino.
Thanks for ChengXie's help, he tested and confirmed that the step2 and step3 (marked as removed)are redundant.
--------------------------------------------------------------------------------------
但运行编译出来的blender时,基本的菜单无法显示,如图:
系统环境:msvc2008 英文版, win7 x32 中文版, Blender2.57 , python2.6
解决方法:
1.将系统语言改为英文 :
在“区域和语言”面板("Region and Language")里
在“格式”标签栏("Formats")里,格式:英语 (English)
在“位置”标签栏("Location")里,当前位置:美国(USA)
在“管理”标签栏(Administrative)里,非Unicode程序语言,点击“更改系统区域设置”(Change system locale...),在弹出的“区域和语言设置”面板里选择:英语(美国)(这一步不是必须的,感谢David 的测试)
2.更改计算机名,使其只包含普通的英文字母(a~z,A~Z),不包含任何其他字符。(我觉得这一步可以忽略,但我没测试过)
3.重启机器。
4.按这里的操作(http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Windows),重新生成*.vcproj,*.sln,重新编译blender代码。
Note: 更新blender/trunk/blender的代码时,也要更新blender/trunk/lib/windows的代码
感谢:
- 感谢 amino (IRC#blendercollada@freenode), 最初的方法就是在和amino讨论后发现的。
--------------------------------------------------------------------------------------