defining in vc++ in OpenCV

Dec 7, 2010 at 3:18pm
Hi,
My probem is, that when I write something like

CvPoint p1(0,0);

I get "p1 is undifined" error. But as much, as I understand, Im defining it right now, as the CvPoint. I have the same problem with CvStruct and so on. I attached all open cv libs, src and incudes to the VC++ 2010 express projects directories. Any idea?
Dec 7, 2010 at 3:29pm
Did you #include the proper headers in the source files?
Topic archived. No new replies allowed.