-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How Do I run examples on XCode ? #142
Comments
One easy way is to use the openFrameworks project generator to create a new project (preferably with the same name as the example you want to use) and then replace the files it created with the files from the example folder. |
Thanks I had done that and it worked
…On Wed, Mar 14, 2018 at 4:19 PM Jasper van Loenen ***@***.***> wrote:
One easy way is to use the openFrameworks project generator to create a
new project (preferably with the same name as the example you want to use)
and then replace the files it created with the files from the example
folder.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#142 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJsBl_07M-xnaU06OStHHaDI_Y8jKVXfks5teRHagaJpZM4O1ZYF>
.
|
@SasanBhrm Realized today there is actually an even easier way:
|
I've tried both these ways and can't get any examples to run. Specifically trying now example-align-eyes and I get this error:
I am running the example from the main addons folder. How do I get the dependencies into my project? |
Did you see the list of dependencies in the readme? Make sure you download those and place them in the openframeworks addons folder. Then run the steps above and use the project generator to add them to the project (or add them manually by adding their name to the addons.make file (like ofxCv) and to your ofApp.h file (#include "ofxCv.h"). |
Do I have to download all of the dependencies in the addons.make file? Or are they supposed to be imported automatically because they're listed there? Just tried to use the project generator to update a project after copying over the example files, and it says I am missing the ofxGui, ofxOpenCv and ofxOsc addons. The readme just mentions the ofxCv, ofxTiming and ofxDelauny plugins as required downloads. I have downloaded ofxCv and placed it in the addons folder. Thanks for your help! |
What system are you on? Windows, Mac, Linux? And what version of OF are you using? Knowing this will help in giving you the right info to get set up.
You might want to take a couple of steps back to make sure everything is set up correctly: In the following steps I mention the With all steps keep folders and projects where they are, as some scripts are location specific and they might not work when moved. You can start moving them when you're sure everything is ok.
|
Thanks @javl! I was able to get the expression-example working following your instructions on my Mac. It seems that somehow all of the included openFrameworks addons were deleted from my addons folder, which is why openFrameworks could not find them. Maybe this is more of an openFrameworks issue, but I think having the instructions you just gave me available in the main readme would be a huge help to those coming to ofxFaceTracker without much knowledge of openFrameworks/Xcode/c++. Thanks again! |
@trevorlitsey Though you're right more detailed instructions would have been helpful it's also a bit overkill to add them to the readme of every ofx addon. I think in most cases the addon authors expect you to already have a working setup, which seems reasonable. Glad you got it to work. It's often helpful to first go all the way back to the most basic and bare bones example and start adding things from there so you can spot where the error appears. |
Ho do I run examples from this project on XCode ? I only have main.app and two oter files in each directory (folder)
Thanks
The text was updated successfully, but these errors were encountered: