You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get a Lepton 3.5 on the PureThermal 2 - FLIR Lepton Smart I/O Module to simply take a picture so I can test it out this weekend in the field. Earlier today I tried to get the pylepton module to work but once I finally got opencv to work the example code does not seem to capture an image. So I thought if I could get the GetThermal software to work I could at least take an image then I would figure out the python module later but this is not working either. I can get all the way to the last step of Build getthermal then when I run make I get the error below.
It looks like the moc compiler failed to properly generate the file that's giving you trouble. You might try cleaning out your build directory and trying again.
Thank You, that did seem to do the trick. I did get a lot of warnings like the one below, but no errors. Should I be concerned about the errors?
In file included from ../boson_sdk/libusb_binary_protocol.c:4:0:
../boson_sdk/flirChannels.h:19:18: warning: ‘channel_list’ defined but not used [-Wunused-variable]
static CHANNEL_T channel_list[NUM_CHANNELS];
Update: I restarted the my RPi and GetThermal fired up without any issues. Thanks for the help.
I am trying to get a Lepton 3.5 on the PureThermal 2 - FLIR Lepton Smart I/O Module to simply take a picture so I can test it out this weekend in the field. Earlier today I tried to get the pylepton module to work but once I finally got opencv to work the example code does not seem to capture an image. So I thought if I could get the GetThermal software to work I could at least take an image then I would figure out the python module later but this is not working either. I can get all the way to the last step of Build getthermal then when I run make I get the error below.
pi@raspberrypi:~/GetThermal/build $ make
g++ -pipe -O2 -g -std=gnu++11 -flto=4 -fno-fat-lto-objects -fuse-linker-plugin -fPIC -o release/GetThermal obj/main.o obj/uvcvideoproducer.o obj/uvcacquisition.o obj/uvcbuffer.o obj/leptonvariation.o obj/abstractccinterface.o obj/LEPTON_AGC.o obj/LEPTON_OEM.o obj/LEPTON_RAD.o obj/LEPTON_SDK.o obj/LEPTON_SYS.o obj/LEPTON_VID.o obj/crc16fast.o obj/dataformatter.o obj/rangeprovider.o obj/bosonvariation.o obj/Client_API.o obj/Client_Dispatcher.o obj/Client_Packager.o obj/Example.o obj/Serializer_BuiltIn.o obj/Serializer_Struct.o obj/UART_Connector.o obj/flirChannels.o obj/flirCRC.o obj/libusb_binary_protocol.o obj/qrc_qml.o obj/moc_uvcvideoproducer.o obj/moc_uvcacquisition.o obj/moc_leptonvariation.o obj/moc_abstractccinterface.o obj/moc_leptonvariation_types.o obj/moc_dataformatter.o obj/moc_bosonvariation.o obj/moc_bosonvariation_types.o -L/home/pi/GetThermal/libuvc/build/ -luvcstatic -lusb-1.0 -lQt5Quick -lQt5Multimedia -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -lGLESv2 -lpthread
obj/moc_leptonvariation.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
Makefile:259: recipe for target 'release/GetThermal' failed
make: *** [release/GetThermal] Error 1
I am running stretch:
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Any insight on how to get this working would be greatly appreciated.
The text was updated successfully, but these errors were encountered: