我想用 cmake-gui 构建 OBS。但“确认”是打印错误。
CMake Error at C:/Program Files/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Libx264 (missing: X264_LIB X264_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake/Modules/FindLibx264.cmake:62 (find_package_handle_standard_args)
plugins/obs-x264/CMakeLists.txt:3 (find_package)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
ZLIB_INCLUDE_DIR (ADVANCED)
used as include directory in directory C:/Users/LHS/Documents/obs/obs-studio/libobs
used as include directory in directory C:/Users/LHS/Documents/obs/obs-studio/libobs
used as include directory in directory C:/Users/LHS/Documents/obs/obs-studio/libobs
我该怎么办?