jetpacapp / DeepBeliefSDK

The SDK for Jetpac's iOS Deep Belief image recognition framework
Other
2.86k stars 437 forks source link

Runtime error #44

Closed shriphani closed 9 years ago

shriphani commented 9 years ago

Hi,

I'm not particularly familiar with the OS X toolkit so I am probably being an idiot about this.

I was able to get the code to compile ( I added the framework and everything ).

However, I can't get it to run. It fails with this error that I really couldn't make much sense of.

dyld: Library not loaded: @executable_path/../Frameworks/DeepBelief.framework/Versions/A/DeepBelief
  Referenced from: /Users/shriphani/Library/Developer/Xcode/DerivedData/MyRecorder-cfgnjbjyaacnmdanghxubskwpbsu/Build/Products/Debug/MyRecorder.app/Contents/MacOS/MyRecorder
  Reason: image not found
(lldb) 

Any help would be appreciated :)

petewarden commented 9 years ago

If you go into Build Phases in the project settings, and add and remove the DeepBelief.framework, that might fix up the linking problem.

shriphani commented 9 years ago

Thanks yea, I was building for the simulator and it was failing, once I built it for an iDevice it worked just fine. Thanks for the help - I am unfamiliar with iOS quirks sorry about that.