Skip to content

ArchLinux build problem #8

Description

@osouza-de

While trying to build the following errors appears:

/home/d4nd/Dev/KinectTouch/src/KinectTouch.cpp:143:24: error: 'namedWindow' was not declared in this scope namedWindow(windowName); ^ /home/d4nd/Dev/KinectTouch/src/KinectTouch.cpp:144:47: error: 'createTrackbar' was not declared in this scope createTrackbar("xMin", windowName, &xMin, 640); ^ /home/d4nd/Dev/KinectTouch/src/KinectTouch.cpp:157:26: error: 'waitKey' was not declared in this scope while ( (char) waitKey(1) != (char) 27 ) { ^ /home/d4nd/Dev/KinectTouch/src/KinectTouch.cpp:184:93: error: 'findContours' was not declared in this scope findContours(touchRoi, contours, CV_RETR_LIST, CV_CHAIN_APPROX_SIMPLE, Point2i(xMin, yMin)); ^ /home/d4nd/Dev/KinectTouch/src/KinectTouch.cpp:188:31: error: 'contourArea' was not declared in this scope if ( contourArea(contourMat) > touchMinArea ) { ^ /home/d4nd/Dev/KinectTouch/src/KinectTouch.cpp:219:38: error: 'cvtColor' was not declared in this scope cvtColor(depth8, debug, CV_GRAY2BGR); ^ /home/d4nd/Dev/KinectTouch/src/KinectTouch.cpp:221:39: error: 'rectangle' was not declared in this scope rectangle(debug, roi, debugColor1, 2); // surface boundaries ^ /home/d4nd/Dev/KinectTouch/src/KinectTouch.cpp:223:59: error: 'circle' was not declared in this scope circle(debug, touchPoints[i], 5, debugColor2, CV_FILLED); ^ /home/d4nd/Dev/KinectTouch/src/KinectTouch.cpp:227:27: error: 'imshow' was not declared in this scope imshow(windowName, debug); ^ make[2]: *** [CMakeFiles/KinectTouch.dir/build.make:63: CMakeFiles/KinectTouch.dir/src/KinectTouch.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/KinectTouch.dir/all] Error 2 make: *** [Makefile:84: all] Error 2

uname -a

Linux b14ck_arch 4.9.11-1-ARCH #1 SMP PREEMPT Sun Feb 19 13:45:52 UTC 2017 x86_64 GNU/Linux

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions