I am trying to install Blender as a Python Module on Windows.
Currently I am following this guide: https://github.com/BenRoullier/PyBlender/blob/master/installing_blender_for_python.md
Everything went perfect until the step 9:
" Go back to the command prompt and use the following command to build the blender python module: make bpy"
I am getting the following error:
C:\blender_repo\blender>make bpy
No explicit msvc version requested, autodetecting version.
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.4.2
** Copyright (c) 2019 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
Compiler Detection successful, detected VS2019
Building blender with VS2019 for x64 in C:\blender_repo\blender\..\build_windows_Bpy_x64_vc16_Release
loading initial cache file C:\blender_repo\blender\\build_files\cmake\config\bpy_module.cmake
-- 64 bit compiler detected.
-- Visual Studio 2019 detected.
CMake Error at CMakeLists.txt:863 (message):
WITH_MOD_OCEANSIM requires WITH_FFTW3 to be ON
-- Configuring incomplete, errors occurred!
See also "C:/blender_repo/build_windows_Bpy_x64_vc16_Release/CMakeFiles/CMakeOutput.log".
"Configuration Failed"
Does anyone knows how to fix this problem? I checked the CMakeOutput.log and CMakeLists.txt, but I still don’t known what should I do.