arturoc / FaceSubstitution

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

"'toCv' not declared in the scope"? #4

Closed brianputz closed 12 years ago

brianputz commented 12 years ago

I've been trying to compile the FaceSubstitution but keep being met with the error "'toCv' not declared in the scope." I am using the most recent version of ofxCv and dug through it and found that there is in fact something called toCv in there. I'm not the best coder in the world and I am stuck as to what is happening here. Any advice would be awesome!

Cheers, -bp

brianputz commented 12 years ago

Was including the namespace cv

wongjustin99 commented 12 years ago

Thanks for the solution, but what exactly do you mean? I'm getting the same issue right now.

Venetian commented 11 years ago

seconded, what does this mean? I see the toCv() functions, but no toCV(ofImage& myImage) what's the namespace issue? thanks

kylemcdonald commented 11 years ago

if you see "'toCv' not declared in the scope" you need to either say:

ofxCv::toCv()

or add to the top of the file:

using namespace ofxCv;