Linux SDK v.0.1.320 : Tar ball contains incomplete file set

any question related to our SDK and driver

Moderators: yang, Support@ZWO

Post Reply
broekai
Posts: 3
Joined: Mon May 13, 2013 5:14 pm

Linux SDK v.0.1.320 : Tar ball contains incomplete file set

Post by broekai » Sun Jun 07, 2015 7:32 pm

Hiho,

I had been looking forward to incorporating an ASI 120 into my setup. So, I downloaded the current version of the Linux SDK, and I am getting rather frustrated, to say the least:

I just tried building the demo examples and I stumbled over the following difficluties:

1) The make target test_gui in the demo directory references a file called main.cpp, which is in this directory

2) The Makefile has definitions for a usb library to be found in ../libusb, as seen from the demo directory. There is no such directory in the tar ball.

3) The pre-built executables you have provided in the demo/bin directory, do, of course, not work at all on a 64bit system.

In short: Could you please post a usable version?
Thanks very much in advance.

All the best,
Kai.

User avatar
Sam
Posts: 2799
Joined: Thu Feb 21, 2013 2:51 am

Re: Linux SDK v.0.1.320 : Tar ball contains incomplete file

Post by Sam » Mon Jun 08, 2015 1:17 am

you need to install libusb and change the link parth to make the SDK works
because libusb is a open source project, most users would like to download and build themselves
anyway, we will take your suggesture and add a compiled one to our SDK
its more easy for you to test
ZWO Founder
Location:lon=120.6 lat=31.3
SuZhou China

User avatar
Sam
Posts: 2799
Joined: Thu Feb 21, 2013 2:51 am

Re: Linux SDK v.0.1.320 : Tar ball contains incomplete file

Post by Sam » Mon Jun 08, 2015 1:18 am

you can email us to get these compiled lib quickly
otherwise you need to wait the release of next version
ZWO Founder
Location:lon=120.6 lat=31.3
SuZhou China

Guest

Re: Linux SDK v.0.1.320 : Tar ball contains incomplete file

Post by Guest » Mon Jun 08, 2015 12:32 pm

Hi Sam,

thank you very much for the quick answer!

I had a libusb-0.1.0.1 installed (it came with ubuntu 14.04LTS): this version does not work and leads to a linker error.

Installing the current version (libusb-0.1.0.9) from the libusb website http://www.libusb.org remedies this problem.
The "test_console" target seems to work in so far as the camera is recognized and the program does not crash when reading from it (I have not tested what the data collected from the cam actually look like as images).

Unfortunately, the file main.cpp needed by the target test_gui is still missing from your tarball, though.

All the best,
Kai.

User avatar
Sam
Posts: 2799
Joined: Thu Feb 21, 2013 2:51 am

Re: Linux SDK v.0.1.320 : Tar ball contains incomplete file

Post by Sam » Thu Jun 25, 2015 3:48 am

I attached this file
Attachments
main.rar
(3 KiB) Downloaded 164 times
ZWO Founder
Location:lon=120.6 lat=31.3
SuZhou China

Post Reply