openframeworks implementation failes with: Reason: image not found

Home Forums Syphon Syphon Implementations – User openframeworks implementation failes with: Reason: image not found

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4594
    vjj
    Participant

    I’m trying to get the the openframeworks implementation of syphon working.

    When I drag the directory openframeworks > addons >ofxSyphon into the addons directory of my X-Code project, it looks like it adds it ok.

    When I build and run gdb says this:

    run
    [Switching to process 2890]
    Running…
    dyld: Library not loaded: @loader_path/../Frameworks/Syphon.framework/Versions/A/Syphon
    Referenced from: /Users/artcoreface/utopia/vj/kinect/openframeworks_0062/apps/examples/ofxKinect_fft_syphon/bin/ofxKinectDebug.app/Contents/MacOS/ofxKinectDebug
    Reason: image not found
    sharedlibrary apply-load-rules all
    Data Formatters temporarily unavailable, will re-try after a ‘continue’. (Cannot call into the loader at present, it is locked.)
    (gdb)

    Does anyone have an idea what the problem could be?

    #4595
    vjj
    Participant

    Nevermind, I found the answer.

    Syphon.framework needs to be copied to Frameworks.

    To do this, under Target, add a Copy Files Build Phase that copies to Frameworks.
    Drag the Syphon.framework into this phase.

    #4596
    bangnoise
    Keymaster

    Yep, that’s right. We’ll get around to a Read Me for that sometime…

    #4597
    vjj
    Participant

    I had to do this again and was still sort of confused, here’s the full details of how to do it in one post:

    Drag the folder containing Syphon.framework into xcode somewhere, such as src or addons.
    Syphon.framework needs to be copied to Frameworks.
    To do this, under Target, add a Copy Files Build Phase that copies to Frameworks.
    Drag the Syphon.framework from the folder inside xcode into this phase.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.