如何从源代码编译Blender?
答
像Blender这样庞大而复杂的项目往往有很多依赖和复杂性,这使得构建它们自己成为一项非常艰巨的任务。通常,源代码会附带构建指令,告诉您如何构建它。 But you often can find them on the web, too.
答
只需检查您的sdl-config是否设置为环境变量。
如果不是,然后设置到SDL-配置所在的目录(setenv
命令)
如果SDL-配置不存在,尝试并安装它(我知道Ubuntu的sudo aptitude install libsdl1.2-dev
)。
一旦安装,然后检查是否路径已被列入环境变量(env
命令)
如果有任何发行版缺失,从这里下载(适用于Linux,http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/2.4x/Linux)
答
那么,你也许应该开始在http://wiki.blender.org/index.php/Dev:Doc/Building_Blender
Cygwin是混乱,但可能。在Windows上,我强烈建议在VisualStudio下编译。看看
http://wiki.blender.org/index.php/Dev:Doc/Hackers_Guide/Building/Cygwin_Make
如果你想建立在Cygwin中。
请注意,本文中引用的手写makefile已从Blender中删除,现在Blender使用CMake。 Cygwin支持已被移除一段时间了。 – ideasman42 2017-02-26 14:04:52