简体   繁体   中英

Canon EDSDK 2.11 on OSX EdsOpenSession exc_bad_access

I'm trying to use the Canon EDSDK 2.11 on OSX with a EOS Xsi. I tried running the sample code, I've written my own code, and I even downloaded openFrameworks and an add-on for the Canon EDSK, ofxCanon, and ran its sample code. Every time any of the code reaches a call to EdsOpenSession I get a exc_bad_access error.

Can anyone tell me what might be going on and what I might be doing wrong?

I had the same problem. It seems there is some issues with the SDK downloaded from Canon site. Here what you can try, it solved the problem for me.

Install and update EOSUtility (make sure it works)

Go to /Applications/Canon Utilities/

Show Package Content of EOS Utility.

In frameworks directory you will have EDSDK.framework

Copy it over the one you got from Canon site.

Hope it will help.

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