Closed xiandu closed 11 years ago
i don't think the FaceSubstitution project files are up to date with ofxCv / ofxFaceTracker.
what i recommend trying is taking a working ofxFaceTracker project, making a copy, and pasting the FaceSubstitution code (main/testApp.h/.cpp) in place of the ofxFaceTracker code (main/testApp.h/.cpp). you'll also need to add ofxFaceTrackerThreaded maybe.
Good suggestions. I copy and paste the src folder, and also the FaceSubstitution.xcodeproj. I use the Project.xcconfig in the ofxFaceTracker example code. Thing changes better while I got other errors as follows,
'Clone.h: No such file or directory' 'Command/Developer/usr/bin/gcc-4.2 failed with exit code 1'.
I think I will recompile it. Please advise if you like.
Thanks.
On Tue, Oct 9, 2012 at 4:45 PM, Kyle McDonald notifications@github.comwrote:
i don't think the FaceSubstitution project files are up to date with ofxCv / ofxFaceTracker.
what i recommend trying is taking a working ofxFaceTracker project, making a copy, and pasting the FaceSubstitution code (main/testApp.h/.cpp) in place of the ofxFaceTracker code (main/testApp.h/.cpp). you'll also need to add ofxFaceTrackerThreaded maybe.
— Reply to this email directly or view it on GitHubhttps://github.com/arturoc/FaceSubstitution/issues/12#issuecomment-9279125.
if you see any "no such file or directory" errors, just add those files to the project by dragging them over.
On Tue, Oct 9, 2012 at 6:01 PM, xiandu notifications@github.com wrote:
Good suggestions. I copy and paste the src folder, and also the FaceSubstitution.xcodeproj. I use the Project.xcconfig in the ofxFaceTracker example code. Thing changes better while I got other errors as follows,
'Clone.h: No such file or directory' 'Command/Developer/usr/bin/gcc-4.2 failed with exit code 1'.
I think I will recompile it. Please advise if you like.
Thanks.
On Tue, Oct 9, 2012 at 4:45 PM, Kyle McDonald notifications@github.comwrote:
i don't think the FaceSubstitution project files are up to date with ofxCv / ofxFaceTracker.
what i recommend trying is taking a working ofxFaceTracker project, making a copy, and pasting the FaceSubstitution code (main/testApp.h/.cpp) in place of the ofxFaceTracker code (main/testApp.h/.cpp). you'll also need to add ofxFaceTrackerThreaded maybe.
— Reply to this email directly or view it on GitHub< https://github.com/arturoc/FaceSubstitution/issues/12#issuecomment-9279125>.
— Reply to this email directly or view it on GitHubhttps://github.com/arturoc/FaceSubstitution/issues/12#issuecomment-9281687.
The errors are narrowed down to five now. Most of them are related to 'clone ' functions. I attach part of the builduplog for reference and further suggestion. The full builduplog is too long to be put here. I got the following error and cannot understand where it comes from, 'install_name_tool: can't open file: /Users/xiandu/openFrameworks/addons/ofxFaceTracker/FaceSubstitution/bin//FaceSubstitutionDebug.app/Contents/MacOS/FaceSubstitutionDebug (No such file or directory).
I check my package contents in FaceSubstitutionDebug.app, and only find libfmodex.dylib in MacOS. Should I change any configuration anywhere?
Thanks for your time
I successfully built the example projects in ofxCv and ofxFaceTracker using openFrameworks. Both ofxCv and ofxFaceTracker are the newest version in the website. Then I copy the FaceSubstition stuff and paste them in the folder examples with a folder name 'FaceSubstitution'. I built and run the project. The compile error include 'FaceTracker/Tracker.h: No such file or directory' and 'FACETRACKER' has not been declared.'
First, I do not know I should put the project into another site. Second, I am not sure if the newest ofxCv and ofxFaceTracker are compatible with the FaceSubstitution project.
Or I can change anything to get it run successfully?