Undefined reference to algorithm
I want to write a program for a raspberry pi witch can recognize road signs. I found that tutorial http://docs.opencv.org/doc/tutorials/features2d/feature_flann_matcher/feature_flann_matcher.html but when I try to run that I got following error "undefined reference to cv::Algorithm::~Algorithm". I'm including same library including features2d.hpp witch is now moved to the nonfree:
#include<opencv2/nonfree/features2d.hpp>