From 67678279fc66fcbebf090f9a6cb49dcf5d32cebc Mon Sep 17 00:00:00 2001 From: "jueon.park" Date: Sat, 18 Nov 2023 13:53:24 +0900 Subject: [PATCH] Added prerequisites info to installation guide --- docs/installation_guide.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/installation_guide.md b/docs/installation_guide.md index 67f5208..cb7ffe4 100644 --- a/docs/installation_guide.md +++ b/docs/installation_guide.md @@ -1,4 +1,14 @@ # Installation Guide +This document describes how to build and install the *JetsonGPIO* from the source code. + +### 0. Prerequisites +To build *JetsonGPIO* from the source code, the following prerequisites are needed: + +- `git` (for cloning the source code from GitHub) +- `CMake` (3.2 or higher) +- A C++ compiler that supports C++11 (ex> `g++`, `clang`, etc) +- Build automation tools (ex> `GNU Make`, `Ninja`, etc) + ### 1. Clone the repository. ``` git clone https://github.com/pjueon/JetsonGPIO @@ -27,7 +37,7 @@ cmake .. [OPTIONS] sudo cmake --build . --target install ``` -# Compiling the Samples +## Compiling the Samples You can add cmake option `-D BUILD_EXAMPLES=ON` to build example codes in `samples`. Assuming you are in `build` directory: ```