arturoc / FaceSubstitution

Face substitution experiments using ofxFacetracker
Other
437 stars 120 forks source link

compiling on Fedora 21 #27

Open erdii opened 9 years ago

erdii commented 9 years ago

I am trying to compile ScrambleSuit on Fedora 21 So I installed openFramworks 0.9.9, installed all codecs and deps, installed ofxCv and ofxFaceTracker, cloned your repo into a subfolder in ofx/apps/, let projectGenerator update the ScrambleSuit project for linux x64 CodeBlocks (with addons: ofxOpenCv, ofxCv, ofxFaceTracker), cd into ScrambleSuit directory executed make and get this error:

src/testApp.cpp: In Elementfunktion »void testApp::drawNormalized(ofxFaceTracker&, ofBaseHasTexture&, ofFbo&)«: src/testApp.cpp:45:6: Fehler: »class ofBaseHasTexture« hat kein Element namens »getTextureReference« tex.getTextureReference().bind(); ^ src/testApp.cpp:47:6: Fehler: »class ofBaseHasTexture« hat kein Element namens »getTextureReference« tex.getTextureReference().unbind(); ^ src/testApp.cpp: In Elementfunktion »void testApp::maskBlur(ofBaseHasTexture&, ofFbo&)«: src/testApp.cpp:61:6: Fehler: »class ofBaseHasTexture« hat kein Element namens »getTextureReference« tex.getTextureReference().draw(0, 0); ^ src/testApp.cpp: In Elementfunktion »void testApp::alphaBlur(ofBaseHasTexture&, ofFbo&)«: src/testApp.cpp:85:6: Fehler: »class ofBaseHasTexture« hat kein Element namens »getTextureReference« tex.getTextureReference().draw(0, 0); ^

Does anyone know how to solve this? =)

erdii commented 9 years ago

i managed to compile it now with ofxCv master branch and openFrameworks 0.8.3 but now i get this error: OpenCV Error: Assertion failed (ssize.area() > 0) in resize, file /home/arturo/Downloads/OpenCV-2.3.1/modules/imgproc/src/imgwarp.cpp, line 1428 terminate called after throwing an instance of 'cv::Exception' what(): /home/arturo/Downloads/OpenCV-2.3.1/modules/imgproc/src/imgwarp.cpp:1428: error: (-215) ssize.area() > 0 in function resize

i can't figure out why it tries to link to a file in arturos home folder because when i search all files in the project folder for "arturo" via grep -Ril "arturo" ./ the only output i get is: ./bin/ScrambleSuit