error: ‘cv’ is not a namespace-name using namespace cv;
snippet in assembly

error: ‘cv’ is not a namespace-name using namespace cv;

user8994

#include <opencv/cv.h>


NOTE: you may forgotten to include above header, thats why you got below error.
prashad@ubuntu:~/test$ g++ create_ipl_image.cpp   `pkg-config opencv cvblob --cflags --libs` 
create_ipl_image.cpp:4:17: error: ‘cv’ is not a namespace-name
 using namespace cv;