All Projects → lnxbil → GPhoto2.framework

lnxbil / GPhoto2.framework

Licence: other
MacOS umbrella framework (build environment, not binary itself) including all necessary libraries for libgphoto2

Programming Languages

shell
77523 projects
objective c
16641 projects - #2 most used programming language
Rich Text Format
576 projects

GPhoto2.framework

This is an Apple Umbrella Framework (Library) embedding all necessary open source libraries:

This framework itself is released under the Lesser GPL 3.0.

Downloading

Binary version of the framework are occasionally built and uploaded to

Build Requirements

First, you need to clone the repository:

git clone --recursive https://github.com/lnxbil/GPhoto2.framework.git

Of course, you need XCode and you also need some other programs too. Best to install all of there using homebrew:

  • automake
  • autoconf
  • wget
  • nasm

Now, you can directly start the build process by running build.sh and you may need to fix some errors on the may, but they're indicated.

$ ./build.sh
Build Process of the GPhoto2.framework
https://github.com/lnxbil/GPhoto2.framework

+ Checking permissions on /Library/Frameworks/GPhoto2.framework
+ Download and extracting files
+ Start building at Fri Dec 23 19:05:16 MSK 2016 with 16 threads
  - Building libtool-2.4.6
  - Building pkg-config-0.29.1
  - Building libusb-1.0.21
  - Building libusb-compat-0.1-0.1.6-rc2
  - Building libjpeg-turbo-1.5.1
  - Building libgphoto2-libgphoto2-2_5_11-release
+ Finished building at Fri Dec 23 19:08:58 MSK 2016
+ Cleaning up framework directory
+ Linking headers
+ Building Apple Framework infrastructure

It is also possible to build the SVN version of libgphoto2, please set

GPHOTO="SVN"

in the config file, which automatically fetches or updates the local svn working copy.

Example Usage

A working example is provided in the example directory. You need to have the GPhoto2.framework to be installed in order to build the example with XCode:

image

If you want to build your own application, you need to use the -flat_namespace linker option in XCode:

image

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].