Notes on libre The Imaging Source install

spacecruft
Jeff Moe 2022-08-23 19:55:18 -06:00
parent 0698209935
commit 75e2a3d2e6
1 changed files with 33 additions and 0 deletions

View File

@ -45,6 +45,15 @@ Linux USB Firmware Update Tool
# Build
Build tools thusly.
**XXX NOTE XXX**
The first process may involve some non-libre files.
Further investigation is needed. After compile, see:
`./build/src/v4l2/CMakeFiles/tcam-backend-v4l2.dir`
The second process listed below may avoid the blobs.
```
git clone https://github.com/TheImagingSource/tiscamera
cd tiscamera
@ -54,10 +63,34 @@ mkdir build
cd build/
cmake -DTCAM_BUILD_ARAVIS=ON -DTCAM_BUILD_TOOLS=ON -DTCAM_BUILD_V4L2=ON \
-DTCAM_BUILD_LIBUSB=ON -DTCAM_BUILD_DOCUMENTATION=ON ..
# The following will potentially download some non-libre `.o` files.
make
# The following will potentially install some non-libre `.o` files.
sudo make install
```
Perhaps to avoid the non-free bits and keep the final installation
libre, it could be done something like this:
```
git clone https://github.com/TheImagingSource/tiscamera
cd tiscamera
# Review command, runs with sudo:
./scripts/dependency-manager install
mkdir build
cd build/
cmake -DTCAM_BUILD_ARAVIS=ON -DTCAM_BUILD_TOOLS=ON -DTCAM_BUILD_V4L2=ON \
-DTCAM_BUILD_LIBUSB=ON -DTCAM_BUILD_DOCUMENTATION=ON ..
# The following will potentially download some non-libre `.o` files.
make
sudo mkdir -p /usr/share/theimagingsource/tiscamera/uvc-extension/
sudo cp ./data/uvc-extensions/usb33.json /usr/share/theimagingsource/tiscamera/uvc-extension/
sudo cp ./build/data/udev/80-theimagingsource-cameras.rules /etc/udev/rules.d/
sudo cp ./build/bin/tcam-gigetool /usr/bin/
sudo cp ./build/bin/tcam-uvc-extension-loader /usr/bin/
```
# stvid
Works with `stvid` and a configuration snippet like this: