Skip to content

An easy to use PTP library written in C++

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

CompyENG/libEasyPTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libEasyPTP

A library to communicate with cameras running CHDK in C++

The API is based on the PyPTP2 project, which provides a nice wrapper around PyUSB to facilitate easy communication with CHDK cameras. Similarly, this library will wrap around libusb(x) to provide easy communication with CHDK cameras.

This library aims to be speedy and simple to use. For developers, this library aims to be unintrusive and let them simply interact with the camera without worrying about how PTP commands work, or what commands they are able to send. The classes provided by this library should be simple to use, and hide any functions that aren't needed by outside programs. Additionally, this library should ultimately hide from developers its dependency on libusb.

How to build

Unfortunately, I've never done anything with Makefiles and the like before, so the build process is quite primitive. To build, simply run build.sh and you'll notice the built library -- libeasyptp.so.

For convenience, I've also added an install.sh which will copy the library to /usr/lib, and all headers to /usr/include/libeasyptp/ . In your project: #include <libeasyptp.hpp> to use the library.

About

An easy to use PTP library written in C++

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Packages

No packages published