From: Marcus M. <marcus@> - 2008-09-21 13:16:32
|
On Sun, Sep 21, 2008 at 12:48:46PM +0200, Jens Buchner wrote: > Dear developers of gphoto > > I am working with the libgphoto2 and gphoto2 code at the moment and I > want to use the libgphoto2 library for a scientific experiment. I want > to write my own library for our specific cameras (which are supported by > libgphoto2) with standard methods such as: taking a picture, download > all files, delete all files, do adjustments. The aim is to be able to > control the cameras from a C++ control program of the experiment. Since > the documentation of the libgphoto2 library is quiet hard to access for > me, I wanted to use the source-code of the gphoto2 package as a > guideline. But this really did work out well. I tried to copy/modify the > functions of gphoto2. Trying to avoid to write the whole code by my > selve I used some data structures from gphoto2. While including the > corresponding files I, some dependencies were not fulfilled and I was > not able to find the necessary files. So I wanted to ask if you might > have an example of working code (which only relies on libgphoto2 and not > on gphoto2), with some methods like the once above. The onliest code > like this that I found on the web is this one (from the gphoto website): > http://ufies.org/~christophe/gphoto2/slide-06.php. But this one is old > and does not work anymore. There are various people who written C programs using libgphoto2 to do such things, however they have not published their sourcecode. (If they are reading here, perhaps they can post a link to their sources.) So gphoto2 is currently the reference. I am meanwhile trying to program some sample C snippets doing common things. Ciao, Marcus |