我正在尝试为windows编译blender。我已按照blender wiki
上的说明操作当我运行命令" make full"在命令提示符中,我收到以下错误:
-- 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_INCLUDE_DIR'的价值。指向python安装文件夹,但没有提示应该更改哪个文件。
答案 0 :(得分:0)
您可以在CMake本身的高级选项中更改它。但是你确定你遵循了正确的步骤,似乎你忘记了为你的平台获取svn lib文件。