This guide will walk you through the process to set the required dependencies on your system to compile irioCore and irioCoreCpp
- This guide assumes you are using a RHEL or Ubuntu Linux distribution. The process in other distributions may be similar but has not been tested.
- You have sudo privileges.
-
Enable CRB repository:
sudo dnf config-manager --set-enabled crb
-
Enable EPEL repositories:
sudo dnf install epel-release
-
Install "Development Tools":
sudo dnf group install "Development Tools"
No prerequisites are known
-
Download NI System Configuration repositories:
- Visit NI System Configuration Downloads and download the relevant package.
-
Unzip the contents (.zip may have different name):
unzip NILinux2023Q4DeviceDrivers.zip
-
Navigate to the extracted folder (folder may have different name):
cd NILinux2023Q4DeviceDrivers
-
Install the packages corresponding to your distribution (example for RHEL9):
- RHEL
sudo yum install ni-rhel9-drivers-*
- Ubuntu
sudo apt install ni-ubuntu*
-
Update the repositories:
- RHEL
sudo yum update
- Ubuntu
sudo apt update
-
Install NI System Configuration development package:
- RHEL
sudo yum install ni-syscfg-devel
- Ubuntu
sudo apt install ni-syscfg-devel
-
Install niflexrio libs:
- RHEL
sudo yum install ni-flexrio-modulario-libs-devel
- Ubuntu
sudo apt install ni-flexrio-modulario-libs-devel
-
Install "rsync":
- RHEL
sudo yum install rsync
- Ubuntu
sudo apt install rsync
-
Install "pugixml":
- RHEL
sudo yum install pugixml-devel
- Ubuntu
sudo apt install libpugixml-dev
-
Install "gtest":
- RHEL
sudo yum install gtest-devel
- Ubuntu
sudo apt install libgtest-dev
-
To generate documentation also install "doxygen" and "graphviz":
- RHEL
sudo yum install doxygen graphviz
- Ubuntu
sudo apt install doxygen graphviz
WIP: TBC