报错
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
Unix Makefiles改成改成Visual Studio 17 2022仍然报错
部分错误
prospero-lld : error : cannot open /ERRORREPORT:QUEUE: no such file or directory [D:\Code\backend-quickjs\buildPS5\CMakeFiles\CMakeScratch\TryCompile-2nz2u0\cmTC_81694.vcxproj]
prospero-lld : error : cannot open /OUT:D:\Code\backend-quickjs\buildPS5\CMakeFiles\CMakeScratch\TryCompile-2nz2u0\Debug\cmTC_81694.: invalid argument [D:\Code\backend-quickjs\buildPS5\CMakeFiles\CMakeScratch\TryCompile-2nz2u0\cmTC_81694.vcxproj]
改成这样可以编译
::# From https://github.com/Tencent/puerts/issues/1796 Author:NiceTry12138
set CUR_DIR=%~dp0
cd %CUR_DIR%
del /s/q buildPS5
mkdir buildPS5 & pushd buildPS5
cmake -DCMAKE_TOOLCHAIN_FILE="C:/Program Files (x86)/SCE/Prospero/Tools/CMake/PS5.cmake" ^
-G "Visual Studio 17 2022" ^
-DCMAKE_SYSTEM_NAME=Playstation ^
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ^
-DPS_PLATFORM=1 ^
-DCMAKE_LINKER="C:/Program Files (x86)/SCE/Prospero SDKs/10.000/host_tools/bin/prospero-lld.exe" ^
..
popd
cmake --build buildPS5 --config Release
pause
报错
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
Unix Makefiles改成改成Visual Studio 17 2022仍然报错
部分错误
prospero-lld : error : cannot open /ERRORREPORT:QUEUE: no such file or directory [D:\Code\backend-quickjs\buildPS5\CMakeFiles\CMakeScratch\TryCompile-2nz2u0\cmTC_81694.vcxproj]
prospero-lld : error : cannot open /OUT:D:\Code\backend-quickjs\buildPS5\CMakeFiles\CMakeScratch\TryCompile-2nz2u0\Debug\cmTC_81694.: invalid argument [D:\Code\backend-quickjs\buildPS5\CMakeFiles\CMakeScratch\TryCompile-2nz2u0\cmTC_81694.vcxproj]
改成这样可以编译