Installing the NAP release involves extracting the archive and running our script to guide you through dependency installation. Projects reside within the framework folder structure, and as such we recommend extracting the release into a user directory instead of a system directory. For example on Windows something like My Documents
is a more suitable location than C:\\Program Files.
The prerequisites installation script is called check_build_environment
and can be found in the tools directory within the release. The script attempts to verify that your build environment is ready for NAP and is designed to be re-run until all checks are successfully passed.
NAP 0.7.1 supports Visual Studio 2019 (v142)
on Windows and make files
on Linux. Instead of using these environments you can use Visual Studio Code or CLion to author your code. Although we don't officially support these environments others have confirmed that they work as expected. Both Visual Studio Code
and CLion
can be configured using CMake, which is the system NAP uses to build and package applications.
NAP 0.7.1 supports Windows 10 & 11 (x86_64)
with Visual Studio 2019 (v142)
. Other versions of Visual Studio are not supported at this moment.
Download and install Visual Studio 2019. This link points to the community edition which can be used for free. Make sure to select Desktop development with C++
when installing Visual Studio, including MSVC v142 - VS 2019 C++ x64/x86
and the Windows 10 SDK
. Other settings are optional. Download and install the Visual C++ 2013 Redistributable (x64).
NAP-0.7.1-Win64-x86_64.zip
using Explorer (or your preferred tool)NAP-0.7.1-Win64-x86_64\tools
run check_build_environment.bat
to guide you through installing prerequisites, following the instructionsNAP-0.7.1-Win64-x86_64\demos\helloworld
in Explorerregenerate.bat
Release
configurationNAP 0.7.1 supports Ubuntu Linux 20.04 & 22.04
on x86-64
machines using GCC
. Although NAP is known to run on other distros: Ubuntu 20.04 or 22.04
is currently the only supported Linux desktop environment.
Only the Raspberry Pi 4
running Raspbian Bullseye (v11, armhf)
is 'fully' supported. Headless applications and services without graphics should run on older models, although this has not been tested. The editor (napkin) only works on the Raspberry Pi 4.
Please note that the current V3DV driver
in the Raspbian Bullseye Repository
is tagged as experimental and should not be considered production ready. Although most demos work fine, we did run into minor render issues, most notably with the heightmap
and computeflocking
demos. Using a more recent (upstream) driver improved overall performance and resolved most known render issues.
check_build_environment
script to guide you through installing prerequisites, following the instructions: check_build_environment
after those changes have been made to verify the final environmentAlternatively you can follow the steps below to install the dependencies, however we still recommend running check_build_environment
afterwards to verify your build environment.