Perl 6 - the future is here, just unevenly distributed

IRC log for #openframeworks, 2014-12-09

| Channels | #openframeworks index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:07 joshbatty joined #openframeworks
00:54 admsyn joined #openframeworks
01:28 Paolo_ joined #openframeworks
01:29 Paolo_ Hello!
01:30 admsyn hi Paolo_
01:33 Paolo_ hey, admsyn I've been struggling for hours with something related to addons on OF, mind to give me a hand ?
01:33 admsyn sure
01:34 Paolo_ great! thx a lot!
01:34 Paolo_ it seems quite obvious but I just can't manage to put together the addons I need to carry on
01:35 * pizthewiz mentioned exactly this in the OF Survey today ;0)
01:35 admsyn pizthewiz: hm?
01:35 pizthewiz "What has prevented you from working with addons, or been a challenge?"
01:35 admsyn ah :)
01:35 * admsyn hasn't done the survey yet
01:36 pizthewiz Ahh, it is pretty good, though it seems like a lot of data for someone to synthesize
01:36 pizthewiz Wasn't there some discussion of PG gaining OFPlugin-like abilities? Maybe that was in the would be nice space?
01:37 admsyn huh, I must have missed that?
01:37 admsyn do you mean embedding in Xcode or just being able to add addons to a project?
01:37 admsyn Paolo_: no need to wait, what's the issue you're running into? :)
01:38 Paolo_ admsyn I'm trying to wrap ofxAppUtils and ofxOpenCV in a single xcode project, the app generator couldn't make it and now I´m trying to add opencv manually to the ofxAppUtils exemple and doesn't work either
01:39 admsyn ah ok, ofxOpenCv's a little tricky since you've got to add some paths to your build settings
01:39 admsyn which IDE are you using?
01:39 Paolo_ xcode 6.1.1
01:40 admsyn alright, and what's the error(s) you're getting?
01:40 Paolo_ well it seems that opencv files can´t find themselfs internally
01:40 admsyn so it's like <opencv/whatever.h> not found?
01:41 Paolo_ I have a cv.h file saying that it cant find this line "#include "opencv2/core/core_c.h"
01:41 Paolo_ well can't find the file in that line
01:41 admsyn yeah that's it, so you've got to add the opencv include path to your project's build settings
01:41 w4ffles joined #openframeworks
01:41 admsyn do you know how to get to the build settings dialog?
01:41 Paolo_ omg, well I've looking for that since midday
01:42 Paolo_ lol
01:42 Paolo_ no I don't
01:42 admsyn alright, if you click your project in the nav bar on the left, then the "Build Settings" tab in the dialog that shows up
01:42 Paolo_ ok, I'm there
01:42 admsyn then look for the "header search paths" setting
01:43 admsyn double click it, hit the +
01:43 Paolo_ ok, I'm there
01:44 admsyn then you need to add the path ../../../addons/ofxOpenCv/libs/opencv/include/
01:44 admsyn or more correctly $(OF_PATH)/addons/ofxOpenCv/libs/opencv/include/ but it probably doesn't matter right now
01:44 Paolo_ omg it worked ^_^
01:45 admsyn nice
01:46 Paolo_ man, I'm really not used to ask for help on IRC's... But I've been struggling with this for hours...
01:46 Paolo_ you are great!
01:46 admsyn np, enjoy :)
01:46 Paolo_ I'm kind of thinking if I didn't look it up right...
01:46 pizthewiz My secret trick for getting addons working is to look at the project settings of example projects included with the addon
01:47 Paolo_ I'll try to post that somewhere
01:47 pizthewiz That and @admsyn's OFPlugin is pretty awesome.
01:47 admsyn :D
01:47 admsyn also there's an updated xcode setup guide that explains this stuff and some other things that might be handy
01:49 admsyn actually RE OFPlugin, pizthewiz
01:49 Paolo_ admsyn thx a lot you are awesome, I'll find a way to pass the word on this
01:50 Paolo_ so people won't get stuck on this as I did ^_^
01:50 Paolo_ have a good evening!
01:50 admsyn I've got an issue where paths for static libs end up being absolute paths, but I can't just put in e.g. $(OF_PATH) in build settings because Xcode escaped the strings :/
01:51 admsyn in your opinion would it be weird if OFPlugin maintained an external .xcconfig file for projects that need lib paths?
01:51 pizthewiz OF_PATH is an Xcode setting though no, it isn't legal to embed that in all other Xcode settings?
01:54 marcocanc joined #openframeworks
01:54 admsyn you mean you can't have OF_PATH be expanded if it's included via an xcconfig file?
01:54 admsyn I admit I haven't actually tried that, just kinda assumed
01:54 admsyn I'm not really sure how to tackle the issue otherwise
01:54 pizthewiz I though you could just use OF_PATH and it would get expanded for you no?
01:55 pizthewiz Are the rules for setting expansion different for project vs xcconfig files?
01:55 admsyn yeah but if I do it from OFPlugin, when I go to put the NSString in the NSDictionary that represents the build setting, it gets escaped
01:55 pizthewiz If so, that is super lame.
01:55 admsyn so you end up with like \$\(OF_PATH) or whatever
01:56 admsyn it's just a quirk of the private API I'm using I assume
01:56 pizthewiz Oh, this is like an Xcode private API thing?
01:56 admsyn yeah
01:56 pizthewiz Kinda weird though, those escapes seem kinda regex'ish
01:57 pizthewiz An NSString could just be @"$" without any escaping, are you sure that isn't some kinda lldb print time escaping thing?
01:57 pizthewiz Maybe the actual value doesn't contain the escapes?
01:57 pizthewiz lldb also seems to trip up on Swift strings :0\
01:58 admsyn It does as far as I can tell, in that if I throw something like $(WHATEVER) into a build setting it comes out escaped when viewed in Xcode proper, the .pbxproj file etc
01:58 admsyn idk maybe I just have to dig deeper into the API bits I can find
02:18 pizthewiz joined #openframeworks
02:18 K0j0 joined #openframeworks
02:33 mhashmi joined #openframeworks
03:03 ar_tama joined #openframeworks
03:03 rburkholder joined #openframeworks
03:12 pizthewiz joined #openframeworks
03:49 horristic joined #openframeworks
04:10 billautomata joined #openframeworks
04:24 ar_tama joined #openframeworks
05:18 pizthewiz joined #openframeworks
05:20 w4ffles joined #openframeworks
05:42 pizthewiz joined #openframeworks
06:17 admsyn joined #openframeworks
06:44 pizthewiz joined #openframeworks
06:52 saravanans joined #openframeworks
06:52 tapout joined #openframeworks
07:15 ar_tama_ joined #openframeworks
07:22 pizthewiz joined #openframeworks
07:52 saravanans joined #openframeworks
08:20 ar_tama joined #openframeworks
08:21 Poelsesnak- joined #openframeworks
08:35 saravana_ joined #openframeworks
08:46 Poelsesnak-- joined #openframeworks
08:50 marcocanc joined #openframeworks
08:56 saravanans joined #openframeworks
09:42 Sembei joined #openframeworks
11:03 ar_tama_ joined #openframeworks
11:56 barzi joined #openframeworks
12:29 ar_tama joined #openframeworks
13:36 saravanans joined #openframeworks
13:55 sebllll_ joined #openframeworks
15:51 marcocanc joined #openframeworks
16:44 admsyn joined #openframeworks
17:09 reqshark joined #openframeworks
17:09 pizthewiz joined #openframeworks
17:29 pizthewiz joined #openframeworks
17:38 w4ffles joined #openframeworks
17:41 admsyn joined #openframeworks
17:42 admsyn1 joined #openframeworks
18:09 reqshark_ joined #openframeworks
18:16 Sembei joined #openframeworks
19:10 reqshark joined #openframeworks
19:11 reqshark_ joined #openframeworks
19:11 DolphinDream joined #openframeworks
19:11 DolphinDream howdy ofx
19:11 DolphinDream any developers here ?
19:17 GuidovanPossum joined #openframeworks
19:18 pizthewiz What's up DolphinDream?
19:19 DolphinDream a git question .. is there a reason why OFX developer don't enforce rebasing over merging (looking at the ofx history i see a lot of small updates that are merged instead of rebased
19:20 pizthewiz Probably a better philosophical question for #github or one of the other channels, but rebase changes history.
19:20 pizthewiz While merge preserves it.
19:22 pizthewiz For example, I rebased this pull request https://github.com/openframew​orks/openFrameworks/pull/2438
19:22 DolphinDream pizthewiz, not phylosophicall at all. just wondering why OFX team choose a particular git commit rule over the other. with rebasing the history is preserved too, except the time
19:23 pizthewiz Correct, it does not preserve the history of the rebased commits ;0)
19:24 DolphinDream for instance the Daniel Rosser commit 336156d87acfd6a999ae416c220c18be0c0020f0 could have been rebased on top fo whatever was the current head.. no need to "preserve" this much history :) it keeps the history linear / clean
19:26 pizthewiz Sure, but you could say that about all PR'd changes - they could all be rebased and then merged cleanly
19:28 DolphinDream yes
19:28 DolphinDream sort of
19:29 DolphinDream my personal view on this rebase/merge topic is that it would make sense to merge (thus keep the time history)  when developing a feature branch (longer developing line)
19:29 pizthewiz If you have a proposal, I'm sure you could file an issue or post to of-dev to get a bit more feedback and discussion.
19:30 pizthewiz The channel isn't all that busy as of late
19:33 DolphinDream pizthewiz, :) i'm not actively developing for ofx.. i just wanted to know whare are ofx git dev practices .. though i was confused seeing a non-clean history (which made me wonder)
19:33 pizthewiz I'm not sure this is unique to OF, I'd imagine most projects hosted on GitHub using Pull Requests have this flow.
19:34 DolphinDream you may be right. i did not check other projects.
19:34 DolphinDream i picked ofx since i used it in the past
19:36 DolphinDream i'm working of finding a good practice to integrate my own libraries as subrepos within my projects.. considering submodules vs subtree etc.. and with any of these (or other methods) the cluttered history may become an issue (hence my particular obsession with clean history ) :)
19:53 pizthewiz Submodules are pretty common practice in other repos, OF tends to subtree quite a few things at present, but I wouldn't imagine that to be a long-term policy, especially as OF build tools like apothecary come online.
19:54 admsyn joined #openframeworks
19:55 reqshark__ joined #openframeworks
20:01 willjf joined #openframeworks
20:25 reqshark__ joined #openframeworks
20:28 jvcleave joined #openframeworks
21:07 jmarsico joined #openframeworks
21:25 reqshark___ joined #openframeworks
22:38 reqshark___ joined #openframeworks
23:04 jamesandfox joined #openframeworks

| Channels | #openframeworks index | Today | | Search | Google Search | Plain-Text | summary