@@ -12,7 +12,7 @@ Calibration data can be accessed using the [ZED SDK](https://www.stereolabs.com/
12
12
### Prerequisites
13
13
14
14
* A Stereolabs camera: [ ZED] ( https://www.stereolabs.com/zed/ ) , [ ZED Mini] ( https://www.stereolabs.com/zed-mini/ ) , [ ZED2] ( https://www.stereolabs.com/zed-2/ )
15
- * Linux OS [ Tested on Ubuntu 18.04 and Ubuntu 20.04]
15
+ * Linux OS [ Tested on Ubuntu 16.04, 18.04 and 20.04]
16
16
* GCC compiler [ at least v7.5]
17
17
* CMake build system [ at least v3.1]
18
18
* HIDAPI and LIBUSB Libraries for USB communication
@@ -59,7 +59,7 @@ Compile the library and the examples
59
59
$ mkdir build
60
60
$ cd build
61
61
$ cmake ..
62
- $ make -j4
62
+ $ make -j$(nproc)
63
63
64
64
#### Option 2
65
65
@@ -68,7 +68,7 @@ Compile only the library
68
68
$ mkdir build
69
69
$ cd build
70
70
$ cmake .. -DBUILD_EXAMPLES=OFF
71
- $ make -j4
71
+ $ make -j$(nproc)
72
72
73
73
#### Option 3
74
74
@@ -77,7 +77,7 @@ Compile only the video library with the video example
77
77
$ mkdir build
78
78
$ cd build
79
79
$ cmake .. -DBUILD_SENSORS=OFF
80
- $ make -j4
80
+ $ make -j$(nproc)
81
81
82
82
#### Option 4
83
83
@@ -86,7 +86,7 @@ Compile only the video library
86
86
$ mkdir build
87
87
$ cd build
88
88
$ cmake .. -DBUILD_SENSORS=OFF -DBUILD_EXAMPLES=OFF
89
- $ make -j4
89
+ $ make -j$(nproc)
90
90
91
91
#### Option 5
92
92
@@ -95,7 +95,7 @@ Compile only the sensors library with the sensors example
95
95
$ mkdir build
96
96
$ cd build
97
97
$ cmake .. -DBUILD_VIDEO=OFF
98
- $ make -j4
98
+ $ make -j$(nproc)
99
99
100
100
#### Option 6
101
101
@@ -104,7 +104,15 @@ Compile only the sensors library
104
104
$ mkdir build
105
105
$ cd build
106
106
$ cmake .. -DBUILD_VIDEO=OFF -DBUILD_EXAMPLES=OFF
107
- $ make -j4
107
+ $ make -j$(nproc)
108
+
109
+ ### Install
110
+
111
+ After compiling it is possible to install the library and the examples.
112
+ From inside the ` build ` folder:
113
+
114
+ $ sudo make install
115
+ $ sudo ldconfig
108
116
109
117
## Documentation
110
118
0 commit comments