I need help with Ninja build system instalation

February 18, 2024, 17:17

megablock39

hi, I'm new to raspberry pi and I need help cuz I'm instaling ninja build system fron this tutorial https://lindevs.com/install-ninja-build-system-on-raspberry-pi and I dont know what I should do next

k9t33n

please explain what a ninja build system is?

megablock39

Ninja is a build system that enables to build binaries from source code. Ninja might be used as alternative to the Make. Ninja is focused on speed. To achieve high performance, Ninja doesn't have all features that Make build system provides, such as string manipulation.

_krazy.

Check the highlighted text

_krazy.

It indicates the file directory

_krazy.

You make a file and then a configuration file to tell Ninja what to do for building the binaries from the source.

_krazy.

helloworld directory has the source code and also the build.ninja for build config

_krazy.

Afterward just run ninja inside the directory to start building

_krazy.

If you know "Make" you'll get it in no time 👍

_krazy.

GNU Make

megablock39

<@266512529746952192> thanks for trying to help me but still idk what should I do from this place, I'm just starting with this whole thing (programing and everything) I'm having my Pi like for 3 days

oops.se

Then I would advice you to start to learn make first. Its like trying to ride a speed bike before you have learned to master a bicycle.

megablock39

ok, i will try, I just wanted to download ppsspp but I got this error: "[cmake] CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is ot set. You probably need to select a different build tool." and i red on github that i need to download Ninja