Skip to content
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

Problems reading model files #55

Open
mstllc opened this issue Oct 27, 2013 · 2 comments
Open

Problems reading model files #55

mstllc opened this issue Oct 27, 2013 · 2 comments

Comments

@mstllc
Copy link

mstllc commented Oct 27, 2013

I've cloned this repo, along with ofxCV and FaceSubstitution. I rebuilt the FaceSubstitution project using the ofProjectGenerator and linked all the current projects. The project does compile fine, but immidiately crashes upon launch with the following console output:

DVFreeThread - CFMachPortCreateWithPort hack = 0x3551190, fPowerNotifyPort= 0x3550590 DVFreeThread - CFMachPortCreateWithPort hack = 0x335a2a0, fPowerNotifyPort= 0x335a050 DVFreeThread - CFMachPortCreateWithPort hack = 0x335bb50, fPowerNotifyPort= 0x335a220 [notice ] ofFbo: checkGLSupport(): maxColorAttachments: 8, maxDrawBuffers: 8, maxSamples: 8 [notice ] ofFbo: checkGLSupport(): maxColorAttachments: 8, maxDrawBuffers: 8, maxSamples: 8 [notice ] ofFbo: checkGLSupport(): maxColorAttachments: 8, maxDrawBuffers: 8, maxSamples: 8 [notice ] ofFbo: checkGLSupport(): maxColorAttachments: 8, maxDrawBuffers: 8, maxSamples: 8 [notice ] ofFbo: checkGLSupport(): maxColorAttachments: 8, maxDrawBuffers: 8, maxSamples: 8 [ error ] Make sure you've placed the files face2.tracker, face.tri and face.con in the data/model/ folder. Assertion failed: (s.is_open()), function Load, file /Users/thorson/openFrameworks/of_v0.8.0_osx_release/addons/ofxFaceTracker/libs/FaceTracker/src/lib/Tracker.cc, line 59.

I read the Readme on the home page and definitely have the model files in the bin/data/model directory of this project (see screenshot)
screen shot 2013-10-27 at 2 36 42 pm

Can you think of any reason this would still be failing to read the model files? I'm using the most recent openFrameworks version 0.8.0, pulled off the website this morning.

Thanks, let me know if I can provide more info.

@mstllc
Copy link
Author

mstllc commented Oct 27, 2013

Actually it looks like I either needed to update my ofDataPathRoot or add a build phase to copy the data directory to my application.

@kylemcdonald
Copy link
Owner

yes, if you want to submit a PR for an updated project file that'd be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants