Skip to content

Commit b01c3ee

Browse files
committed
Merge branch 'master' of github.com:stereolabs/zed-driver
2 parents 937794b + 08ee845 commit b01c3ee

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

README.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Calibration data can be accessed using the [ZED SDK](https://www.stereolabs.com/
1212
### Prerequisites
1313

1414
* 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]
1616
* GCC compiler [at least v7.5]
1717
* CMake build system [at least v3.1]
1818
* HIDAPI and LIBUSB Libraries for USB communication
@@ -59,7 +59,7 @@ Compile the library and the examples
5959
$ mkdir build
6060
$ cd build
6161
$ cmake ..
62-
$ make -j4
62+
$ make -j$(nproc)
6363

6464
#### Option 2
6565

@@ -68,7 +68,7 @@ Compile only the library
6868
$ mkdir build
6969
$ cd build
7070
$ cmake .. -DBUILD_EXAMPLES=OFF
71-
$ make -j4
71+
$ make -j$(nproc)
7272

7373
#### Option 3
7474

@@ -77,7 +77,7 @@ Compile only the video library with the video example
7777
$ mkdir build
7878
$ cd build
7979
$ cmake .. -DBUILD_SENSORS=OFF
80-
$ make -j4
80+
$ make -j$(nproc)
8181

8282
#### Option 4
8383

@@ -86,7 +86,7 @@ Compile only the video library
8686
$ mkdir build
8787
$ cd build
8888
$ cmake .. -DBUILD_SENSORS=OFF -DBUILD_EXAMPLES=OFF
89-
$ make -j4
89+
$ make -j$(nproc)
9090

9191
#### Option 5
9292

@@ -95,7 +95,7 @@ Compile only the sensors library with the sensors example
9595
$ mkdir build
9696
$ cd build
9797
$ cmake .. -DBUILD_VIDEO=OFF
98-
$ make -j4
98+
$ make -j$(nproc)
9999

100100
#### Option 6
101101

@@ -104,7 +104,15 @@ Compile only the sensors library
104104
$ mkdir build
105105
$ cd build
106106
$ 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
108116

109117
## Documentation
110118

0 commit comments

Comments
 (0)