Python 为windows编译blender时出错-找不到OSL

Python 为windows编译blender时出错-找不到OSL,python,windows,compiler-errors,blender,Python,Windows,Compiler Errors,Blender,我正在尝试为windows编译blender。我已经按照图纸上的说明做了 在命令提示符下运行命令“makefull”时,出现以下错误: -- 64 bit compiler detected. -- Visual Studio 2013 detected. CMake Warning at build_files/cmake/platform/platform_win32.cmake:436 (message): LLVM debug libs not present on this sys

我正在尝试为windows编译blender。我已经按照图纸上的说明做了

在命令提示符下运行命令“makefull”时,出现以下错误:

-- 64 bit compiler detected.
-- Visual Studio 2013 detected.
CMake Warning at build_files/cmake/platform/platform_win32.cmake:436 (message):
  LLVM debug libs not present on this system.  Using release libs for debug
  builds.
Call Stack (most recent call first):
  CMakeLists.txt:931 (include)


-- OSL not found 
CMake Error at CMakeLists.txt:1573 (message):
  Missing:
  "E:/blender-git/blender/../lib/win64_vc12/python/include/python3.6/Python.h",


  Set the cache entry 'PYTHON_INCLUDE_DIR' to point to a valid python include
  path.  Containing Python.h for python version "3.6"


-- Configuring incomplete, errors occurred!
See also "E:/blender-git/build_windows_Full_x64_vc12_Release/CMakeFiles/CMakeOutput.log".
Microsoft (R) Build Engine version 12.0.40629.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1009: Project file does not exist.
Switch: E:\blender-git\blender\..\build_windows_Full_x64_vc12_Release\Blender.sln
"Build Failed"

在我看来,CMake无法找到所需的python文件。我已经安装了Python 3.6。看起来我应该能够将“PYTHON\u INCLUDE\u DIR”的值更改为指向PYTHON安装文件夹,但是没有提示应该在哪个文件中更改它

您可以在CMake自身的高级选项中更改该选项。但是,您确定按照正确的步骤操作了吗?您似乎忘记了为您的平台获取svn lib文件。

听起来很实用,但使用已准备好的Windows平台映像要容易得多。