我正在尝试编译Blender 2.7 我正在尝试生成Visual Studio 12(2013)项目文件 使用CMake但问题是我得到了错误
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
CMake Warning at CMakeLists.txt:1089 (message):
Using HARDCODED libpng locations
Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
Found Freetype: C:/Users/Alfrek/Desktop/Blender 2.7/blender-2.71/../lib/win64_vc12/freetype/lib/freetype2ST.lib
Could NOT find OpenEXR (missing: _openexr_LIBRARIES OPENEXR_INCLUDE_DIR)
CMake Warning at CMakeLists.txt:1172 (message):
Using HARDCODED OpenEXR locations
Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
CMake Warning at CMakeLists.txt:1191 (message):
Using HARDCODED libtiff locations
Could NOT find Boost
CMake Warning at CMakeLists.txt:1230 (message):
USING HARDCODED boost locations
Could NOT find OpenImageIO (missing: OPENIMAGEIO_LIBRARY OPENIMAGEIO_INCLUDE_DIR)
CMake Error at CMakeLists.txt:1928 (message):
Apple and Windows require pre-compiled libs at:
'C:/Users/Alfrek/Desktop/Blender 2.7/blender-2.71/../lib/win64_vc12'
我不知道我想做什么
我有一台Windows 7 64位计算机 和我使用Visual Studio Professional 2013
答案 0 :(得分:3)
您下载了源文件但忘记了其依赖项。对于每个平台,blender在其SVN repo中提供其依赖项。
这是你需要做的:
svn checkout https://svn.blender.org/svnroot/bf-blender/trunk/lib/win64_vc12
请记住它有一个大约6.5Gb的巨大回购。
完成后,在cmake中再次运行configure,它应该可以正常工作。
答案 1 :(得分:0)
听起来您在尝试运行make full
...
您将需要运行install_deps.sh脚本或打印构建Blender所需的所有主要依赖项的列表(--show-deps选项)并手动安装它们。
有关更新的开发环境要求,请参见官方Blender Wiki-> https://wiki.blender.org/wiki/Building_Blender/Linux/Ubuntu
自动依赖项安装现在,在Linux下安装依赖项的首选方法是使用install_deps.sh脚本。 带有Blender来源。目前,它支持Debian(和 派生),Fedora,Suse和Arch发行版。使用时 install_deps.sh脚本,只需要安装以下内容 依赖项:
git,基本构建
然后,获取源代码并运行install_deps.sh
cd ~/blender-git ./blender/build_files/build_environment/install_deps.sh