Ziyun

28 Jan 2013

<iframe src=”http://player.vimeo.com/video/58365584″ width=”500″ height=”325″ frameborder=”0″ webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe> <p><a href=”http://vimeo.com/58365584″>trackpad+PD</a> from <a href=”http://vimeo.com/user9083595″>kaikai</a> on <a href=”http://vimeo.com”>Vimeo</a>.</p>

I didn’t realize how hard it would be to just simply get two addons work together in on project until I actually got on working on it..So I’ve encountered folder hierarchy problem in the ofxMultiTouchPad  addon which works under four folders instead of the usual three, so I had to manually change the OF_PATH setting. Another thing was that the two addons were “defined differently in C”(I wished I paraphrased this right) – said my a friend of mine so I would need to add a new setting to describe them correctly, so the setting is:

OFX_PD_CFLAGS:

-DHAVE_UNISTD_H -DUSEAPI_DUMMY -DPD -dynamiclib -ldl -lm

And here is a thread we might want to look at:

https://github.com/libpd/libpd/issues/29

 

So yea, I got it worked..yayyy!!!

Here’s the two ofxaddons I used in this experiment:

ofxMultiTouchPad

ofxPD