Just like I said above, when I try to compile a project with Syphon, it tells me Syphon.h not found. I’ve tried for hours to correct this and can’t recall all of the different ways I attempted.
So, I have the latest xCode and latest OF. I can get the example to run if I compile it as a 32-bit app. I just can’t create a new project and add in the Syphon files without getting this error.
did you follow the suggestions to add syphon framework to your project ?
also did you try to build the latest project generator as it fixes the extern framework adding issue.
Also, you may need to add SyphonNameboundClient.m manually from ofxSyphon lib directory as it sometimes fail to add it automatically. Check it in your sources tree.
This is not an ofxSyphon issue. the Project Generator from 0.8.4 doesn’t work for syphon but a fix is being released for 0.9. you need to build it though, but will soon be included in the latest builds
Just tried cleaning/re-building for both architectures, no dice. I see that …Client.m was not in the libs/Syphon/src directory so I right clicked and did Add File… and now it looks like this:
Now I get even more errors:
Also I wish I could compile the new OF, but seeing as how I can’t even get Syphon running with about 8 hours so far (and the help of an experienced xCoder) I doubt I could get that working, hah.
you can just build the Project Generator from the latest fix release. Grab the source code then launch the build script included.
I had really hard time making ofxSyphon to work properly and i know it can get tricky.
I suggest you create a new project with the project generator from version 0.8.4 with all necessary addons
then copy your source code and set ofxSyphon custom parameters as suggested above. This should be good.
Unfortunately as I suspected, attempting to build the Project Generator from source threw all kinds of errors.
As for using the example file, I guess I have three concerns. 1) Plain frustration as to why it won’t work the proper way 2) It’s a little disorganized as it sits in a somewhat buried example folder outside of myApps 3) Most importantly, I also require OSC and can’t seem to figure out how to add that into an existing project (many of the same types of errors)
In the hope of ending this nightmare… maybe if I show my steps one by one someone can point out what went wrong. I’ve done this a million different ways by this point, but I’ll try to follow the instructions I found online as closely as possible.
Use project gen to make a new project with OSC enabled (not Syphon)
Add #include Syphon.h to my app header. Try to build, get “Syphon.h not found”
Add header search paths for the Syphon headers that exist outside my project file (I’m confused on when to reference the files from the folder inside my project folder and when to access the files from the addons folder of OF)
It worked! Thank you so much (both of you) for your time and that video. One question: Why reference the .framework file from the addons folder when there is one inside your project folder?