I’m new to compiling Blender. When configuring project using CMake with ‘Visual Studio 12 2013 Win64’ generator, I got these warnings:
CMake Warning at CMakeLists.txt:1356 (find_package):
By not providing "FindFFMPEG.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "FFMPEG", but
CMake did not find one.
Could not find a package configuration file provided by "FFMPEG" with any
of the following names:
FFMPEGConfig.cmake
ffmpeg-config.cmake
Add the installation prefix of "FFMPEG" to CMAKE_PREFIX_PATH or set
"FFMPEG_DIR" to a directory containing one of the above files. If "FFMPEG"
provides a separate development package or SDK, be sure it has been
installed.
CMake Warning at CMakeLists.txt:1358 (message):
Using HARDCODED ffmpeg locations
Could NOT find OpenEXR (missing: _openexr_LIBRARIES)
CMake Warning at CMakeLists.txt:1376 (message):
Using HARDCODED OpenEXR locations
I don’t why CMake can’t find FFMPEG libraries, I already downloaded all lib files (win64 and win64_vc12) from Blender Repository and I found ‘ffmpeg’ folder with couple of dll and lib files inside. This warning can be avoided if I don’t use ‘WITH_CODEC_FFMPEG’ and ‘WITH_IMAGE_REDCODE’. However, the project will compiled just fine using VS2013 Express with or without those options.
The real problem is, I can’t run compiled exe and got this Python error on command line.
ImportError: No module named encodings
Do anyone know about this issue? Do I miss anything?
Oh yeah, I’m using Windows 7 SP1 x64 and CMake 3.1.0.