OF 0071 ofxCv :: namedWindow() and imshow() error

Hi everyone,

I’m trying to use ofxCv with the brand new OpenFrameworks 0071, and, even if I can compile my application, ofxCv behaves weirdly.
Indeed i can’t use both display functions cv::namedWindow nor cv::imshow() functions to show CV Mat images, as well as I get strange behavior when trying to use Mat objects (but i guess that’s obvious since i can’t use basic stuff as namedWindow, etc.)

I have this error message :

Undefined symbols for architecture i386:  
  "cv::namedWindow(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)", referenced from:  
      testApp::draw()     in testApp.o  
ld: symbol(s) not found for architecture i386  
collect2: ld returned 1 exit status  

When trying to do only that :

void testApp::draw(){  
    cv::namedWindow("win cv");  

Has anyone succeeded to use ofxCv with OF 0071 ?
Is there any special settings for this new version of OF ?

Thanks for the help !

ps: this topic follows one i created the same day : http://forum.openframeworks.cc/t/of-071-compatibility-with-ofxui,-ofxcv,-ofxartoolkitplus/10273/0
But i thought creating a new one would be less confusing.

Just as a note :
For those who have the same sort of problem, it seems that using the last version of GCC could be a way to solve it.
I’ll try that and will post the results afterward.

Comment about GCC found here :

Are you sure those symbols are compiled into the supplied opencv libs? Also look at this thread http://forum.openframeworks.cc/t/opencv-imread-errors/10085/0

The supplied opencv libs do not have everything included. I don’t know the build options so I can’t tell what is and what not.



Thanks Arnaud for the hint. I forgot that I indeed installed something else when using ofxCv with OF 007.
I’ll look into that.