Building a library . . .

Oct 16, 2022 Last reply: 3 years ago 3 Replies

I'm trying to build a thermal camera and I've got stuck at "building" from this guide

formatting link
I'm not sure where I 'make all' etc - in usr/local it returns things like 'no target specified', and 'no rule'.



It's using a Pi 3 and internal storage with the Pimoroni breakout garden from a fresh default OS image - very new to all of this so I'm not sure what's important hardware wise.



Any pointers appreciated.


Have you grabbed the source code into a folder and unzipped it? There's a makefile in the top level folder, There are other way such as checking it out using git

formatting link

You have to change directory to the location of the Makefile. The usual process is:

$ git clone

formatting link
into 'mlx90640-library'... remote: Enumerating objects: 640, done. remote: Counting objects: 100% (68/68), done. remote: Compressing objects: 100% (47/47), done. remote: Total 640 (delta 30), reused 34 (delta 16), pack-reused 572 Receiving objects: 100% (640/640), 2.83 MiB | 630.00 KiB/s, done. Resolving deltas: 100% (351/351), done.

$ cd mlx90640-library/

$ make all g++ -DDEBUG -g -fPIC -I headers -shared -c -o functions/MLX90640_API.o functions/MLX90640_API.cpp [lots more build output]

Theo

That's it, all done! Many thanks - and to Andy - I think that was what you were driving at.

Camera works. Now for the real fun . . .

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required