I want to try and get some images from my ASI120MM camera, using the SDK libraries, on my Raspberry Pi. I have Raspian 11, 32-bit.
Before that, I wanted to try and compile some of the demo examples that the SDK came with. There are supposed to be some examples that would simply just let me snap an image from the camera via my USB cable, which is exactly what I want.
Firstly, in the Downloads section of the ZWO website, under the SDK section, there are different categories of the SDK that are available to download. There are the standard ones, "EFW", "EAF" and "USBST4". What are the differences between the different types of SDK, and which one should I download?
After downloading & extracting the first SDK option on my RP, there is a demo
folder, alongside the doc
, include
and lib
folders. Inside the demo
folder, there is a Makefile
file, that I would assume is the file that needs to be triggered in order for the demo to be built. After switching to that demo folder in my RP terminal, and entering the make
command, I get an error stating -m32
is an unrecognized command. Inside the readme
file that is inside the demo folder, it is stated that I need to install opencv2
first, so I tried to find how to install that library on my RP online. After searching, OpenCV appears to be a Python module, that is used for detecting camera motion. Inside the bin
folder that's in the demo
folder, there appear to be some compiled executables that have already been compiled. Attempting to run any of this, either outside or inside the terminal results in nothing.
There is also a document inside the doc
folder of the SDK folder, however it contains no guidance on how to compile these examples. mainly just function definitions.
I'm quite a bit confused as to exactly how I'm supposed to compile this demo. How am I supposed to run this Makefile
, so that the demo builds successfully?
Thanks for reading my post, any guidance is appreciated.