0

我正在尝试编辑 OBS Studio 的源代码并从中进行自己的构建。当源代码从 GitHub 存储库克隆并且没有进行任何更改时,我已经成功构建了 OBS Studio。但是,如果我尝试对代码进行自己的更改并使用 CMake 构建它,则会收到以下错误:

Error in configuration process, project files may be invalid

编辑:这是完整的错误:

Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042.
CMake Error at CMakeLists.txt:62 (include):
include could not find load file:

ObsHelpers


CMake Error at CMakeLists.txt:63 (include):
include could not find load file:

ObsCpack


CMake Error at CMakeLists.txt:87 (string):
string sub-command REPLACE requires at least four arguments.


CMake Error at CMakeLists.txt:91 (list):
list index: 1 out of range (-1, 0)


CMake Error at CMakeLists.txt:92 (list):
list index: 2 out of range (-1, 0)


CMake Error: File 
C:/Users/Miika/Desktop/VSCode/PROJECTS/obs_mini/UI/obs.rc.in does not exist.
CMake Error at CMakeLists.txt:98 (configure_file):
configure_file Problem configuring file


CMake Error: File 
C:/Users/Miika/Desktop/VSCode/PROJECTS/obs_mini/cmake/winrc/obs-module.rc.in 
does not exist.
CMake Error at deps/w32-pthreads/CMakeLists.txt:8 (configure_file):
configure_file Problem configuring file


CMake Error at deps/w32-pthreads/CMakeLists.txt:30 (install_obs_core):
Unknown CMake command "install_obs_core".


Configuring incomplete, errors occurred!

我怎样才能解决这个问题?这与 CMakeLists 文件有关吗?

4

0 回答 0