pi@raspberrypi ~ $ g++ CarMotionTwoLines-HSV.cpp
CarMotionTwoLines-HSV.cpp: In constructor ‘CarVideoHandler::CarVideoHandler()’:
CarMotionTwoLines-HSV.cpp:92:17: warning: deprecated conversion from string constant to ‘char’ [-Wwrite-strings]
CarMotionTwoLines-HSV.cpp:93:14: warning: deprecated conversion from string constant to ‘char’ [-Wwrite-strings]
CarMotionTwoLines-HSV.cpp:94:14: warning: deprecated conversion from string constant to ‘char’ [-Wwrite-strings]
CarMotionTwoLines-HSV.cpp:95:17: warning: deprecated conversion from string constant to ‘char’ [-Wwrite-strings]
CarMotionTwoLines-HSV.cpp:98:15: warning: deprecated conversion from string constant to ‘char’ [-Wwrite-strings]
CarMotionTwoLines-HSV.cpp:99:15: warning: deprecated conversion from string constant to ‘char’ [-Wwrite-strings]
/tmp/cclicE4h.o: In function allocateOnDemand(_IplImage**, CvSize, int, int)':
CarMotionTwoLines-HSV.cpp:(.text+0x380): undefined reference to
cvCreateImage'
/tmp/cclicE4h.o: In function resizeImg(_IplImage*, int)':
CarMotionTwoLines-HSV.cpp:(.text+0x4e0): undefined reference to
cvResize'
/tmp/cclicE4h.o: In function resizeImgColor(_IplImage*, int)':
CarMotionTwoLines-HSV.cpp:(.text+0x5a8): undefined reference to
cvResize'
/tmp/cclicE4h.o: In function MorfologiaDE(_IplImage*, _IplImage*, int)':
CarMotionTwoLines-HSV.cpp:(.text+0x628): undefined reference to
cvCreateStructuringElementEx'
CarMotionTwoLines-HSV.cpp:(.text+0x648): undefined reference to cvDilate'
CarMotionTwoLines-HSV.cpp:(.text+0x660): undefined reference to
cvErode'
CarMotionTwoLines-HSV.cpp:(.text+0x66c): undefined reference to cvReleaseStructuringElement'
/tmp/cclicE4h.o: In function
mouseHandler(int, int, int, int, void)':
CarMotionTwoLines-HSV.cpp:(.text+0x1178): undefined reference to cvCloneImage'
CarMotionTwoLines-HSV.cpp:(.text+0x1278): undefined reference to
cvRectangle'
CarMotionTwoLines-HSV.cpp:(.text+0x148c): undefined reference to cvLine'
CarMotionTwoLines-HSV.cpp:(.text+0x14e0): undefined reference to
cvShowImage'
/tmp/cclicE4h.o: In function idTrackCarPerson(_IplImage*, int**, std::_Rb_tree_const_iterator<std::pair<unsigned int const, cvb::CvBlob*> >, std::_Rb_tree_const_iterator<std::pair<unsigned int const, cvb::CvTrack*> >, int, double, double, double, CvFont, char*, int**, int**, int**, int**, int&, int&, int*, int*, int*, int*, int*, int, int, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
CarMotionTwoLines-HSV.cpp:(.text+0x4c88): undefined reference to
cvInitFont'
CarMotionTwoLines-HSV.cpp:(.text+0x4db0): undefined reference to cvPutText'
CarMotionTwoLines-HSV.cpp:(.text+0x4f08): undefined reference to
cvPutText'
CarMotionTwoLines-HSV.cpp:(.text+0x5148): undefined reference to cvRectangle'
CarMotionTwoLines-HSV.cpp:(.text+0x5338): undefined reference to
cvRectangle'
CarMotionTwoLines-HSV.cpp:(.text+0x5794): undefined reference to cvRectangle'
CarMotionTwoLines-HSV.cpp:(.text+0x57b8): undefined reference to
cvInitFont'
CarMotionTwoLines-HSV.cpp:(.text+0x5920): undefined reference to cvPutText'
CarMotionTwoLines-HSV.cpp:(.text+0x5b50): undefined reference to
cvRectangle'
CarMotionTwoLines-HSV.cpp:(.text+0x6374): undefined reference to cvRectangle'
CarMotionTwoLines-HSV.cpp:(.text+0x6398): undefined reference to
cvInitFont'
CarMotionTwoLines-HSV.cpp:(.text+0x6500): undefined reference to cvPutText'
CarMotionTwoLines-HSV.cpp:(.text+0x6654): undefined reference to
cvPutText'
CarMotionTwoLines-HSV.cpp:(.text+0x6844): undefined reference to cvRectangle'
CarMotionTwoLines-HSV.cpp:(.text+0x69cc): undefined reference to
cvInitFont'
CarMotionTwoLines-HSV.cpp:(.text+0x6af4): undefined reference to cvPutText'
CarMotionTwoLines-HSV.cpp:(.text+0x6c4c): undefined reference to
cvPutText'
CarMotionTwoLines-HSV.cpp:(.text+0x6e7c): undefined reference to cvRectangle'
CarMotionTwoLines-HSV.cpp:(.text+0x706c): undefined reference to
cvRectangle'
/tmp/cclicE4h.o: In function idTrackCarPersonOneLine(_IplImage*, int**, std::_Rb_tree_const_iterator<std::pair<unsigned int const, cvb::CvBlob*> >, std::_Rb_tree_const_iterator<std::pair<unsigned int const, cvb::CvTrack*> >, int, double, double, CvFont, char*, int**, int**, int&, int&, int*, int*, int*, int*, int*, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int**)':
CarMotionTwoLines-HSV.cpp:(.text+0x767c): undefined reference to
cvDistanceLinePoint'
CarMotionTwoLines-HSV.cpp:(.text+0x77f4): undefined reference to cvInitFont'
CarMotionTwoLines-HSV.cpp:(.text+0x791c): undefined reference to
cvPutText'
CarMotionTwoLines-HSV.cpp:(.text+0x7a74): undefined reference to cvPutText'
CarMotionTwoLines-HSV.cpp:(.text+0x7cb8): undefined reference to
cvRectangle'
CarMotionTwoLines-HSV.cpp:(.text+0x7ea8): undefined reference to cvRectangle'
CarMotionTwoLines-HSV.cpp:(.text+0x7ff4): undefined reference to
cvDistanceLinePoint'
CarMotionTwoLines-HSV.cpp:(.text+0x8424): undefined reference to cvRectangle'
CarMotionTwoLines-HSV.cpp:(.text+0x8448): undefined reference to
cvInitFont'
CarMotionTwoLines-HSV.cpp:(.text+0x85b0): undefined reference to cvPutText'
CarMotionTwoLines-HSV.cpp:(.text+0x87e0): undefined reference to
cvRectangle'
CarMotionTwoLines-HSV.cpp:(.text+0x88fc): undefined reference to cvDistanceLinePoint'
CarMotionTwoLines-HSV.cpp:(.text+0x900c): undefined reference to
cvRectangle'
CarMotionTwoLines-HSV.cpp:(.text+0x9030): undefined reference to cvInitFont'
CarMotionTwoLines-HSV.cpp:(.text+0x9198): undefined reference to
cvPutText'
CarMotionTwoLines-HSV.cpp:(.text+0x92ec): undefined reference to cvPutText'
CarMotionTwoLines-HSV.cpp:(.text+0x94dc): undefined reference to
cvRectangle'
CarMotionTwoLines-HSV.cpp:(.text+0x95f8): undefined reference to cvDistanceLinePoint'
CarMotionTwoLines-HSV.cpp:(.text+0x9784): undefined reference to
cvInitFont'
CarMotionTwoLines-HSV.cpp:(.text+0x98ac): undefined reference to cvPutText'
CarMotionTwoLines-HSV.cpp:(.text+0x9a04): undefined reference to
cvPutText'
CarMotionTwoLines-HSV.cpp:(.text+0x9c34): undefined reference to cvRectangle'
CarMotionTwoLines-HSV.cpp:(.text+0x9e24): undefined reference to
cvRectangle'
CarMotionTwoLines-HSV.cpp:(.text+0x9f40): undefined reference to cvDistanceLinePoint'
/tmp/cclicE4h.o: In function
getTime(CvCapture, int&, int&, int&, int&)':
CarMotionTwoLines-HSV.cpp:(.text+0xa2a0): undefined reference to cvGetCaptureProperty'
CarMotionTwoLines-HSV.cpp:(.text+0xa2b4): undefined reference to
cvGetCaptureProperty'
CarMotionTwoLines-HSV.cpp:(.text+0xa2e0): undefined reference to cvGetCaptureProperty'
CarMotionTwoLines-HSV.cpp:(.text+0xa2f4): undefined reference to
cvGetCaptureProperty'
CarMotionTwoLines-HSV.cpp:(.text+0xa344): undefined reference to cvGetCaptureProperty'
/tmp/cclicE4h.o:CarMotionTwoLines-HSV.cpp:(.text+0xa358): more undefined references to
cvGetCaptureProperty' follow
/tmp/cclicE4h.o: In function initialization(_IplImage*, CarVideoHandler)':
CarMotionTwoLines-HSV.cpp:(.text+0xa980): undefined reference to
cvCreateImage'
CarMotionTwoLines-HSV.cpp:(.text+0xaa70): undefined reference to cvCreateImage'
CarMotionTwoLines-HSV.cpp:(.text+0xab10): undefined reference to
cvCreateImage'
CarMotionTwoLines-HSV.cpp:(.text+0xab34): undefined reference to cvCreateImage'
CarMotionTwoLines-HSV.cpp:(.text+0xab58): undefined reference to
cvCreateImage'
/tmp/cclicE4h.o:CarMotionTwoLines-HSV.cpp:(.text+0xab7c): more undefined references to cvCreateImage' follow
/tmp/cclicE4h.o: In function
initialization(_IplImage, CarVideoHandler)':
CarMotionTwoLines-HSV.cpp:(.text+0xad70): undefined reference to cvCreateVideoWriter'
CarMotionTwoLines-HSV.cpp:(.text+0xb1e8): undefined reference to
cvCreateMemStorage'
CarMotionTwoLines-HSV.cpp:(.text+0xb5b0): undefined reference to cvCreateStructuringElementEx'
CarMotionTwoLines-HSV.cpp:(.text+0xb604): undefined reference to
cvCreateStructuringElementEx'
CarMotionTwoLines-HSV.cpp:(.text+0xb78c): undefined reference to cvGetTickCount'
/tmp/cclicE4h.o: In function
motionAlgorithm(_IplImage, CarVideoHandler)':
CarMotionTwoLines-HSV.cpp:(.text+0xb888): undefined reference to cvGetTickCount'
CarMotionTwoLines-HSV.cpp:(.text+0xb8d4): undefined reference to
cvGetTickCount'
CarMotionTwoLines-HSV.cpp:(.text+0xb910): undefined reference to cvGetTickFrequency'
CarMotionTwoLines-HSV.cpp:(.text+0xb93c): undefined reference to
cvGetTickFrequency'
CarMotionTwoLines-HSV.cpp:(.text+0xbb78): undefined reference to cvReleaseVideoWriter'
CarMotionTwoLines-HSV.cpp:(.text+0xbb90): undefined reference to
cvDestroyWindow'
CarMotionTwoLines-HSV.cpp:(.text+0xbc24): undefined reference to cvGetTickCount'
CarMotionTwoLines-HSV.cpp:(.text+0xbc60): undefined reference to
cvGetTickFrequency'
CarMotionTwoLines-HSV.cpp:(.text+0xbca8): undefined reference to cvCvtColor'
CarMotionTwoLines-HSV.cpp:(.text+0xbce4): undefined reference to
cvSmooth'
CarMotionTwoLines-HSV.cpp:(.text+0xbce8): undefined reference to cvGetTickCount'
CarMotionTwoLines-HSV.cpp:(.text+0xbd38): undefined reference to
cvCopy'
CarMotionTwoLines-HSV.cpp:(.text+0xbd58): undefined reference to cvCloneImage'
CarMotionTwoLines-HSV.cpp:(.text+0xbd78): undefined reference to
cvCloneImage'
CarMotionTwoLines-HSV.cpp:(.text+0xbdac): undefined reference to cvConvertScale'
CarMotionTwoLines-HSV.cpp:(.text+0xbe28): undefined reference to
cvRunningAvg'
CarMotionTwoLines-HSV.cpp:(.text+0xbe4c): undefined reference to cvConvertScale'
CarMotionTwoLines-HSV.cpp:(.text+0xbe74): undefined reference to
cvAbsDiff'
CarMotionTwoLines-HSV.cpp:(.text+0xbe94): undefined reference to cvCopy'
CarMotionTwoLines-HSV.cpp:(.text+0xbe98): undefined reference to
cvGetTickCount'
CarMotionTwoLines-HSV.cpp:(.text+0xbed4): undefined reference to cvGetTickFrequency'
CarMotionTwoLines-HSV.cpp:(.text+0xbf00): undefined reference to
cvGetTickCount'
CarMotionTwoLines-HSV.cpp:(.text+0xbf5c): undefined reference to cvThreshold'
CarMotionTwoLines-HSV.cpp:(.text+0xbf60): undefined reference to
cvGetTickCount'
CarMotionTwoLines-HSV.cpp:(.text+0xbf9c): undefined reference to cvGetTickFrequency'
CarMotionTwoLines-HSV.cpp:(.text+0xbfc8): undefined reference to
cvGetTickCount'
CarMotionTwoLines-HSV.cpp:(.text+0xc010): undefined reference to cvDilate'
CarMotionTwoLines-HSV.cpp:(.text+0xc034): undefined reference to
cvErode'
CarMotionTwoLines-HSV.cpp:(.text+0xc038): undefined reference to cvGetTickCount'
CarMotionTwoLines-HSV.cpp:(.text+0xc074): undefined reference to
cvGetTickFrequency'
CarMotionTwoLines-HSV.cpp:(.text+0xc0a0): undefined reference to cvGetTickCount'
CarMotionTwoLines-HSV.cpp:(.text+0xc0e8): undefined reference to
cvGetSize'
CarMotionTwoLines-HSV.cpp:(.text+0xc0fc): undefined reference to cvCreateImage'
CarMotionTwoLines-HSV.cpp:(.text+0xc120): undefined reference to
cvLabel'
CarMotionTwoLines-HSV.cpp:(.text+0xc14c): undefined reference to cvFilterByArea'
CarMotionTwoLines-HSV.cpp:(.text+0xc174): undefined reference to
cvUpdateTracks'
CarMotionTwoLines-HSV.cpp:(.text+0xc178): undefined reference to cvGetTickCount'
CarMotionTwoLines-HSV.cpp:(.text+0xc1b4): undefined reference to
cvGetTickFrequency'
CarMotionTwoLines-HSV.cpp:(.text+0xc1e0): undefined reference to cvGetTickCount'
CarMotionTwoLines-HSV.cpp:(.text+0xc3d4): undefined reference to
cvLine'
CarMotionTwoLines-HSV.cpp:(.text+0xc4ec): undefined reference to cvLine'
CarMotionTwoLines-HSV.cpp:(.text+0xc888): undefined reference to
cvInitFont'
CarMotionTwoLines-HSV.cpp:(.text+0xc958): undefined reference to cvPutText'
CarMotionTwoLines-HSV.cpp:(.text+0xca28): undefined reference to
cvPutText'
CarMotionTwoLines-HSV.cpp:(.text+0xcaf8): undefined reference to cvPutText'
CarMotionTwoLines-HSV.cpp:(.text+0xcc20): undefined reference to
cvLine'
CarMotionTwoLines-HSV.cpp:(.text+0xcd30): undefined reference to cvShowImage'
CarMotionTwoLines-HSV.cpp:(.text+0xcd38): undefined reference to
cvWaitKey'
CarMotionTwoLines-HSV.cpp:(.text+0xcd84): undefined reference to cvWriteFrame'
CarMotionTwoLines-HSV.cpp:(.text+0xcd90): undefined reference to
cvReleaseImage'
CarMotionTwoLines-HSV.cpp:(.text+0xcd9c): undefined reference to cvGetTickCount'
CarMotionTwoLines-HSV.cpp:(.text+0xcdd8): undefined reference to
cvGetTickFrequency'
CarMotionTwoLines-HSV.cpp:(.text+0xce04): undefined reference to cvGetTickCount'
CarMotionTwoLines-HSV.cpp:(.text+0xce40): undefined reference to
cvGetTickCount'
CarMotionTwoLines-HSV.cpp:(.text+0xce7c): undefined reference to cvGetTickFrequency'
/tmp/cclicE4h.o: In function
finish()':
CarMotionTwoLines-HSV.cpp:(.text+0xcf30): undefined reference to cvReleaseImage'
CarMotionTwoLines-HSV.cpp:(.text+0xcf38): undefined reference to
cvReleaseImage'
CarMotionTwoLines-HSV.cpp:(.text+0xcf40): undefined reference to cvReleaseImage'
CarMotionTwoLines-HSV.cpp:(.text+0xcf48): undefined reference to
cvReleaseImage'
CarMotionTwoLines-HSV.cpp:(.text+0xcf58): undefined reference to cvReleaseStructuringElement'
CarMotionTwoLines-HSV.cpp:(.text+0xcf60): undefined reference to
cvReleaseStructuringElement'
/tmp/cclicE4h.o: In function main':
CarMotionTwoLines-HSV.cpp:(.text+0xd33c): undefined reference to
cvCreateFileCapture'
CarMotionTwoLines-HSV.cpp:(.text+0xd360): undefined reference to cvQueryFrame'
CarMotionTwoLines-HSV.cpp:(.text+0xd3c0): undefined reference to
cvQueryFrame'
collect2: ld returned 1 exit status