Closed serena13 closed 7 months ago
I solved it by changing the following lines:
execute_process(
COMMAND python3
by the following:
find_package(Python3 COMPONENTS Interpreter)
set(PYTHON_EXECUTABLE ${Python3_EXECUTABLE})
execute_process(
COMMAND "${PYTHON_EXECUTABLE}"
in the following files:
shaka-packager\packager\tools\CMakeLists.txt
shaka-packager\packager\version\CMakeLists.txt
Thanks @serena13. We will incorporate those changes into #1381 (https://github.com/shaka-project/shaka-packager/pull/1381#discussion_r1566283886)
System info
Operating System: Windows 10 Shaka Packager Version: latest
Issue and steps to reproduce the problem
Following steps at: https://github.com/shaka-project/shaka-packager/blob/main/docs/source/build_instructions.md
Extra steps to reproduce the problem? (1) git clone --recurse-submodules https://github.com/shaka-project/shaka-packager.git (2) Visual Studio 2022 -> Developer Command Prompt -> "cmake -B build"
What is the expected result? Build successful
What happens instead? CMake Error at packager/tools/CMakeLists.txt:12 (message): Failed to generate Packager license notice