openframeworks / OFXcodeMenu

OpenFrameworks plugin for Xcode, adds addons to your project
MIT License
265 stars 33 forks source link

ofxFaceTracker, ofxEdsdk don't work #14

Closed kylemcdonald closed 10 years ago

kylemcdonald commented 10 years ago

i can work on adding support.

danzeeeman commented 10 years ago

there are a couple that fail like that...mostly due to the addons structure.

On Sun, Mar 30, 2014 at 10:49 AM, Kyle McDonald notifications@github.comwrote:

i can work on adding support.

Reply to this email directly or view it on GitHubhttps://github.com/admsyn/OFPlugin/issues/14 .

admsyn commented 10 years ago

Is this an addons_config.mk thing? If what they need is too complex, though, I'm sure we can make it work. I'll look into it now too.

admsyn commented 10 years ago

Looks like ofxFaceTracker can be resolved with an addon_config.mk, most minimal being:

common:
    ADDON_DEPENDENCIES = ofxCv

and then some logic in OFPlugin which adds any folders called "include" to USER_HEADER_SEARCH_PATHS (which I'm adding now).

kylemcdonald commented 10 years ago

yeah, that include logic is the important thing for ofxFaceTracker. that would make a huge difference.

ofxEdsdk is a little more complicated, i've actually lost track of what works and why, and i've just been copying working projects...

On Sun, Mar 30, 2014 at 6:16 PM, Adam Carlucci notifications@github.comwrote:

Looks like ofxFaceTracker can be resolved with an addon_config.mk, most minimal being:

common: ADDON_DEPENDENCIES = ofxCv

and then some logic in OFPlugin which adds any folders called "include" to USER_HEADER_SEARCH_PATHS (which I'm adding now).

Reply to this email directly or view it on GitHubhttps://github.com/admsyn/OFPlugin/issues/14#issuecomment-39029981 .

danzeeeman commented 10 years ago

I think my fork works with it. I think I had to rename libs to lib or vise versa...of course don't grab my fork cause it doesn't do what you want. On Mar 30, 2014 2:57 PM, "Kyle McDonald" notifications@github.com wrote:

yeah, that include logic is the important thing for ofxFaceTracker. that would make a huge difference.

ofxEdsdk is a little more complicated, i've actually lost track of what works and why, and i've just been copying working projects...

On Sun, Mar 30, 2014 at 6:16 PM, Adam Carlucci <notifications@github.com

wrote:

Looks like ofxFaceTracker can be resolved with an addon_config.mk, most minimal being:

common: ADDON_DEPENDENCIES = ofxCv

and then some logic in OFPlugin which adds any folders called "include" to USER_HEADER_SEARCH_PATHS (which I'm adding now).

Reply to this email directly or view it on GitHub< https://github.com/admsyn/OFPlugin/issues/14#issuecomment-39029981> .

Reply to this email directly or view it on GitHubhttps://github.com/admsyn/OFPlugin/issues/14#issuecomment-39035481 .

admsyn commented 10 years ago

The include logic is in now, as of f6d65fb876f1dbcec3c57400c7db4df9bdfb762f . This makes ofxFaceTracker work without any extra steps (if it also includes the addon_config.mk above). It also does set-based build settings so you don't end up spamming the settings with duplicates.

I'm looking into ofxEdssdk now, but I don't have the framework handy and I'm getting internet in blocks of like 5 mins at the moment :)

admsyn commented 10 years ago

Hey @kylemcdonald , I figured out ofxEdsdk. It's 3 things:

BTW ofxEdsdk totally saved me last week during a panic install moment. Camera failed and I had just enough time to pop over to the closest big box electronics store and snag a cheapish Rebel. Swapping it for ofVideoGrabber was super easy. :heart:

kylemcdonald commented 10 years ago

awesome! maybe there's a clever way to stick the obj-c specific stuff in a separate file .mm that's only added on osx. next time i'm making modifications to ofxEdsdk i'll take a look.

admsyn commented 10 years ago

Going to close this, since the specific roadblocks have their own issues now ( #18 and #17 )