-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
I encountered this issue on Ubuntu 18.04 64 bits when building the project after having configured and generated it from cmake-gui:
3rdparty/cvblob/CMakeFiles/cvblob.dir/build.make:62: recipe for target '3rdparty/cvblob/CMakeFiles/cvblob.dir/cvblob.o' failed
make[2]: *** [3rdparty/cvblob/CMakeFiles/cvblob.dir/cvblob.o] Error 1
CMakeFiles/Makefile2:122: recipe for target '3rdparty/cvblob/CMakeFiles/cvblob.dir/all' failed
make[1]: *** [3rdparty/cvblob/CMakeFiles/cvblob.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2
The very first lines of (many) errors look like:
$ make
[ 0%] Building CXX object 3rdparty/cvblob/CMakeFiles/cvblob.dir/cvblob.o
In file included from /opt/3DTK/3rdparty/cvblob/cvblob.cpp:34:0:
/opt/3DTK/3rdparty/cvblob/cvblob.h:119:5: error: ‘CvPoint’ does not name a type
CvPoint startingPoint; ///< Point where contour begin.
^~~~~~~
/opt/3DTK/3rdparty/cvblob/cvblob.h:126:23: error: ‘CvPoint’ was not declared in this scope
typedef std::vector<CvPoint> CvContourPolygon;
^~~~~~~
/opt/3DTK/3rdparty/cvblob/cvblob.h:126:30: error: template argument 1 is invalid
typedef std::vector<CvPoint> CvContourPolygon;
^
/opt/3DTK/3rdparty/cvblob/cvblob.h:126:30: error: template argument 2 is invalid
In file included from /opt/3DTK/3rdparty/cvblob/cvblob.cpp:34:0:
/opt/3DTK/3rdparty/cvblob/cvblob.h:134:68: error: ‘IplImage’ has not been declared
void cvRenderContourChainCode(CvContourChainCode const *contour, IplImage const *img, CvScalar const &color=CV_RGB(255, 255, 255));
^~~~~~~~
/opt/3DTK/3rdparty/cvblob/cvblob.h:134:89: error: ‘CvScalar’ has not been declared
Infos:
gcc version 7.3.0
cmake version 3.13.20181205
Metadata
Metadata
Assignees
Labels
No labels