Skip to content

Commit 286674a

Browse files
philsuesstwistedfall
authored andcommitted
add opensuse-specific instructions to README
1 parent 393a782 commit 286674a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ and additionally to support more OpenCV modules:
4343

4444
`apt install libopencv-dev clang libclang-dev`
4545

46+
#### Opensuse:
47+
48+
`zypper install opencv-devel clang-devel gcc-c++`
49+
4650
#### Other Linux:
4751
You have several options of getting the OpenCV library:
4852

@@ -119,8 +123,9 @@ use this example [rpi-xcompile.Dockerfile](https://github.com/twistedfall/opencv
119123
docker build -t rpi-xcompile -f tools/docker/rpi-xcompile.Dockerfile tools
120124
```
121125

122-
Building this image requries `qemu-arm` to be present on the host system and the corresponding `binfmt-misc` set up (see
123-
e.g. https://wiki.debian.org/QemuUserEmulation, only `Installing packages` should be enough).
126+
Building this image requries `qemu-arm` to be present on the host system and the corresponding `binfmt-misc` set up
127+
- see e.g. https://wiki.debian.org/QemuUserEmulation, only `Installing packages` should be enough for debian-based distros,
128+
- for opensuse, install `qemu-linux-user` via zypper to set up the host correctly.
124129

125130
After the successful build you will have an image configured for cross-compilation to Raspberry Pi. It will contain the
126131
sample build script `/usr/local/bin/cargo-xbuild` that you can check for the correct environment setup and the specific

0 commit comments

Comments
 (0)