如题
我试图编译但是
(video_subtitle_remover) E:\video-subtitle-remover\Paddle\build>cmake .. -G"Visual Studio 17 2022" ^
More? -DWITH_GPU=OFF ^
More? -DWITH_ROCM=ON ^
More? -DWITH_UNITY_BUILD=ON ^
More? -DWITH_DISTRIBUTE=ON ^
More? -DBUILD_PYTHON=OFF
-- Found Paddle host system: win32, version:
-- Found Paddle host system's CPU: 12 cores
-- Selecting Windows SDK version 10.0.26100.0 to target Windows 10.0.26200.
-- The CXX compiler identification is MSVC 19.44.35228.0
-- The C compiler identification is MSVC 19.44.35228.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: E:/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: E:/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning (dev) at CMakeLists.txt:48 (find_package):
Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake
--help-policy CMP0146" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- CXX compiler: E:/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe, version: MSVC 19.44.35228.0
-- C compiler: E:/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe, version: MSVC 19.44.35228.0
-- AR tools: E:/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/lib.exe
Build static library of PHI
-- Use static C runtime time, refer to https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features?view=vs-2019
CMake Error at CMakeLists.txt:416 (message):
Paddle only supports Python version >= 3.10 now
-- Configuring incomplete, errors occurred!
(video_subtitle_remover) E:\video-subtitle-remover\Paddle\build>python --version
Python 3.12.10
(video_subtitle_remover) E:\video-subtitle-remover\Paddle\build>
如题
我试图编译但是
(video_subtitle_remover) E:\video-subtitle-remover\Paddle\build>cmake .. -G"Visual Studio 17 2022" ^
More? -DWITH_GPU=OFF ^
More? -DWITH_ROCM=ON ^
More? -DWITH_UNITY_BUILD=ON ^
More? -DWITH_DISTRIBUTE=ON ^
More? -DBUILD_PYTHON=OFF
-- Found Paddle host system: win32, version:
-- Found Paddle host system's CPU: 12 cores
-- Selecting Windows SDK version 10.0.26100.0 to target Windows 10.0.26200.
-- The CXX compiler identification is MSVC 19.44.35228.0
-- The C compiler identification is MSVC 19.44.35228.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: E:/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: E:/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning (dev) at CMakeLists.txt:48 (find_package):
Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake
--help-policy CMP0146" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- CXX compiler: E:/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe, version: MSVC 19.44.35228.0
-- C compiler: E:/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe, version: MSVC 19.44.35228.0
-- AR tools: E:/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/lib.exe
Build static library of PHI
-- Use static C runtime time, refer to https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features?view=vs-2019
CMake Error at CMakeLists.txt:416 (message):
Paddle only supports Python version >= 3.10 now
-- Configuring incomplete, errors occurred!
(video_subtitle_remover) E:\video-subtitle-remover\Paddle\build>python --version
Python 3.12.10
(video_subtitle_remover) E:\video-subtitle-remover\Paddle\build>