问题
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:
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.
来源:https://stackoverflow.com/questions/13637670/canon-edsdk-2-11-on-osx-edsopensession-exc-bad-access