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 had this issue when trying to compile the raspberrypi_video program. If you are using a Debian based OS for your Raspberry Pi (like Raspbian), it is worth noting that Debian is usually a little behind current package releases in an attempt to keep things very stable. The default G++ compiler (v4.9.2 on my RPi) does not include "to_string" in the std library, which is something that was added later. (I've read that it could actually be a g++ bug, but in either case it doesn't work properly.)
The README instructions say to run qmake && make, but instead try doing this:
cd to /LeptonModule/software/raspberrypi_video
Run qmake by itself (creates a file called "Makefile" in the raspberrypi_video folder)
Open "Makefile" in a text editor (such as vi, vim, nano, etc.)
Go to line 15 where it defines the CXXFLAGS, and add "-std=c++11" in front. It should look like this: CXXFLAGS = -std=c++11 -pipe -02 -Wall -W -D_REENTRANT $(DEFINES)
Save and exit the Makefile
Now run your make command
That tells make to look at the C++ 11 std file, which has a to_string function the compiler can use.
just ordered pure thermal breakout and lepton 3.5 from groupgets but can't make it work with raspi4 nor raspi3
looks like i'm not the only one that faced it but none of the solutions worked for me.
any hint/pointer?
The text was updated successfully, but these errors were encountered: