std is ambiguous

asked 2012-10-12 03:39:49 -0500

jeek gravatar image

updated 2017-08-06 09:31:53 -0500

In "OpenCV Tutorial 3 - Add Native OpenCV" project,display "std is ambiguous" error

image description

I don't know how to kill the problem;

thanks!

edit retag flag offensive close merge delete

Comments

2

remove using namespace std and 'using namespace cv' and call types by their full name, aka cv::Mat, std::cout, etc

sammy gravatar imagesammy ( 2012-10-12 08:28:23 -0500 )edit

Amen @sammy

Martin Peris gravatar imageMartin Peris ( 2012-10-12 10:58:43 -0500 )edit