Canon EDSDK 2.11 on OSX EdsOpenSession exc_bad_acc

2019-08-03 15:17发布

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?

1条回答
该账号已被封号
2楼-- · 2019-08-03 15:51

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.

查看更多
登录 后发表回答