SenorSausage
New Member
Hello, I'm trying to get the plugin template to build (on Win 10). Unfortunately, I'm a VS pleb with very little cmake experience.
First, I've tried using
Then, I've tried to use
Would much appreciate it if somebody could push me in the right direction.
First, I've tried using
.\.github\scripts\Build-Windows.ps1
but I get CMake Error: Could not read presets from C:/dev/obs-plugin-test/obs-plugintemplate: Unrecognized "version" field
Exception: C:\...\obs-plugintemplate\.github\scripts\Build-Windows.ps1:105:1
Line |
105 | Build
| ~~~~~
| cmake --preset windows-x64 exited with non-zero code 1.
Then, I've tried to use
cmake ..
(from a build folder), and I get stuff like this:-- The C compiler identification is MSVC 19.36.32538.0
-- The CXX compiler identification is MSVC 19.36.32538.0
-- Detecting C compiler ABI info
CMake Error: Generator: execution of make failed. Make command was: nmake -f Makefile /nologo cmTC_e5c9f\fast &&
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx86/x86/cl.exe
CMake Error: Generator: execution of make failed. Make command was: nmake -f Makefile /nologo cmTC_e32a4\fast &&
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx86/x86/cl.exe - broken
CMake Error at C:/Program Files/CMake/share/cmake-3.20/Modules/CMakeTestCCompiler.cmake:66 (message):
The C compiler
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx86/x86/cl.exe"
is not able to compile a simple test program.
Would much appreciate it if somebody could push me in the right direction.