Difference between revisions of "CUDA ISP for NVIDIA Jetson/Getting Started/Building CUDA ISP for NVIDIA Jetson"

From RidgeRun Developer Connection
Jump to: navigation, search
(Dependencies)
Line 68: Line 68:
 
pip3 install numpy
 
pip3 install numpy
 
</syntaxhighlight>
 
</syntaxhighlight>
 
{{Review|Please, complete the steps. You need to provide the ninja commands and the options|lleon}}
 
  
 
== Building the project ==
 
== Building the project ==
Line 98: Line 96:
 
<b>Table 1.</b> BIPS configuration options (Meson)</caption>
 
<b>Table 1.</b> BIPS configuration options (Meson)</caption>
 
</center>
 
</center>
 +
 +
{{Review|I think that build/src/examples is not correct|lleon}}
  
 
Examples are compiled in the <code>build</code> folder for testing purposes. You can run them in <code>build/src/examples</code>
 
Examples are compiled in the <code>build</code> folder for testing purposes. You can run them in <code>build/src/examples</code>

Revision as of 10:57, 3 March 2023


  Index  






Dependencies

CUDA ISP has the following dependencies for building from source:

  • CUDA
  • NPPI
  • libspdlog

Core

Please, install them using (in Debian-based systems):

sudo apt install -y     \
    libspdlog-dev       \
    python3-dev

Documentation (optional)

For the documentation, consider the following dependency:

  • doxygen

Please, install it using (in Debian-based systems):

sudo apt install -y     \
    doxygen             \

Meson building system

At the building system level:

  • ninja-build
  • python3-pip
  • pkg-config
  • meson

Please, install them using (in Debian-based systems):

sudo apt install -y \
     python3        \
     python3-pip    \
     ninja-build    \
     pkg-config

The process should be similar in other systems, not based on Debian.

Then, install meson and other elements.

sudo pip3 install meson      \
                  pre-commit
pip3 install numpy

Building the project

Once fulfilled the dependencies, you can run a default compilation with:

meson build
ninja -C build
sudo ninja -C build install

For additional customization, you may refer to the following table of options:

`
Configure Option Description
-Denable-python=disabled Skip the Python API compilation. Enabled by default.
-Dwith-python-version=3.8 Sets the Python version. It takes '3' by default.
-Denable-docs=disabled Skip documentation generation. Enabled by default.
--prefix /usr Set the installation path of the library

Table 1. BIPS configuration options (Meson)

Examples are compiled in the build folder for testing purposes. You can run them in build/src/examples










  Index