Public paste
Undefined
By: errorhelloworld | Date: Dec 2 2010 16:59 | Format: None | Expires: never | Size: 1.27 KB | Hits: 518

  1. laptop:~/opencvtest$ gcc -o helloworld helloworld.c
  2. helloworld.c:1:16: error: cv.h: Bestand of map bestaat niet
  3. helloworld.c:2:21: error: highgui.h: Bestand of map bestaat niet
  4. helloworld.c: In function ‘main’:
  5. helloworld.c:12: error: ‘CvFont’ undeclared (first use in this function)
  6. helloworld.c:12: error: (Each undeclared identifier is reported only once
  7. helloworld.c:12: error: for each function it appears in.)
  8. helloworld.c:12: error: expected ‘;’ before ‘font’
  9. helloworld.c:13: error: ‘CvPoint’ undeclared (first use in this function)
  10. helloworld.c:13: error: expected ‘;’ before ‘pt’
  11. helloworld.c:14: error: ‘CvScalar’ undeclared (first use in this function)
  12. helloworld.c:14: error: expected ‘;’ before ‘colour’
  13. helloworld.c:15: error: ‘CvSize’ undeclared (first use in this function)
  14. helloworld.c:15: error: expected ‘;’ before ‘text_size’
  15. helloworld.c:17: error: ‘CV_AA’ undeclared (first use in this function)
  16. helloworld.c:21: error: ‘IplImage’ undeclared (first use in this function)
  17. helloworld.c:21: error: ‘image’ undeclared (first use in this function)
  18. helloworld.c:30: error: ‘font’ undeclared (first use in this function)
  19. helloworld.c:33: error: ‘colour’ undeclared (first use in this function)
  20. helloworld.c:36: error: ‘pt’ undeclared (first use in this function)