defining in vc++ in OpenCV

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?
Did you #include the proper headers in the source files?
Topic archived. No new replies allowed.