LIBGPHOTO2(3) The gPhoto2 Reference (the man LIBGPHOTO2(3)

# [NAME](#NAME)

libgphoto2 - cross-platform digital camera library

# [SYNOPSIS](#SYNOPSIS)

```
#include <gphoto2/gphoto2.h>
```

# [DESCRIPTION](#DESCRIPTION)

The gphoto2 library provides applications with access to a variety of cameras.

This man page will be extended with autogenerated documentation of the interface types and methods used for communication between the gphoto2 library and a frontend.

# [FILES](#FILES)

*~/.gphoto/settings*

Here gphoto2 applications may store their configuration used to access gphoto2.

To track down errors, you can add the **--debug** parameter to the **gphoto2** command line and, if dealing with USB problems, setting the environment variable **USB\_DEBUG=1**.

# [ENVIRONMENT VARIABLES](#ENVIRONMENT_VARIABLES)

[**CAMLIBS**](#CAMLIBS)

If set, defines the directory where the libgphoto2 library looks for its camera drivers (camlibs). You only need to set this on Windows systems and broken/test installations.

[**IOLIBS**](#IOLIBS)

If set, defines the directory where the libgphoto2\_port library looks for its I/O drivers (iolibs). You only need to set this on Windows systems and broken/test installations.

[**LD\_DEBUG**](#LD_DEBUG)

Set this to *all* to receive lots of debug information regarding library loading on **ld** based systems.

[**USB\_DEBUG**](#USB_DEBUG)

If set, defines the numeric debug level with which the libusb library will print messages. In order to get some debug output, set it to *1*.

# [SEE ALSO](#SEE_ALSO)

[gphoto2(1)](/man/os/libgphoto2/gphoto2.1), [libgphoto2\_port(3)](/man/os/libgphoto2/libgphoto2_port.3), The gPhoto2 Manual, automatically generated API docs, \[1]*gphoto website*

# [AUTHOR](#AUTHOR)

The gPhoto2 Team.  
Hans Ulrich Niedermann &lt;gp@n-dimensional.de&gt;. (man page)

# [REFERENCES](#REFERENCES)

1. gphoto website

http://www.gphoto.org/

08/16/2006

---

Document: libgphoto2(3) from libgphoto2 2.5.34-r3 (Chainguard OS)
Source: https://github.com/gphoto/libgphoto2
