Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rgolangh/wcam
web cam cli to mainly take snapshots
https://github.com/rgolangh/wcam
Last synced: 14 days ago
JSON representation
web cam cli to mainly take snapshots
- Host: GitHub
- URL: https://github.com/rgolangh/wcam
- Owner: rgolangh
- Created: 2022-11-02T09:05:19.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-05T09:15:14.000Z (about 2 years ago)
- Last Synced: 2024-11-07T10:53:15.335Z (2 months ago)
- Language: Rust
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
wcam - simple webcam snapshot tool
--Cross compilation notes
--
This tool is created to mainly be used raspberry 3b (aarch64) and
to compile from x64 machine do this:rustup target install aarch64-unknown-linux-gnu
dnf install binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu
Notice .cargo/config section for the linker:
cat .cargo/config
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-unknown-linux-gcc"glibc-devel dependencies should be present on the LD dir (natively on /usr/lib/)
can be achieved with:dnf install glibc-devel --forcearch aarch64 --installroot /var/lib/cross-compile/aarch64
and then add the directoty to the search path:
export LD_LIBRAry_PATH+=/var/lib/cross-compile/aarch64
build the target:
cargo build --target aarch64-unknown-linux-gnu