View my account

SR305 on OSX

Comments

4 comments

  • MartyG

    A member of the Intel RealSense team has suggested the link below for information on linking your own project to Librealsense with XCode.

    http://rustyrazorblade.com/post/2008/external-libraries-in-xcode/ 

    0
    Comment actions Permalink
  • Jbroeren

    Dear Marty,

     

    Thanks for the tip. I followed the link and read the article. Although it seems to be about a dependency issue, I removed the dependencies I used, and followed the instructions in the article (as the author uses a little bit different method).

    But unfortunately, it produced the same end result: everything compiles and links perfectly, it runs without errors (I can actually 'trace into' the rs2_create_context and other methods), but I get '0 RealSense sensors found' and return EXIT_FAILURE.

    I'm completely at a loss. How is it possible that the methods produce other results when called from a different project? Is there some hidden setting I am missing?

    Thanks once again for anyone that has any tips!

     

    Joris

    0
    Comment actions Permalink
  • Jbroeren

    I fixed it..!

    It has absolutely NOTHING to do with the SDK.

    In the 'Signing and Capabilities' of the Xcode project, the 'App Sandbox' has some checkboxes that are standard unchecked. One of them is... USB. When I checked it, it is working... So it was a safety feature of Xcode itself...

    Pfff. Now I can actually start working on what I was planning to do. Standard rookie mistake I guess?

    Joris

    0
    Comment actions Permalink
  • MartyG

    Awesome news that you found a solution - thanks for the update!   :)

    0
    Comment actions Permalink

Please sign in to leave a comment.