I have trouble building projects with noncore addons, all the included addons work fine, both running examples and creating new projects using the project generator.
I am on xcode 5.0.2 on 10.9
Basically I am trying to get two addons to compile, ofxTimeline and ofxSyphon.
I have two aims with this post:
some general feedback on troubleshooting when adding noncore addons to a xcode 5 project
specific feedback on getting ofxTimeline and ofxSyphon to work.
ofxTimeline
ofxTimeline was updated less than a month ago so I was hoping it would work with 0.8.0
I went through the addons required to run ofxTimeline:
ofxTextInputField
If I run the example from within the addons/ofxTextInputField folder I get a ofTypes.h “tr1/memory” file not found (Which is an error I get quite often).
If I create a project using the projectgenerator just with the default source files I get ofxTextInputField.cpp error: out-of-line definition of “set clipboard” does not match any declaration of ofxTextInputField
ofxTween
I updated the addon with a newer fork than what was included with the ofxTimeline and the example compiles and I am able to make a new project using ProjectGenerator
ofxMSATimer
When I try to run the example I get “tr1/memory” file not found
ofxRange
I am able to make a new project using ProjectGenerator
ofxTimecode
the example compiles and I am able to make a new project using ProjectGenerator
ofxTimeline
I have no luck compiling any of the examples from within the addons/ofxTimeline folder,
usually getting the tr1/memory file or the error related to the oftextfield.
When I try to create a project with the Projectgenerator, ofxTimeline is strangely enough not included in the new project even if it was checked in the addons section in the ProjectGenerator
I have tried the hints in similar posts about changing the base sdk to 10.8, or just i386 for valid architectures but it doesn´t seem to make a difference.
ofxSyphon
If I run the basic example from within the addons/ofxSyphon folder it works fine.
If I move the example to examples/addons folder it doesn´t compile, and then I can see in xcode that the content of the src and lib files are not found (files are red)
If I copy the example to my app folder (apps/myApps) I get a lot of mach-o link errors.
If I try to make a new project using the project generator including the ofxSyphon addon and then copy the source files from the basic example I get build errors:
ofxSyphonClient.mm: Lexical or Preprocessor issue “Syphon/Syphon.h” file not found
ofxSyphonServerDirectory.mm: Lexical or Preprocessor issue “Syphon/Syphon.h” file not found
It seems the ProjectGenerator doesn´t include the complete Syphon libs
hc