问题描述
我正在尝试将OSX上的Canon EDSDK 2.11与EOS Xsi一起使用.我尝试运行示例代码,编写了自己的代码,甚至下载了openFrameworks和佳能EDSK,ofxCanon的附件,并运行了其示例代码.每当任何代码到达对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?
推荐答案
我遇到了同样的问题.从佳能网站下载的SDK似乎存在一些问题.在这里您可以尝试,它为我解决了问题.
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.
安装和更新EOSUtility(确保它可以正常工作)
Install and update EOSUtility (make sure it works)
转到/Applications/Canon Utilities/
Go to /Applications/Canon Utilities/
显示EOS Utility的包装内容.
Show Package Content of EOS Utility.
在frameworks目录中,您将拥有EDSDK.framework
In frameworks directory you will have EDSDK.framework
将其复制到您从佳能网站获得的那张纸上.
Copy it over the one you got from Canon site.
希望这会有所帮助.
这篇关于OSX上的Canon EDSDK 2.11 EdsOpenSession exc_bad_access的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!