Lameguy64 / PSn00bSDK

The most powerful open source SDK for the PS1 (as far as open source PS1 SDKs go). Not recommended for beginner use.
Other
819 stars 66 forks source link

Weird issue #53

Closed koopthekoopa closed 1 year ago

koopthekoopa commented 2 years ago

When I compile the template I get a weird message in CMake. Here's the log:

Preset CMake variables:

  CMAKE_BUILD_TYPE="Debug"
  CMAKE_TOOLCHAIN_FILE="C:\PSn00bSDK\lib\libpsn00b/cmake/sdk.cmake"
  PSN00BSDK_TARGET="mipsel-none-elf"
  PSN00BSDK_TC=""

CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
See also "/d/template/build/CMakeFiles/CMakeOutput.log".

It seems it can't find the program names "Ninja". Do I need to install something or am I doing something wrong?

spicyjpeg commented 2 years ago

The default presets assume you have Ninja installed (it is a single self-contained executable you can just drop into any directory listed in your PATH environment variable). You can use CMake's -G option or edit the presets to use MSys2 or MinGW make instead, although using Ninja is recommended since it's faster and easier to get running on Windows compared to make.

Ninja will be bundled in the next PSn00bSDK release by the way, so this is just a temporary issue.

spicyjpeg commented 1 year ago

I'm closing this issue since Ninja has been bundled with PSn00bSDK binary releases starting from v0.20, so there should (hopefully) be no issues now.