Hi Arne,
Try installing (via `apt-get install`):
libusb-1.0-0-dev
And:
libjpeg-dev
And then repeat the steps below.
Cheers,
Andrew
--
You received this message because you are subscribed to the Google Groups "Flir Lepton" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flir-lepton...@googlegroups.com.
Visit this group at https://groups.google.com/group/flir-lepton.
To view this discussion on the web visit https://groups.google.com/d/msgid/flir-lepton/b98acc08-32c7-4a48-b0f9-b6129d91a5aa%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to flir-lepton+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/flir-lepton.
To view this discussion on the web visit https://groups.google.com/d/msgid/flir-lepton/b98acc08-32c7-4a48-b0f9-b6129d91a5aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Flir Lepton" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flir-lepton+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flir-lepton/A71BE8BF-711E-42AE-BB80-2AFFFA2E01E9%40gmail.com.
pi@raspberrypi:~/Downloads/purethermal1-uvc-capture/python $ ./uvc-radiometry.py
Error: could not find libuvc!
Tried to reinstall the whole Pi and start over, just to for the fun (It was Saturday night you see).
All commands i ran since reinstalling noobs was (in order):
~$ sudo apt-get purge wolfram-engine
~$ sudo apt-get autoremove
~$ sudo apt-get update && sudo apt-get upgrade
~$ sudo apt-get install cmake
~$ sudo apt-get install xrdp
~$ sudo apt-get install libusb-1.0-0-dev
~$ sudo apt-get install libjpeg-dev
~/Downloads $ git clone https://github.com/groupgets/libuvc
~/Downloads $ cd libuvc
~/Downloads/libuvc $ mkdir build
~/Downloads/libuvc $ cd build
~/Downloads/libuvc/build $ cmake ..
~/Downloads/libuvc/build $ make && sudo make install
~/Downloads $ git clone https://github.com/groupgets/purethermal1-uvc-capture
~/Downloads/purethermal1-uvc-capture/python $ ./uvc-radiometry.py
Error: could not find libuvc!
Pure engenineering, thanks for you suggestions! I have tried a few different power supplys now. But I don't know if any of them are ideal. I tired a 5v 1a power supply from an earlier Pi model. I have also tried tow different samsung mobile chargers, both with 5v 2a. No change.
As for your suggestion with trying the camera with desktop i tried running it in vlc just as a webcam. That worked just fine.
I'll add a copy of the code (after the "sudo apt-get update && sudo apt-get upgrade"-command), if it is of any use.
Sorry my reply was a bit long :P Thanks again! Arne
Hi Arne,
Okay, before you do `make install`, do you have a file called `libuvc.so` in the current build directory?
If so, copy this to the same directory as `uvc-radiometry.py` and then run:
export LD_LIBRARY_PATH=$(pwd)
and then re-try running the script.
Running `make install` isn’t actually necessary, given you just need a local copy of the shared object.
I’ve never done `make install` for my usage, as setting `LD_LIBRARY_PATH` works (and, in my opinion, is preferable).
Let me know how you get on — cheers,
Andrew
--
You received this message because you are subscribed to the Google Groups "Flir Lepton" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flir-lepton...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flir-lepton/294f2861-1434-492a-8b8d-4d283b276463%40googlegroups.com.
Okay, this could be a few things …
What does `sudo lsusb` given you? How about `sudo LD_LIBRARY_PATH=$(pwd) ./uvc-radiometry.py`?
Cheers,
Andrew
On 18 Jun 2018, at 18:34, 'AB Peter' via Flir Lepton wrote:
Sorry, forgot the make, oops :PNow that i did the 'make' command the file 'libuvc.so' appeared. I copied (right clicked on it in file manager) to the 'python' directory where the './uvc-radiometry.py' is located. Then i did the 'export LD_LIBRARY_PATH=$(pwd)' (when I was in the 'python' directory). Then i ran './uvc-radiometry.py'. The terminal then said 'uvc_open error'.
--
You received this message because you are subscribed to the Google Groups "Flir Lepton" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flir-lepton...@googlegroups.com.
Visit this group at https://groups.google.com/group/flir-lepton.
To view this discussion on the web visit https://groups.google.com/d/msgid/flir-lepton/b8e5e45a-1af7-4399-b6f1-838f7533c9fe%40googlegroups.com.
Okay, so, do you have X11 forwarding? How are you connecting to the Pi? From Windows? What “ssh client” are you using?
To resolve the needing `sudo` on `uvc-radiometry.py`, you can set the udev rules as listed here:
https://github.com/groupgets/GetThermal/wiki/Building-for-Raspberry-Pi
(Search the page for “1e4e”).
--
You received this message because you are subscribed to the Google Groups "Flir Lepton" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flir-lepton...@googlegroups.com.
Visit this group at https://groups.google.com/group/flir-lepton.
To view this discussion on the web visit https://groups.google.com/d/msgid/flir-lepton/a43f9907-461a-43f7-8e46-b5ac0e013e27%40googlegroups.com.
Sorry, how are you connecting the Pi? Via Putty?
You might need to follow a guide like this:
http://www.geo.mtu.edu/geoschem/docs/putty_install.html
I’m not sure your issues are PureThermal related now though (which is good!).
On 18 Jun 2018, at 21:19, 'AB Peter' via Flir Lepton wrote:
I am using remote desktop in Windows. I have used Putty earlier, but didn't think id have to use it since I was just doing the commands over remote desktop. Since i don't know what X11 forwarding is, i suppose I don't have it...?
--
You received this message because you are subscribed to the Google Groups "Flir Lepton" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flir-lepton...@googlegroups.com.
Visit this group at https://groups.google.com/group/flir-lepton.
To view this discussion on the web visit https://groups.google.com/d/msgid/flir-lepton/a9eacf17-838b-460e-8317-0a6960c2d9b2%40googlegroups.com.
kernel: [21418.056754] Transfer to device 15 endpoint 0x1 frame 1099 failed - FIQ timed out. Data may have been lost.
kernel: [21421.932856] Transfer to device 15 endpoint 0x1 frame 879 failed - FIQ timed out. Data may have been lost.
kernel: [21443.020767] Transfer to device 15 endpoint 0x1 frame 1487 failed - FIQ timed out. Data may have been lost.
kernel: [21447.019344] uvcvideo: Non-zero status (-32) in status completion handler.
> an email to flir-...@googlegroups.com.