Paging Vade

dust's picture

vade just a question in regards to ofxQC.

im excited to really get one of your examples to compile.

now with the new version of openFrameworks and the new ofxQC im getting a lot closer to compiling. im down to 5 errors . ;) i think the project is missing the prefix header files.

i suppose normally it would be fairly easy to just make the header file but honestly with openFrameworks and all the libs etc... i don't know where to start. plus its objc++ and ofx is particular about build settings. so i thought it would be better to ask as i was determined to make ofxQC to work awhile ago and gave up.

so i will tell you what i have done so far. i remapped the addons folder. (so much better than the first project as it was a pain to remap all of ofx). i know you made a path to set but for what ever reason my ofx folders are just not in the place there supposed to be i guess. so everything in those respects is smooth now.

i built the ofx libs for 10.6 i386 32bit. your read me says to keep 32bit. i have tried all the compilers as previously to get ofx to work in SL i had to build for 10.4 with gcc 4. im able to build both iphone and xcode ofx no problem.

another thing is that the bundle i do get thats not complete on build says its name is QCtoOFImageDemo but im building the fft sound examples. not sure if the copy script needs to be changed ? this is more than likely the reason for some errors. the target says soundplayer on it but the build says otherwise.

i think i just need a prefix header file and things will work. i had the same problem with cogee webkit no prefix file in repository.

these are my errors.

i686-apple-darwin10-gcc-4.2.1: /ofx/of_preRelease_v0061_osxSL_FAT/apps/addonsExamples/QC Plugins/SoundPlayerFFTExample/soundPlayerFFTPlugin.pch: No such file or directory

i686-apple-darwin10-gcc-4.2.1: /ofx/of_preRelease_v0061_osxSL_FAT/apps/addonsExamples/QC Plugins/SoundPlayerFFTExample/soundPlayerFFTPlugin.pch: No such file or directory

/ofx/of_preRelease_v0061_osxSL_FAT/apps/addonsExamples/QC Plugins/SoundPlayerFFTExample/../../../libs/fmodex/lib/osx: No such file or directory

/ofx/of_preRelease_v0061_osxSL_FAT/apps/addonsExamples/QC Plugins/SoundPlayerFFTExample/../../../libs/glut/lib/osx: No such file or directory

install_name_tool: can't open file: /ofx/of_preRelease_v0061_osxSL_FAT/apps/addonsExamples/QC Plugins/SoundPlayerFFTExample/build/Release/QCtoOFImageDemo.plugin/Contents/MacOS/QCtoOFImageDemo (No such file or directory)

any help would be awesome fade i like openFrameworks and would really like to make a blob tracking plug for qc.

not sure if this is the right place to ask this question but i see you here a lot.

thanks

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

vade's picture
Re: Paging Vade

For now compile debug.

vade's picture
Re: Paging Vade

Oh, as for blog tracking, stay tuned.

dust's picture
Re: Paging Vade

debugs a no go for me. tried a few other settings. i feel closer. i'm going to download the add on again as i may have messed the build settings up. after installing the new beta xcode it seems openframeworks doesn't like ppc builds so have been going with native. i'll stay tuned. i'm really interested in this project, not sure how many others are but i'm going to hold off studying your addon until i can get a example to build.

vade's picture
Re: Paging Vade

I know it works, i've had confirmed reports on IRC and on the OF forum. Just open the project, make sure its in the right location in the Open Frameworks folders (relative paths, thank Open Frameworks for that), and then make sure you build debug.

I have some new stuff that needs to hit SVN, but it needs a bit more polish.

franz's picture
Re: Paging Vade

Your latest version runs nicely. I got an audio synth OFapp running into QC as a consumer plugin. Great ! thanks Vade.

A little question : how do i send QCfloats (other than mouse coords) into OF ? ofGetAppPtr()->someOFfloat = self.inputQCnumber; ??

dust's picture
Re: Paging Vade

awesome you got it working franz. must try the svn again.

vade's picture
Re: Paging Vade

Oh, I need to put what I have up. I have a rev locally that also fixes coordinate transforms for ofx3Dmodelloader and friends, and some more fixes. Hm. Bug me tomorrow about it on #quartzcomposer on freenode. Floats should be doable like that at, first glance. I ought to get back to exploring some more OF+QC stuff. Too much going on!

vade's picture
Re: Paging Vade

Actually, give me your sourceforge account name, Ill make you a committer, and we can work out the OpenCV and Collada loading issues, and put those out. Would be nice to get a helping hand on that.

Also the projects ought to be cleaned up a bit. Working with OF paths is so nightmareish.

franz's picture
Re: Paging Vade

great, on Sourceforge, i'm franz1024

Looking forward to it.

franz's picture
Re: Paging Vade / test plugin

For those interested, you can download a compiled QC-OF plugin from here :

1024 blog

The plugin is an Audio Synth, just a basic port of an OF example, nothing crazy. All credits go to vade and the OF team for providing such great tools !

gtoledo3's picture
Re: Paging Vade / test plugin

Hahah, it doesn't quit until you quit QC, and then when you do, QC crashes on close...

...BUT, it's like a theremin, which wins points ;-)