简体   繁体   中英

trying to work with EDSDK from Canon using Xcode

just tried to install the EDSDK framework into the Xcode project framework folder. However I cannot run anything, as I am getting a lot of error messages. for example at this position in the EDSDK.h file:

EdsUInt32 EDSAPI EdsRetain(  EdsBaseRef  inRef );

I get the error message:

A parameter list without types is only allowed in a function definition

I get these all over the place. I really would like to make an MacOS app that takes an image and saves an image with a certain name.

The EDSDK should include two sample XCode projects written in Objective-C, namely:

  • CameraControl -- controlling the camera
  • RawDevelop -- processing (raw) images downloaded from the camera

If you'd like to skip the Objective-C part, you could bridge this into Swift yourself. Alternatively, have a look at the most recent PowerShot G7X SDK where Swift is used to make a similar example project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM