What opencv version above 2.4.13.6 or 3.00 that can build 32 bit libs with cuda,
I want to build 32bit version of opencv with cuda above opencv3.00,
.
i tried cuda 6.5 with opencv 3.4.0 but errors happend with "cudaarithm cudaimgproc cudaobjdetect cudawarping cudev",
.
i used windows 7 32bit with nvidia geforce gtx 650 ti
↧
What opencv version above 2.4.13.6 or 3.00 that can build 32 bit libs with cuda
↧
opencv_contrib in opencvjs
Has anyone managed to build the opencv_contrib modules into opencvjs? If so, could you tell me how you did it?
↧
↧
draw detections when blobFromImages is used
Hello,
I was testing OpenCV face detection using a pre-trained model:
(h, w) = image.shape[:2]
net = cv2.dnn.readNetFromCaffe("deploy.prototxt.txt", "res10_300x300_ssd_iter_140000_fp16.caffemodel")
blob = cv2.dnn.blobFromImage(image, 1.0, (300, 300), [104., 117., 123.], False, False)
net.setInput(blob)
detections = net.forward()
for i in range(0, detections.shape[2]):
confidence = detections[0, 0, i, 2]
if confidence > 0.7:
box = detections[0, 0, i, 3:7] * np.array([w, h, w, h])
(startX, startY, endX, endY) = box.astype("int")
text = "{:.2f}%".format(confidence * 100)
y = startY - 10 if startY - 10 > 10 else startY + 10
cv2.rectangle(image, (startX, startY), (endX, endY), (0, 0, 255), 2)
cv2.putText(image, text, (startX, y), cv2.FONT_HERSHEY_SIMPLEX, 0.45, (0, 0, 255), 2)
This example is working ok. But I don't now how to modify the code above in order to draw the detections if two images are used instead of only one:
blob2 = cv2.dnn.blobFromImages(images, 1.0, (300, 300), [104., 117., 123.], False, False)
net.setInput(blob2)
detections = net.forward()
How to draw the detections?
Thanks in advanced
↧
Using Harris Corner Detector on video
I am trying to use Harris Corner Detector on video based on the example given [here](https://docs.opencv.org/3.1.0/d4/d7d/tutorial_harris_detector.html). Here is my code:
#include "opencv2/highgui.hpp"
#include "opencv2/imgproc.hpp"
#include
#include
cv::Mat src, src_gray;
cv::Mat dst_norm, dst_norm_scaled;
void harris_corner(int thresh, void*)
{
int block_size = 2;
int aperture_size = 3;
double k = 0.04;
cv::Mat dst = cv::Mat::zeros(src.size(), CV_32FC1);
//cv::Mat dst_norm;
cv::cornerHarris(src_gray, dst, block_size, aperture_size, k);
cv::normalize(dst, dst_norm, 0, 255, cv::NORM_MINMAX, CV_32FC1, cv::Mat());
//cv::convertScaleAbs(dst_norm, dst_norm_scaled);
//cv::imshow("Result", dst_norm_scaled);
return;
}
int main()
{
cv::VideoCapture cap(0);
const std::string win0 = "Source Video";
//const std::string win1 = "Harris Corner Detector";
if(!cap.isOpened())
{
std::cout << "Error with the video source\n";
}
cv::namedWindow(win0);
int thresh = 230;
int max_thresh = 255;
cv::createTrackbar("Threshold: ", win0, &thresh, max_thresh, harris_corner);
while(1)
{
cap >> src;
//cv::imshow(win0, src);
cv::cvtColor(src, src_gray, cv::COLOR_BGR2GRAY);
harris_corner(thresh, 0);
for(int i = 0; i < dst_norm.rows; i++)
{
for(int j = 0; j < dst_norm.cols; j++)
{
if((int) dst_norm.at(i, j) > thresh)
{
cv::circle(src, cv::Point(j, i), 3, cv::Scalar(0, 0, 255), 2, 8, 0);
}
}
}
cv::imshow(win0, src);
if(cv::waitKey(10) == 27)
{
break;
}
}
return 0;
}
If I keep the variable `thresh` at a high value and if the scene does not change, the code gives decent performance as shown in image below:
However, if I change the scene (or move the camera) or reduce the `thresh`, the video display gets stuck or goes completely red as shown below:
I believe that this is an issue with the speed of the code, especially this part:
for(int i = 0; i < dst_norm.rows; i++)
{
for(int j = 0; j < dst_norm.cols; j++)
{
if((int) dst_norm.at(i, j) > thresh)
{
cv::circle(src, cv::Point(j, i), 3, cv::Scalar(0, 0, 255), 2, 8, 0);
}
}
}
How can I optimize the code and resolve this issue? Are there any other errors in the code preventing the Harris Corner Detector from working properly?
↧
Problem with generating point cloud from calibrated images
Hello,
i have a problem with generating a point cloud.
I have used the opencv Examplecode from [github](https://github.com/opencv/opencv/blob/master/samples/python/stereo_match.py) with some modifications.
And i have used this two pics:
**Left picture:**

**Right picture:**

The generated point cloud from lidarview is:
 Can anybody help me and tell me what i am doing wrong? Do you ne any additional information? Best regards Dominik
↧
↧
OpenCV (java) : autocapture image in onCameraFrame()
I am working on OpenCV CameraBridgeViewBase in android. so when application started and onCameraFrame called than image is auto captured so i don't know how to auto-capture because onCameraFrame is continuous called so when i trying to save bitmap on rectangle detection it's take some delay like 20 to 30 second. i want image capture when rectangle detected. Here is my code.
public Mat onCameraFrame(CvCameraViewFrame inputFrame) {
final Mat imgSource = inputFrame.rgba();
rotateandscalebitmap = Bitmap.createBitmap(imgSource.cols(), imgSource.rows(), Bitmap.Config.ARGB_8888);
Utils.matToBitmap(imgSource, rotateandscalebitmap);
Mat imageHSV = new Mat(imgSource.size(), CvType.CV_8UC4);
Mat imageBlurr = new Mat(imgSource.size(), CvType.CV_8UC4);
Mat imageA = new Mat(imgSource.size(), CvType.CV_32F);
Imgproc.cvtColor(imgSource, imageHSV, Imgproc.COLOR_BGR2GRAY);
Imgproc.GaussianBlur(imageHSV, imageBlurr, new Size(5, 5), 0);
Imgproc.adaptiveThreshold(imageBlurr, imageA, 255, Imgproc.ADAPTIVE_THRESH_MEAN_C, Imgproc.THRESH_BINARY_INV, 7, 5);
List contours = new ArrayList();
Imgproc.findContours(imageA, contours, new Mat(), Imgproc.RETR_LIST, Imgproc.CHAIN_APPROX_SIMPLE);
Vector rectangles = new Vector();
Rect rect = null;
for (int i = 0; i < contours.size(); i++)
{
if (Imgproc.contourArea(contours.get(i)) > 50) {
rect = Imgproc.boundingRect(contours.get(i));
if ((rect.height > 30 && rect.height < 400) && (rect.width > 400 && rect.width < 800)) {
Rect rec = new Rect(rect.x, rect.y, rect.width, rect.height);
rectangles.add(new Mat(imgSource, rec));
Imgproc.rectangle(imgSource, new Point(rect.x, rect.y), new Point(rect.x + rect.width, rect.y + rect.height), new Scalar(0, 255, 0), 4);
// Imgproc.findContours(imageA, contours, new Mat(), Imgproc.RETR_EXTERNAL,Imgproc.CHAIN_APPROX_SIMPLE);
}
}
}
return imgSource;
}
↧
How to solve the problem on C2056 undeclared identifier
I having problem with this
void colortrackbar() {
namedWindow("Color", CV_WINDOW_AUTOSIZE);
cvCreateTrackbar("Blue", "Color", 0, 1, bluecolor_callback);
cvCreateTrackbar("Green", "Color", 0, 1);
cvCreateTrackbar("Red", "Color", 0, 1);
}
void bluecolor_callback(int position) {
if (position == 0) {
int H_MIN = 0;
int H_MAX = 255;
int S_MIN = 0;
int S_MAX = 255;
int V_MIN = 0;
int V_MAX = 255;
}
else {
int H_MIN = 0;
int H_MAX = 255;
int S_MIN = 110;
int S_MAX = 255;
int V_MIN = 148;
int V_MAX = 255;
}
and having error
C2065 "bluecolor_callback" : undeclared identifier
and I don't know how to solve the problem. Please help me, thank you.
↧
Object detection and counting
Hi there. I want to count the bars in the attached image.
The bars section isn't exactly circle and not same color.
Image:

please help me what algorithm should I use for best performance and best precision?
1. Feature extraction, learning and object detection methods like hog, cascade, sift, surf?
2. Deep learning?
3. Circle detection like houghtransform?
4. Any other idea???
Thanks
↧
Problem with Opencv tutorials and Opencv-Python tutorials
If you are a beginer in opencv and you know python I think that when you read this [page](https://docs.opencv.org/trunk/index.html) you choose page [Opencv-Python tutorials](https://docs.opencv.org/trunk/d6/d00/tutorial_py_root.html).
But How do you guess that you can find python tutorials in [opencv tutorials](https://docs.opencv.org/trunk/d9/df8/tutorial_root.html) pages too ?
example :
https://docs.opencv.org/trunk/d3/d96/tutorial_basic_geometric_drawing.html
https://docs.opencv.org/trunk/dc/dd3/tutorial_gausian_median_blur_bilateral_filter.html
full list for imgproc is on [this page](https://docs.opencv.org/trunk/d7/da8/tutorial_table_of_content_imgproc.html)
Have you got an idea to add a note in openv page ?
I think a link is missing for java too
↧
↧
How to make a blur image into only several colors averagely?
I want to make a blur image into only several colors averagely.
For instance, make this photo

into ---->

Is there an operation in opencv-python to realize such effect?
I tried a lot ways as `medianBlur()` and division, but fails.
↧
Convert Image Points to Azimuth and Elevation
I'm tracking objects in an image and I want to record each point, but I want to use world coordinates instead of image coordinates specifically azimuth and elevation. The two values need to be represented in degrees and scaled to 32-bit integers.
##Two questions:
**What is the proper transform to use and what are the parameters?** I can fake the camera intrinsics just to get something working, but I'm not sure that I have enough information.
**Does OpenCV have this capability built in?** This seems like a common problem and I would think OpenCV or Numpy would have methods to solve this problem I'm just unfamiliar with them.
↧
Problem with Opencv tutorials and Opencv-Python tutorials
If you are a beginer in opencv and you know python I think that when you read this [page](https://docs.opencv.org/trunk/index.html) you choose page [Opencv-Python tutorials](https://docs.opencv.org/trunk/d6/d00/tutorial_py_root.html).
But How do you guess that you can find python tutorials in [opencv tutorials](https://docs.opencv.org/trunk/d9/df8/tutorial_root.html) pages too ?
example :
https://docs.opencv.org/trunk/d3/d96/tutorial_basic_geometric_drawing.html
https://docs.opencv.org/trunk/dc/dd3/tutorial_gausian_median_blur_bilateral_filter.html
full list for imgproc is on [this page](https://docs.opencv.org/trunk/d7/da8/tutorial_table_of_content_imgproc.html)
Have you got an idea to add a note in openv page ?
I think a link is missing for java too
↧
function "drawKeypoints" do not work in openCV 4.0.1
I want to use the drawKeypoints function in openCV 4.0.1, but Python writes an error:
AttributeError: module 'cv2.cv2' has no attribute 'drawKeypoints'
Maybe the latest version of openCV uses a different function, tell me if you know. Yes, in extreme cases, you can use version 2.4 in which this function is present, but I would like to use the latest version
↧
↧
[Ubuntu 18.04 Opencv 4.0 and 3.4] cross-compile opencv for arm : c++: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’?
Dear All,
I am trying to cross-compile opencv 4.0/3.4 for a [Tinker Board - ARM-based processor — the Rockchip RK3288](https://www.asus.com/us/Single-Board-Computer/Tinker-Board/)
I am using Ubuntu 18.04 as host machine.
I pretty much followed everything mentioned [here](https://docs.opencv.org/3.4/d0/d76/tutorial_arm_crosscompile_with_cmake.html).
But when I try the cmake using below:
mike@mike-laptop:~/opencv-3.4.5/build$ cmake -DCMAKE_TOOLCHAIN_FILE=../platforms/linux/arm-gnueabi.toolchain.cmake ../
I am getting the below error:
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /usr/bin/c++
Build flags: -mthumb;;-fdata-sections;-Wa,--noexecstack;-fsigned-char;-Wno-psabi
Id flags:
The output was:
1
c++: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’?
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /usr/bin/c++
Build flags: -mthumb;;-fdata-sections;-Wa,--noexecstack;-fsigned-char;-Wno-psabi
Id flags: -c
The output was:
1
c++: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’?
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /usr/bin/c++
Build flags: -mthumb;;-fdata-sections;-Wa,--noexecstack;-fsigned-char;-Wno-psabi
Id flags: --c++
The output was:
1
c++: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’?
c++: error: unrecognized command line option ‘--c++’
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /usr/bin/c++
Build flags: -mthumb;;-fdata-sections;-Wa,--noexecstack;-fsigned-char;-Wno-psabi
Id flags: --ec++
The output was:
1
c++: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’?
c++: error: unrecognized command line option ‘--ec++’; did you mean ‘-Weffc++’?
Determining if the CXX compiler works failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_f472c/fast"
/usr/bin/make -f CMakeFiles/cmTC_f472c.dir/build.make CMakeFiles/cmTC_f472c.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_f472c.dir/testCXXCompiler.cxx.o
/usr/bin/c++ -mthumb -fdata-sections -Wa,--noexecstack -fsigned-char -Wno-psabi -fPIE -o CMakeFiles/cmTC_f472c.dir/testCXXCompiler.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
c++: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’?
CMakeFiles/cmTC_f472c.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_f472c.dir/testCXXCompiler.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_f472c.dir/testCXXCompiler.cxx.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_f472c/fast' failed
make: *** [cmTC_f472c/fast] Error 2
Build output check failed:
Regex: 'command line option .* is valid for .* but not for C\+\+'
Output line: 'cc1plus: warning: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_9360b/fast"
/usr/bin/make -f CMakeFiles/cmTC_9360b.dir/build.make CMakeFiles/cmTC_9360b.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_9360b.dir/src.cxx.o
/usr/bin/c++ -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -std=c++11 -o CMakeFiles/cmTC_9360b.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
cc1plus: warning: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
Linking CXX executable cmTC_9360b
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9360b.dir/link.txt --verbose=1
/usr/bin/c++ -O3 -DNDEBUG CMakeFiles/cmTC_9360b.dir/src.cxx.o -o cmTC_9360b
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'command line option .* is valid for .* but not for C\+\+'
Output line: 'cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wstrict-prototypes'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_d514d/fast"
/usr/bin/make -f CMakeFiles/cmTC_d514d.dir/build.make CMakeFiles/cmTC_d514d.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_d514d.dir/src.cxx.o
/usr/bin/c++ -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wstrict-prototypes -std=c++11 -o CMakeFiles/cmTC_d514d.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
Linking CXX executable cmTC_d514d
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d514d.dir/link.txt --verbose=1
/usr/bin/c++ -O3 -DNDEBUG CMakeFiles/cmTC_d514d.dir/src.cxx.o -o cmTC_d514d
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'command line option .* is valid for .* but not for C'
Output line: 'cc1: warning: command line option ‘-Wsign-promo’ is valid for C++/ObjC++ but not for C'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c'
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_98e9c/fast"
/usr/bin/make -f CMakeFiles/cmTC_98e9c.dir/build.make CMakeFiles/cmTC_98e9c.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_98e9c.dir/src.c.o
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -o CMakeFiles/cmTC_98e9c.dir/src.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ‘-Wsign-promo’ is valid for C++/ObjC++ but not for C
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
Linking C executable cmTC_98e9c
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_98e9c.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG CMakeFiles/cmTC_98e9c.dir/src.c.o -o cmTC_98e9c
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'command line option .* is valid for .* but not for C'
Output line: 'cc1: warning: command line option ‘-Wsuggest-override’ is valid for C++/ObjC++ but not for C'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c'
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wsuggest-override'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_acfb8/fast"
/usr/bin/make -f CMakeFiles/cmTC_acfb8.dir/build.make CMakeFiles/cmTC_acfb8.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_acfb8.dir/src.c.o
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wsuggest-override -o CMakeFiles/cmTC_acfb8.dir/src.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ‘-Wsuggest-override’ is valid for C++/ObjC++ but not for C
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
Linking C executable cmTC_acfb8
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_acfb8.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG CMakeFiles/cmTC_acfb8.dir/src.c.o -o cmTC_acfb8
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'command line option .* is valid for .* but not for C'
Output line: 'cc1: warning: command line option ‘-Wno-delete-non-virtual-dtor’ is valid for C++/ObjC++ but not for C'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c'
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_c0389/fast"
/usr/bin/make -f CMakeFiles/cmTC_c0389.dir/build.make CMakeFiles/cmTC_c0389.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_c0389.dir/src.c.o
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -o CMakeFiles/cmTC_c0389.dir/src.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ‘-Wno-delete-non-virtual-dtor’ is valid for C++/ObjC++ but not for C
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
Linking C executable cmTC_c0389
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c0389.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG CMakeFiles/cmTC_c0389.dir/src.c.o -o cmTC_c0389
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'unrecognized .*option'
Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-unnamed-type-template-args’'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_87e1f/fast"
/usr/bin/make -f CMakeFiles/cmTC_87e1f.dir/build.make CMakeFiles/cmTC_87e1f.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_87e1f.dir/src.cxx.o
/usr/bin/c++ -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -std=c++11 -o CMakeFiles/cmTC_87e1f.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
cc1plus: warning: unrecognized command line option ‘-Wno-unnamed-type-template-args’
Linking CXX executable cmTC_87e1f
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_87e1f.dir/link.txt --verbose=1
/usr/bin/c++ -O3 -DNDEBUG CMakeFiles/cmTC_87e1f.dir/src.cxx.o -o cmTC_87e1f
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'unrecognized .*option'
Output line: 'cc1: warning: unrecognized command line option ‘-Wno-unnamed-type-template-args’'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c'
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-unnamed-type-template-args'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_81b23/fast"
/usr/bin/make -f CMakeFiles/cmTC_81b23.dir/build.make CMakeFiles/cmTC_81b23.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_81b23.dir/src.c.o
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-unnamed-type-template-args -o CMakeFiles/cmTC_81b23.dir/src.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
cc1: warning: unrecognized command line option ‘-Wno-unnamed-type-template-args’
Linking C executable cmTC_81b23
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_81b23.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG CMakeFiles/cmTC_81b23.dir/src.c.o -o cmTC_81b23
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -mfpu=vfpv3'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_5992c/fast"
/usr/bin/make -f CMakeFiles/cmTC_5992c.dir/build.make CMakeFiles/cmTC_5992c.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_5992c.dir/src.cxx.o
/usr/bin/c++ -O3 -DNDEBUG -fPIE -mfpu=vfpv3 -std=c++11 -o CMakeFiles/cmTC_5992c.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command line option ‘-mfpu=vfpv3’
CMakeFiles/cmTC_5992c.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_5992c.dir/src.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_5992c.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_5992c/fast' failed
make: *** [cmTC_5992c/fast] Error 2
===== END =====
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_neon.cpp'
check option: ''
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_8b723/fast"
/usr/bin/make -f CMakeFiles/cmTC_8b723.dir/build.make CMakeFiles/cmTC_8b723.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_8b723.dir/cpu_neon.cpp.o
/usr/bin/c++ -O3 -DNDEBUG -fPIE -std=c++11 -o CMakeFiles/cmTC_8b723.dir/cpu_neon.cpp.o -c /home/mike/opencv-4.0.1-arm/cmake/checks/cpu_neon.cpp
/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_neon.cpp:20:2: error: #error "NEON is not supported"
#error "NEON is not supported"
^~~~~
/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_neon.cpp: In function ‘int main()’:
/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_neon.cpp:25:18: error: ‘test’ was not declared in this scope
printf("%d\n", test());
^~~~
CMakeFiles/cmTC_8b723.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_8b723.dir/cpu_neon.cpp.o' failed
make[1]: *** [CMakeFiles/cmTC_8b723.dir/cpu_neon.cpp.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_8b723/fast' failed
make: *** [cmTC_8b723/fast] Error 2
===== END =====
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_neon.cpp'
check option: ' -mfpu=neon'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_44dc3/fast"
/usr/bin/make -f CMakeFiles/cmTC_44dc3.dir/build.make CMakeFiles/cmTC_44dc3.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_44dc3.dir/cpu_neon.cpp.o
/usr/bin/c++ -O3 -DNDEBUG -fPIE -mfpu=neon -std=c++11 -o CMakeFiles/cmTC_44dc3.dir/cpu_neon.cpp.o -c /home/mike/opencv-4.0.1-arm/cmake/checks/cpu_neon.cpp
c++: error: unrecognized command line option ‘-mfpu=neon’
CMakeFiles/cmTC_44dc3.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_44dc3.dir/cpu_neon.cpp.o' failed
make[1]: *** [CMakeFiles/cmTC_44dc3.dir/cpu_neon.cpp.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_44dc3/fast' failed
make: *** [cmTC_44dc3/fast] Error 2
===== END =====
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_fp16.cpp'
check option: ''
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_57e16/fast"
/usr/bin/make -f CMakeFiles/cmTC_57e16.dir/build.make CMakeFiles/cmTC_57e16.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_57e16.dir/cpu_fp16.cpp.o
/usr/bin/c++ -O3 -DNDEBUG -fPIE -std=c++11 -o CMakeFiles/cmTC_57e16.dir/cpu_fp16.cpp.o -c /home/mike/opencv-4.0.1-arm/cmake/checks/cpu_fp16.cpp
/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_fp16.cpp:26:2: error: #error "FP16 is not supported"
#error "FP16 is not supported"
^~~~~
/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_fp16.cpp: In function ‘int main()’:
/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_fp16.cpp:31:18: error: ‘test’ was not declared in this scope
printf("%d\n", test());
^~~~
CMakeFiles/cmTC_57e16.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_57e16.dir/cpu_fp16.cpp.o' failed
make[1]: *** [CMakeFiles/cmTC_57e16.dir/cpu_fp16.cpp.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_57e16/fast' failed
make: *** [cmTC_57e16/fast] Error 2
===== END =====
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_fp16.cpp'
check option: ' -mfpu=neon-fp16'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_b8cfe/fast"
/usr/bin/make -f CMakeFiles/cmTC_b8cfe.dir/build.make CMakeFiles/cmTC_b8cfe.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_b8cfe.dir/cpu_fp16.cpp.o
/usr/bin/c++ -O3 -DNDEBUG -fPIE -mfpu=neon-fp16 -std=c++11 -o CMakeFiles/cmTC_b8cfe.dir/cpu_fp16.cpp.o -c /home/mike/opencv-4.0.1-arm/cmake/checks/cpu_fp16.cpp
c++: error: unrecognized command line option ‘-mfpu=neon-fp16’
CMakeFiles/cmTC_b8cfe.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_b8cfe.dir/cpu_fp16.cpp.o' failed
make[1]: *** [CMakeFiles/cmTC_b8cfe.dir/cpu_fp16.cpp.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_b8cfe/fast' failed
make: *** [cmTC_b8cfe/fast] Error 2
===== END =====
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_cba22/fast"
/usr/bin/make -f CMakeFiles/cmTC_cba22.dir/build.make CMakeFiles/cmTC_cba22.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_cba22.dir/src.cxx.o
/usr/bin/c++ -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -std=c++11 -o CMakeFiles/cmTC_cba22.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command line option ‘-mfp16-format=ieee’
CMakeFiles/cmTC_cba22.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_cba22.dir/src.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_cba22.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_cba22/fast' failed
make: *** [cmTC_cba22/fast] Error 2
===== END =====
Build output check failed:
Regex: 'command line option .* is valid for .* but not for C'
Output line: 'cc1: warning: command line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c'
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -fvisibility-inlines-hidden'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_5b656/fast"
/usr/bin/make -f CMakeFiles/cmTC_5b656.dir/build.make CMakeFiles/cmTC_5b656.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_5b656.dir/src.c.o
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -fvisibility-inlines-hidden -o CMakeFiles/cmTC_5b656.dir/src.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
Linking C executable cmTC_5b656
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5b656.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG CMakeFiles/cmTC_5b656.dir/src.c.o -o cmTC_5b656
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Determining size of off64_t failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_9bd92/fast"
/usr/bin/make -f CMakeFiles/cmTC_9bd92.dir/build.make CMakeFiles/cmTC_9bd92.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_9bd92.dir/OFF64_T.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_9bd92.dir/OFF64_T.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/OFF64_T.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/OFF64_T.c:23:22: error: ‘off64_t’ undeclared here (not in a function); did you mean ‘off_t’?
#define SIZE (sizeof(off64_t))
^
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/OFF64_T.c:25:12: note: in expansion of macro ‘SIZE’
('0' + ((SIZE / 10000)%10)),
^~~~
CMakeFiles/cmTC_9bd92.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_9bd92.dir/OFF64_T.c.o' failed
make[1]: *** [CMakeFiles/cmTC_9bd92.dir/OFF64_T.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_9bd92/fast' failed
make: *** [cmTC_9bd92/fast] Error 2
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/OFF64_T.c:
#include
#include
#include
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__aarch64__)
# define KEY '_','_','a','a','r','c','h','6','4','_','_'
#elif defined(__ARM_ARCH_7A__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
#elif defined(__ARM_ARCH_7S__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
#endif
#define SIZE (sizeof(off64_t))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Build output check failed:
Regex: 'unrecognized .*option'
Output line: 'cc1: warning: unrecognized command line option ‘-Wno-shorten-64-to-32’'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c'
check option: ' -Wno-shorten-64-to-32'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_32afd/fast"
/usr/bin/make -f CMakeFiles/cmTC_32afd.dir/build.make CMakeFiles/cmTC_32afd.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_32afd.dir/src.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -Wno-shorten-64-to-32 -o CMakeFiles/cmTC_32afd.dir/src.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
cc1: warning: unrecognized command line option ‘-Wno-shorten-64-to-32’
Linking C executable cmTC_32afd
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_32afd.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_32afd.dir/src.c.o -o cmTC_32afd
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Determining if the include file io.h exists failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_1b5b1/fast"
/usr/bin/make -f CMakeFiles/cmTC_1b5b1.dir/build.make CMakeFiles/cmTC_1b5b1.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1b5b1.dir/CheckIncludeFile.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_1b5b1.dir/CheckIncludeFile.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: io.h: No such file or directory
#include
^~~~~~
compilation terminated.
CMakeFiles/cmTC_1b5b1.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_1b5b1.dir/CheckIncludeFile.c.o' failed
make[1]: *** [CMakeFiles/cmTC_1b5b1.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_1b5b1/fast' failed
make: *** [cmTC_1b5b1/fast] Error 2
Determining size of INT8 failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_f48f3/fast"
/usr/bin/make -f CMakeFiles/cmTC_f48f3.dir/build.make CMakeFiles/cmTC_f48f3.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f48f3.dir/int8.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_f48f3.dir/int8.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int8.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int8.c:23:22: error: ‘INT8’ undeclared here (not in a function); did you mean ‘INT8_C’?
#define SIZE (sizeof(INT8))
^
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int8.c:25:12: note: in expansion of macro ‘SIZE’
('0' + ((SIZE / 10000)%10)),
^~~~
CMakeFiles/cmTC_f48f3.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_f48f3.dir/int8.c.o' failed
make[1]: *** [CMakeFiles/cmTC_f48f3.dir/int8.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_f48f3/fast' failed
make: *** [cmTC_f48f3/fast] Error 2
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int8.c:
#include
#include
#include
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__aarch64__)
# define KEY '_','_','a','a','r','c','h','6','4','_','_'
#elif defined(__ARM_ARCH_7A__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
#elif defined(__ARM_ARCH_7S__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
#endif
#define SIZE (sizeof(INT8))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Determining size of INT16 failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_8615b/fast"
/usr/bin/make -f CMakeFiles/cmTC_8615b.dir/build.make CMakeFiles/cmTC_8615b.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_8615b.dir/int16.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_8615b.dir/int16.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int16.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int16.c:23:22: error: ‘INT16’ undeclared here (not in a function); did you mean ‘INT16_C’?
#define SIZE (sizeof(INT16))
^
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int16.c:25:12: note: in expansion of macro ‘SIZE’
('0' + ((SIZE / 10000)%10)),
^~~~
CMakeFiles/cmTC_8615b.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_8615b.dir/int16.c.o' failed
make[1]: *** [CMakeFiles/cmTC_8615b.dir/int16.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_8615b/fast' failed
make: *** [cmTC_8615b/fast] Error 2
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int16.c:
#include
#include
#include
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__aarch64__)
# define KEY '_','_','a','a','r','c','h','6','4','_','_'
#elif defined(__ARM_ARCH_7A__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
#elif defined(__ARM_ARCH_7S__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
#endif
#define SIZE (sizeof(INT16))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Determining size of INT32 failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_20348/fast"
/usr/bin/make -f CMakeFiles/cmTC_20348.dir/build.make CMakeFiles/cmTC_20348.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_20348.dir/int32.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_20348.dir/int32.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int32.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int32.c:23:22: error: ‘INT32’ undeclared here (not in a function); did you mean ‘INT32_C’?
#define SIZE (sizeof(INT32))
^
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int32.c:25:12: note: in expansion of macro ‘SIZE’
('0' + ((SIZE / 10000)%10)),
^~~~
CMakeFiles/cmTC_20348.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_20348.dir/int32.c.o' failed
make[1]: *** [CMakeFiles/cmTC_20348.dir/int32.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_20348/fast' failed
make: *** [cmTC_20348/fast] Error 2
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int32.c:
#include
#include
#include
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__aarch64__)
# define KEY '_','_','a','a','r','c','h','6','4','_','_'
#elif defined(__ARM_ARCH_7A__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
#elif defined(__ARM_ARCH_7S__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
#endif
#define SIZE (sizeof(INT32))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Determining if the function setmode exists failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_8b720/fast"
/usr/bin/make -f CMakeFiles/cmTC_8b720.dir/build.make CMakeFiles/cmTC_8b720.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_8b720.dir/CheckFunctionExists.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=setmode -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_8b720.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_8b720
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8b720.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=setmode -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_8b720.dir/CheckFunctionExists.c.o -o cmTC_8b720
CMakeFiles/cmTC_8b720.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup.main+0x6): undefined reference to `setmode'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_8b720.dir/build.make:97: recipe for target 'cmTC_8b720' failed
make[1]: *** [cmTC_8b720] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_8b720/fast' failed
make: *** [cmTC_8b720/fast] Error 2
Build output check failed:
Regex: 'unrecognized .*option'
Output line: 'cc1: warning: unrecognized command line option ‘-Wno-absolute-value’'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c'
check option: ' -Wno-absolute-value'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_883b5/fast"
/usr/bin/make -f CMakeFiles/cmTC_883b5.dir/build.make CMakeFiles/cmTC_883b5.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_883b5.dir/src.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -Wno-implicit-function-declaration -Wno-uninitialized -Wno-missing-prototypes -Wno-unused-but-set-parameter -Wno-missing-declarations -Wno-unused -Wno-shadow -Wno-sign-compare -Wno-strict-overflow -Wno-pointer-compare -O3 -DNDEBUG -fPIE -Wno-absolute-value -o CMakeFiles/cmTC_883b5.dir/src.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
cc1: warning: unrecognized command line option ‘-Wno-absolute-value’
Linking C executable cmTC_883b5
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_883b5.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -Wno-implicit-function-declaration -Wno-uninitialized -Wno-missing-prototypes -Wno-unused-but-set-parameter -Wno-missing-declarations -Wno-unused -Wno-shadow -Wno-sign-compare -Wno-strict-overflow -Wno-pointer-compare -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_883b5.dir/src.c.o -o cmTC_883b5
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'unrecognized .*option'
Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -Wno-inconsistent-missing-override'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_7e461/fast"
/usr/bin/make -f CMakeFiles/cmTC_7e461.dir/build.make CMakeFiles/cmTC_7e461.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_7e461.dir/src.cxx.o
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wsign-promo -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-deprecated -Wno-suggest-override -O3 -DNDEBUG -fPIE -Wno-inconsistent-missing-override -std=c++11 -o CMakeFiles/cmTC_7e461.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’
Linking CXX executable cmTC_7e461
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7e461.dir/link.txt --verbose=1
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wsign-promo -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-deprecated -Wno-suggest-override -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_7e461.dir/src.cxx.o -o cmTC_7e461
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Determining if the include file sys/videoio.h exists failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_4e9ae/fast"
/usr/bin/make -f CMakeFiles/cmTC_4e9ae.dir/build.make CMakeFiles/cmTC_4e9ae.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_4e9ae.dir/CheckIncludeFile.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_4e9ae.dir/CheckIncludeFile.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/videoio.h: No such file or directory
#include
^~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_4e9ae.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_4e9ae.dir/CheckIncludeFile.c.o' failed
make[1]: *** [CMakeFiles/cmTC_4e9ae.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_4e9ae/fast' failed
make: *** [cmTC_4e9ae/fast] Error 2
Build output check failed:
Regex: 'command line option .* is valid for .* but not for C\+\+'
Output line: 'cc1plus: warning: command line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but not for C++'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -Wno-missing-prototypes'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_9a903/fast"
/usr/bin/make -f CMakeFiles/cmTC_9a903.dir/build.make CMakeFiles/cmTC_9a903.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_9a903.dir/src.cxx.o
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -O3 -DNDEBUG -fPIE -Wno-missing-prototypes -std=c++11 -o CMakeFiles/cmTC_9a903.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
cc1plus: warning: command line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but not for C++
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
Linking CXX executable cmTC_9a903
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9a903.dir/link.txt --verbose=1
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_9a903.dir/src.cxx.o -o cmTC_9a903
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'unrecognized .*option'
Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-tautological-undefined-compare’'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -Wno-tautological-undefined-compare'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_ccb5c/fast"
/usr/bin/make -f CMakeFiles/cmTC_ccb5c.dir/build.make CMakeFiles/cmTC_ccb5c.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_ccb5c.dir/src.cxx.o
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef -O3 -DNDEBUG -fPIE -Wno-tautological-undefined-compare -std=c++11 -o CMakeFiles/cmTC_ccb5c.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
cc1plus: warning: unrecognized command line option ‘-Wno-tautological-undefined-compare’
Linking CXX executable cmTC_ccb5c
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ccb5c.dir/link.txt --verbose=1
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_ccb5c.dir/src.cxx.o -o cmTC_ccb5c
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'unrecognized .*option'
Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-shorten-64-to-32’'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -Wno-shorten-64-to-32'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_d3ab2/fast"
/usr/bin/make -f CMakeFiles/cmTC_d3ab2.dir/build.make CMakeFiles/cmTC_d3ab2.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_d3ab2.dir/src.cxx.o
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef -Wno-ignored-qualifiers -Wno-extra -Wno-unused-function -Wno-unused-const-variable -O3 -DNDEBUG -fPIE -Wno-shorten-64-to-32 -std=c++11 -o CMakeFiles/cmTC_d3ab2.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
cc1plus: warning: unrecognized command line option ‘-Wno-shorten-64-to-32’
Linking CXX executable cmTC_d3ab2
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d3ab2.dir/link.txt --verbose=1
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef -Wno-ignored-qualifiers -Wno-extra -Wno-unused-function -Wno-unused-const-variable -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_d3ab2.dir/src.cxx.o -o cmTC_d3ab2
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'unrecognized .*option'
Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-enum-compare-switch’'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -Wno-enum-compare-switch'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_99181/fast"
/usr/bin/make -f CMakeFiles/cmTC_99181.dir/build.make CMakeFiles/cmTC_99181.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_99181.dir/src.cxx.o
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef -Wno-ignored-qualifiers -Wno-extra -Wno-unused-function -Wno-unused-const-variable -Wno-invalid-offsetof -O3 -DNDEBUG -fPIE -Wno-enum-compare-switch -std=c++11 -o CMakeFiles/cmTC_99181.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
cc1plus: warning: unrecognized command line option ‘-Wno-enum-compare-switch’
Linking CXX executable cmTC_99181
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_99181.dir/link.txt --verbose=1
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef -Wno-ignored-qualifiers -Wno-extra -Wno-unused-function -Wno-unused-const-variable -Wno-invalid-offsetof -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_99181.dir/src.cxx.o -o cmTC_99181
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Performing C++ SOURCE FILE Test CXX_HAS_MFPU_NEON failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_21d96/fast"
/usr/bin/make -f CMakeFiles/cmTC_21d96.dir/build.make CMakeFiles/cmTC_21d96.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_21d96.dir/src.cxx.o
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-unused-function -funwind-tables -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -DCXX_HAS_MFPU_NEON -O3 -DNDEBUG -fPIE -mfpu=neon -o CMakeFiles/cmTC_21d96.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command line option '-mfpu=neon'
CMakeFiles/cmTC_21d96.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_21d96.dir/src.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_21d96.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_21d96/fast' failed
make: *** [cmTC_21d96/fast] Error 2
Source file was:
int main() { return 0; }
Build output check failed:
Regex: 'command line option .* is valid for .* but not for C\+\+'
Output line: 'cc1plus: warning: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_cd3b6/fast"
/usr/bin/make -f CMakeFiles/cmTC_cd3b6.dir/build.make CMakeFiles/cmTC_cd3b6.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_cd3b6.dir/src.cxx.o
/usr/bin/c++ -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -std=c++11 -o CMakeFiles/cmTC_cd3b6.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
cc1plus: warning: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
Linking CXX executable cmTC_cd3b6
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cd3b6.dir/link.txt --verbose=1
/usr/bin/c++ -O3 -DNDEBUG CMakeFiles/cmTC_cd3b6.dir/src.cxx.o -o cmTC_cd3b6
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'command line option .* is valid for .* but not for C\+\+'
Output line: 'cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wstrict-prototypes'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_77c22/fast"
/usr/bin/make -f CMakeFiles/cmTC_77c22.dir/build.make CMakeFiles/cmTC_77c22.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_77c22.dir/src.cxx.o
/usr/bin/c++ -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wstrict-prototypes -std=c++11 -o CMakeFiles/cmTC_77c22.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
Linking CXX executable cmTC_77c22
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_77c22.dir/link.txt --verbose=1
/usr/bin/c++ -O3 -DNDEBUG CMakeFiles/cmTC_77c22.dir/src.cxx.o -o cmTC_77c22
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'command line option .* is valid for .* but not for C'
Output line: 'cc1: warning: command line option ‘-Wsign-promo’ is valid for C++/ObjC++ but not for C'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c'
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_ad9d5/fast"
/usr/bin/make -f CMakeFiles/cmTC_ad9d5.dir/build.make CMakeFiles/cmTC_ad9d5.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_ad9d5.dir/src.c.o
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -o CMakeFiles/cmTC_ad9d5.dir/src.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ‘-Wsign-promo’ is valid for C++/ObjC++ but not for C
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
Linking C executable cmTC_ad9d5
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ad9d5.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG CMakeFiles/cmTC_ad9d5.dir/src.c.o -o cmTC_ad9d5
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'command line option .* is valid for .* but not for C'
Output line: 'cc1: warning: command line option ‘-Wsuggest-override’ is valid for C++/ObjC++ but not for C'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c'
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wsuggest-override'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_dc45a/fast"
/usr/bin/make -f CMakeFiles/cmTC_dc45a.dir/build.make CMakeFiles/cmTC_dc45a.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_dc45a.dir/src.c.o
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wsuggest-override -o CMakeFiles/cmTC_dc45a.dir/src.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ‘-Wsuggest-override’ is valid for C++/ObjC++ but not for C
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
Linking C executable cmTC_dc45a
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_dc45a.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG CMakeFiles/cmTC_dc45a.dir/src.c.o -o cmTC_dc45a
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'command line option .* is valid for .* but not for C'
Output line: 'cc1: warning: command line option ‘-Wno-delete-non-virtual-dtor’ is valid for C++/ObjC++ but not for C'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c'
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_ffb76/fast"
/usr/bin/make -f CMakeFiles/cmTC_ffb76.dir/build.make CMakeFiles/cmTC_ffb76.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_ffb76.dir/src.c.o
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -o CMakeFiles/cmTC_ffb76.dir/src.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ‘-Wno-delete-non-virtual-dtor’ is valid for C++/ObjC++ but not for C
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
Linking C executable cmTC_ffb76
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ffb76.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG CMakeFiles/cmTC_ffb76.dir/src.c.o -o cmTC_ffb76
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'unrecognized .*option'
Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-unnamed-type-template-args’'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_948ff/fast"
/usr/bin/make -f CMakeFiles/cmTC_948ff.dir/build.make CMakeFiles/cmTC_948ff.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_948ff.dir/src.cxx.o
/usr/bin/c++ -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -std=c++11 -o CMakeFiles/cmTC_948ff.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
cc1plus: warning: unrecognized command line option ‘-Wno-unnamed-type-template-args’
Linking CXX executable cmTC_948ff
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_948ff.dir/link.txt --verbose=1
/usr/bin/c++ -O3 -DNDEBUG CMakeFiles/cmTC_948ff.dir/src.cxx.o -o cmTC_948ff
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'unrecognized .*option'
Output line: 'cc1: warning: unrecognized command line option ‘-Wno-unnamed-type-template-args’'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c'
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-unnamed-type-template-args'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_2712d/fast"
/usr/bin/make -f CMakeFiles/cmTC_2712d.dir/build.make CMakeFiles/cmTC_2712d.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2712d.dir/src.c.o
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-unnamed-type-template-args -o CMakeFiles/cmTC_2712d.dir/src.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
cc1: warning: unrecognized command line option ‘-Wno-unnamed-type-template-args’
Linking C executable cmTC_2712d
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2712d.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG CMakeFiles/cmTC_2712d.dir/src.c.o -o cmTC_2712d
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -mfpu=vfpv3'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_5084d/fast"
/usr/bin/make -f CMakeFiles/cmTC_5084d.dir/build.make CMakeFiles/cmTC_5084d.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_5084d.dir/src.cxx.o
/usr/bin/c++ -O3 -DNDEBUG -fPIE -mfpu=vfpv3 -std=c++11 -o CMakeFiles/cmTC_5084d.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command line option ‘-mfpu=vfpv3’
CMakeFiles/cmTC_5084d.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_5084d.dir/src.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_5084d.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_5084d/fast' failed
make: *** [cmTC_5084d/fast] Error 2
===== END =====
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_neon.cpp'
check option: ''
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_c25ea/fast"
/usr/bin/make -f CMakeFiles/cmTC_c25ea.dir/build.make CMakeFiles/cmTC_c25ea.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_c25ea.dir/cpu_neon.cpp.o
/usr/bin/c++ -O3 -DNDEBUG -fPIE -std=c++11 -o CMakeFiles/cmTC_c25ea.dir/cpu_neon.cpp.o -c /home/mike/opencv-4.0.1-arm/cmake/checks/cpu_neon.cpp
/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_neon.cpp:20:2: error: #error "NEON is not supported"
#error "NEON is not supported"
^~~~~
/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_neon.cpp: In function ‘int main()’:
/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_neon.cpp:25:18: error: ‘test’ was not declared in this scope
printf("%d\n", test());
^~~~
CMakeFiles/cmTC_c25ea.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_c25ea.dir/cpu_neon.cpp.o' failed
make[1]: *** [CMakeFiles/cmTC_c25ea.dir/cpu_neon.cpp.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_c25ea/fast' failed
make: *** [cmTC_c25ea/fast] Error 2
===== END =====
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_neon.cpp'
check option: ' -mfpu=neon'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_7fcdf/fast"
/usr/bin/make -f CMakeFiles/cmTC_7fcdf.dir/build.make CMakeFiles/cmTC_7fcdf.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_7fcdf.dir/cpu_neon.cpp.o
/usr/bin/c++ -O3 -DNDEBUG -fPIE -mfpu=neon -std=c++11 -o CMakeFiles/cmTC_7fcdf.dir/cpu_neon.cpp.o -c /home/mike/opencv-4.0.1-arm/cmake/checks/cpu_neon.cpp
c++: error: unrecognized command line option ‘-mfpu=neon’
CMakeFiles/cmTC_7fcdf.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_7fcdf.dir/cpu_neon.cpp.o' failed
make[1]: *** [CMakeFiles/cmTC_7fcdf.dir/cpu_neon.cpp.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_7fcdf/fast' failed
make: *** [cmTC_7fcdf/fast] Error 2
===== END =====
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_fp16.cpp'
check option: ''
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_50875/fast"
/usr/bin/make -f CMakeFiles/cmTC_50875.dir/build.make CMakeFiles/cmTC_50875.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_50875.dir/cpu_fp16.cpp.o
/usr/bin/c++ -O3 -DNDEBUG -fPIE -std=c++11 -o CMakeFiles/cmTC_50875.dir/cpu_fp16.cpp.o -c /home/mike/opencv-4.0.1-arm/cmake/checks/cpu_fp16.cpp
/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_fp16.cpp:26:2: error: #error "FP16 is not supported"
#error "FP16 is not supported"
^~~~~
/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_fp16.cpp: In function ‘int main()’:
/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_fp16.cpp:31:18: error: ‘test’ was not declared in this scope
printf("%d\n", test());
^~~~
CMakeFiles/cmTC_50875.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_50875.dir/cpu_fp16.cpp.o' failed
make[1]: *** [CMakeFiles/cmTC_50875.dir/cpu_fp16.cpp.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_50875/fast' failed
make: *** [cmTC_50875/fast] Error 2
===== END =====
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/cmake/checks/cpu_fp16.cpp'
check option: ' -mfpu=neon-fp16'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_c7833/fast"
/usr/bin/make -f CMakeFiles/cmTC_c7833.dir/build.make CMakeFiles/cmTC_c7833.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_c7833.dir/cpu_fp16.cpp.o
/usr/bin/c++ -O3 -DNDEBUG -fPIE -mfpu=neon-fp16 -std=c++11 -o CMakeFiles/cmTC_c7833.dir/cpu_fp16.cpp.o -c /home/mike/opencv-4.0.1-arm/cmake/checks/cpu_fp16.cpp
c++: error: unrecognized command line option ‘-mfpu=neon-fp16’
CMakeFiles/cmTC_c7833.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_c7833.dir/cpu_fp16.cpp.o' failed
make[1]: *** [CMakeFiles/cmTC_c7833.dir/cpu_fp16.cpp.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_c7833/fast' failed
make: *** [cmTC_c7833/fast] Error 2
===== END =====
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_91dea/fast"
/usr/bin/make -f CMakeFiles/cmTC_91dea.dir/build.make CMakeFiles/cmTC_91dea.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_91dea.dir/src.cxx.o
/usr/bin/c++ -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -std=c++11 -o CMakeFiles/cmTC_91dea.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command line option ‘-mfp16-format=ieee’
CMakeFiles/cmTC_91dea.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_91dea.dir/src.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_91dea.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_91dea/fast' failed
make: *** [cmTC_91dea/fast] Error 2
===== END =====
Build output check failed:
Regex: 'command line option .* is valid for .* but not for C'
Output line: 'cc1: warning: command line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c'
check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -fvisibility-inlines-hidden'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_98498/fast"
/usr/bin/make -f CMakeFiles/cmTC_98498.dir/build.make CMakeFiles/cmTC_98498.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_98498.dir/src.c.o
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -fvisibility-inlines-hidden -o CMakeFiles/cmTC_98498.dir/src.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
Linking C executable cmTC_98498
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_98498.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-gcc -O3 -DNDEBUG CMakeFiles/cmTC_98498.dir/src.c.o -o cmTC_98498
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Determining size of off64_t failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_f1195/fast"
/usr/bin/make -f CMakeFiles/cmTC_f1195.dir/build.make CMakeFiles/cmTC_f1195.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f1195.dir/OFF64_T.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_f1195.dir/OFF64_T.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/OFF64_T.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/OFF64_T.c:23:22: error: ‘off64_t’ undeclared here (not in a function); did you mean ‘off_t’?
#define SIZE (sizeof(off64_t))
^
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/OFF64_T.c:25:12: note: in expansion of macro ‘SIZE’
('0' + ((SIZE / 10000)%10)),
^~~~
CMakeFiles/cmTC_f1195.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_f1195.dir/OFF64_T.c.o' failed
make[1]: *** [CMakeFiles/cmTC_f1195.dir/OFF64_T.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_f1195/fast' failed
make: *** [cmTC_f1195/fast] Error 2
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/OFF64_T.c:
#include
#include
#include
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__aarch64__)
# define KEY '_','_','a','a','r','c','h','6','4','_','_'
#elif defined(__ARM_ARCH_7A__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
#elif defined(__ARM_ARCH_7S__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
#endif
#define SIZE (sizeof(off64_t))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Build output check failed:
Regex: 'unrecognized .*option'
Output line: 'cc1: warning: unrecognized command line option ‘-Wno-shorten-64-to-32’'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c'
check option: ' -Wno-shorten-64-to-32'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_3df04/fast"
/usr/bin/make -f CMakeFiles/cmTC_3df04.dir/build.make CMakeFiles/cmTC_3df04.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3df04.dir/src.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -Wno-shorten-64-to-32 -o CMakeFiles/cmTC_3df04.dir/src.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
cc1: warning: unrecognized command line option ‘-Wno-shorten-64-to-32’
Linking C executable cmTC_3df04
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3df04.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_3df04.dir/src.c.o -o cmTC_3df04
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Determining if the include file io.h exists failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_f3aca/fast"
/usr/bin/make -f CMakeFiles/cmTC_f3aca.dir/build.make CMakeFiles/cmTC_f3aca.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f3aca.dir/CheckIncludeFile.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_f3aca.dir/CheckIncludeFile.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: io.h: No such file or directory
#include
^~~~~~
compilation terminated.
CMakeFiles/cmTC_f3aca.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_f3aca.dir/CheckIncludeFile.c.o' failed
make[1]: *** [CMakeFiles/cmTC_f3aca.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_f3aca/fast' failed
make: *** [cmTC_f3aca/fast] Error 2
Determining size of INT8 failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_17b3e/fast"
/usr/bin/make -f CMakeFiles/cmTC_17b3e.dir/build.make CMakeFiles/cmTC_17b3e.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_17b3e.dir/int8.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_17b3e.dir/int8.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int8.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int8.c:23:22: error: ‘INT8’ undeclared here (not in a function); did you mean ‘INT8_C’?
#define SIZE (sizeof(INT8))
^
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int8.c:25:12: note: in expansion of macro ‘SIZE’
('0' + ((SIZE / 10000)%10)),
^~~~
CMakeFiles/cmTC_17b3e.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_17b3e.dir/int8.c.o' failed
make[1]: *** [CMakeFiles/cmTC_17b3e.dir/int8.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_17b3e/fast' failed
make: *** [cmTC_17b3e/fast] Error 2
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int8.c:
#include
#include
#include
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__aarch64__)
# define KEY '_','_','a','a','r','c','h','6','4','_','_'
#elif defined(__ARM_ARCH_7A__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
#elif defined(__ARM_ARCH_7S__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
#endif
#define SIZE (sizeof(INT8))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Determining size of INT16 failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_d292a/fast"
/usr/bin/make -f CMakeFiles/cmTC_d292a.dir/build.make CMakeFiles/cmTC_d292a.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d292a.dir/int16.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_d292a.dir/int16.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int16.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int16.c:23:22: error: ‘INT16’ undeclared here (not in a function); did you mean ‘INT16_C’?
#define SIZE (sizeof(INT16))
^
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int16.c:25:12: note: in expansion of macro ‘SIZE’
('0' + ((SIZE / 10000)%10)),
^~~~
CMakeFiles/cmTC_d292a.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_d292a.dir/int16.c.o' failed
make[1]: *** [CMakeFiles/cmTC_d292a.dir/int16.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_d292a/fast' failed
make: *** [cmTC_d292a/fast] Error 2
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int16.c:
#include
#include
#include
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__aarch64__)
# define KEY '_','_','a','a','r','c','h','6','4','_','_'
#elif defined(__ARM_ARCH_7A__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
#elif defined(__ARM_ARCH_7S__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
#endif
#define SIZE (sizeof(INT16))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Determining size of INT32 failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_49e80/fast"
/usr/bin/make -f CMakeFiles/cmTC_49e80.dir/build.make CMakeFiles/cmTC_49e80.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_49e80.dir/int32.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_49e80.dir/int32.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int32.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int32.c:23:22: error: ‘INT32’ undeclared here (not in a function); did you mean ‘INT32_C’?
#define SIZE (sizeof(INT32))
^
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int32.c:25:12: note: in expansion of macro ‘SIZE’
('0' + ((SIZE / 10000)%10)),
^~~~
CMakeFiles/cmTC_49e80.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_49e80.dir/int32.c.o' failed
make[1]: *** [CMakeFiles/cmTC_49e80.dir/int32.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_49e80/fast' failed
make: *** [cmTC_49e80/fast] Error 2
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CheckTypeSize/int32.c:
#include
#include
#include
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__aarch64__)
# define KEY '_','_','a','a','r','c','h','6','4','_','_'
#elif defined(__ARM_ARCH_7A__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
#elif defined(__ARM_ARCH_7S__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
#endif
#define SIZE (sizeof(INT32))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Determining if the function setmode exists failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_6e40f/fast"
/usr/bin/make -f CMakeFiles/cmTC_6e40f.dir/build.make CMakeFiles/cmTC_6e40f.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_6e40f.dir/CheckFunctionExists.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=setmode -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_6e40f.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_6e40f
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6e40f.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=setmode -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_6e40f.dir/CheckFunctionExists.c.o -o cmTC_6e40f
CMakeFiles/cmTC_6e40f.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup.main+0x6): undefined reference to `setmode'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_6e40f.dir/build.make:97: recipe for target 'cmTC_6e40f' failed
make[1]: *** [cmTC_6e40f] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_6e40f/fast' failed
make: *** [cmTC_6e40f/fast] Error 2
Build output check failed:
Regex: 'unrecognized .*option'
Output line: 'cc1: warning: unrecognized command line option ‘-Wno-absolute-value’'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c'
check option: ' -Wno-absolute-value'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_f89e6/fast"
/usr/bin/make -f CMakeFiles/cmTC_f89e6.dir/build.make CMakeFiles/cmTC_f89e6.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f89e6.dir/src.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -Wno-implicit-function-declaration -Wno-uninitialized -Wno-missing-prototypes -Wno-unused-but-set-parameter -Wno-missing-declarations -Wno-unused -Wno-shadow -Wno-sign-compare -Wno-strict-overflow -Wno-pointer-compare -O3 -DNDEBUG -fPIE -Wno-absolute-value -o CMakeFiles/cmTC_f89e6.dir/src.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
cc1: warning: unrecognized command line option ‘-Wno-absolute-value’
Linking C executable cmTC_f89e6
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f89e6.dir/link.txt --verbose=1
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -Wno-implicit-function-declaration -Wno-uninitialized -Wno-missing-prototypes -Wno-unused-but-set-parameter -Wno-missing-declarations -Wno-unused -Wno-shadow -Wno-sign-compare -Wno-strict-overflow -Wno-pointer-compare -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_f89e6.dir/src.c.o -o cmTC_f89e6
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'unrecognized .*option'
Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -Wno-inconsistent-missing-override'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_57901/fast"
/usr/bin/make -f CMakeFiles/cmTC_57901.dir/build.make CMakeFiles/cmTC_57901.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_57901.dir/src.cxx.o
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wsign-promo -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-deprecated -Wno-suggest-override -O3 -DNDEBUG -fPIE -Wno-inconsistent-missing-override -std=c++11 -o CMakeFiles/cmTC_57901.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’
Linking CXX executable cmTC_57901
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_57901.dir/link.txt --verbose=1
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wsign-promo -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-deprecated -Wno-suggest-override -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_57901.dir/src.cxx.o -o cmTC_57901
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Determining if the include file sys/videoio.h exists failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_09bef/fast"
/usr/bin/make -f CMakeFiles/cmTC_09bef.dir/build.make CMakeFiles/cmTC_09bef.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_09bef.dir/CheckIncludeFile.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_09bef.dir/CheckIncludeFile.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/videoio.h: No such file or directory
#include
^~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_09bef.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_09bef.dir/CheckIncludeFile.c.o' failed
make[1]: *** [CMakeFiles/cmTC_09bef.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_09bef/fast' failed
make: *** [cmTC_09bef/fast] Error 2
Build output check failed:
Regex: 'command line option .* is valid for .* but not for C\+\+'
Output line: 'cc1plus: warning: command line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but not for C++'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -Wno-missing-prototypes'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_ec8b0/fast"
/usr/bin/make -f CMakeFiles/cmTC_ec8b0.dir/build.make CMakeFiles/cmTC_ec8b0.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_ec8b0.dir/src.cxx.o
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -O3 -DNDEBUG -fPIE -Wno-missing-prototypes -std=c++11 -o CMakeFiles/cmTC_ec8b0.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
cc1plus: warning: command line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but not for C++
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
Linking CXX executable cmTC_ec8b0
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ec8b0.dir/link.txt --verbose=1
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_ec8b0.dir/src.cxx.o -o cmTC_ec8b0
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'unrecognized .*option'
Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-tautological-undefined-compare’'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -Wno-tautological-undefined-compare'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_5f229/fast"
/usr/bin/make -f CMakeFiles/cmTC_5f229.dir/build.make CMakeFiles/cmTC_5f229.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_5f229.dir/src.cxx.o
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef -O3 -DNDEBUG -fPIE -Wno-tautological-undefined-compare -std=c++11 -o CMakeFiles/cmTC_5f229.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
cc1plus: warning: unrecognized command line option ‘-Wno-tautological-undefined-compare’
Linking CXX executable cmTC_5f229
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5f229.dir/link.txt --verbose=1
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_5f229.dir/src.cxx.o -o cmTC_5f229
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'unrecognized .*option'
Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-shorten-64-to-32’'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -Wno-shorten-64-to-32'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_a7131/fast"
/usr/bin/make -f CMakeFiles/cmTC_a7131.dir/build.make CMakeFiles/cmTC_a7131.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_a7131.dir/src.cxx.o
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef -Wno-ignored-qualifiers -Wno-extra -Wno-unused-function -Wno-unused-const-variable -O3 -DNDEBUG -fPIE -Wno-shorten-64-to-32 -std=c++11 -o CMakeFiles/cmTC_a7131.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
cc1plus: warning: unrecognized command line option ‘-Wno-shorten-64-to-32’
Linking CXX executable cmTC_a7131
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a7131.dir/link.txt --verbose=1
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef -Wno-ignored-qualifiers -Wno-extra -Wno-unused-function -Wno-unused-const-variable -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_a7131.dir/src.cxx.o -o cmTC_a7131
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Build output check failed:
Regex: 'unrecognized .*option'
Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-enum-compare-switch’'
Compilation failed:
source file: '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx'
check option: ' -Wno-enum-compare-switch'
===== BUILD LOG =====
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_b23f6/fast"
/usr/bin/make -f CMakeFiles/cmTC_b23f6.dir/build.make CMakeFiles/cmTC_b23f6.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_b23f6.dir/src.cxx.o
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef -Wno-ignored-qualifiers -Wno-extra -Wno-unused-function -Wno-unused-const-variable -Wno-invalid-offsetof -O3 -DNDEBUG -fPIE -Wno-enum-compare-switch -std=c++11 -o CMakeFiles/cmTC_b23f6.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas]
#pragma
cc1plus: warning: unrecognized command line option ‘-Wno-enum-compare-switch’
Linking CXX executable cmTC_b23f6
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b23f6.dir/link.txt --verbose=1
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef -Wno-ignored-qualifiers -Wno-extra -Wno-unused-function -Wno-unused-const-variable -Wno-invalid-offsetof -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_b23f6.dir/src.cxx.o -o cmTC_b23f6
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
===== END =====
Performing C++ SOURCE FILE Test CXX_HAS_MFPU_NEON failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_a46d7/fast"
/usr/bin/make -f CMakeFiles/cmTC_a46d7.dir/build.make CMakeFiles/cmTC_a46d7.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_a46d7.dir/src.cxx.o
/usr/bin/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-unused-function -funwind-tables -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -DCXX_HAS_MFPU_NEON -O3 -DNDEBUG -fPIE -mfpu=neon -o CMakeFiles/cmTC_a46d7.dir/src.cxx.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command line option '-mfpu=neon'
CMakeFiles/cmTC_a46d7.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_a46d7.dir/src.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_a46d7.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_a46d7/fast' failed
make: *** [cmTC_a46d7/fast] Error 2
Source file was:
int main() { return 0; }
Determining if the include file sys/videoio.h exists failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_37d1a/fast"
/usr/bin/make -f CMakeFiles/cmTC_37d1a.dir/build.make CMakeFiles/cmTC_37d1a.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_37d1a.dir/CheckIncludeFile.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_37d1a.dir/CheckIncludeFile.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/videoio.h: No such file or directory
#include
^~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_37d1a.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_37d1a.dir/CheckIncludeFile.c.o' failed
make[1]: *** [CMakeFiles/cmTC_37d1a.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_37d1a/fast' failed
make: *** [cmTC_37d1a/fast] Error 2
Determining if the include file sys/videoio.h exists failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_d3d74/fast"
/usr/bin/make -f CMakeFiles/cmTC_d3d74.dir/build.make CMakeFiles/cmTC_d3d74.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d3d74.dir/CheckIncludeFile.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_d3d74.dir/CheckIncludeFile.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/videoio.h: No such file or directory
#include
^~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_d3d74.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_d3d74.dir/CheckIncludeFile.c.o' failed
make[1]: *** [CMakeFiles/cmTC_d3d74.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_d3d74/fast' failed
make: *** [cmTC_d3d74/fast] Error 2
Determining if the include file sys/videoio.h exists failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_f0e81/fast"
/usr/bin/make -f CMakeFiles/cmTC_f0e81.dir/build.make CMakeFiles/cmTC_f0e81.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f0e81.dir/CheckIncludeFile.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_f0e81.dir/CheckIncludeFile.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/videoio.h: No such file or directory
#include
^~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_f0e81.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_f0e81.dir/CheckIncludeFile.c.o' failed
make[1]: *** [CMakeFiles/cmTC_f0e81.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_f0e81/fast' failed
make: *** [cmTC_f0e81/fast] Error 2
Determining if the include file sys/videoio.h exists failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_efc23/fast"
/usr/bin/make -f CMakeFiles/cmTC_efc23.dir/build.make CMakeFiles/cmTC_efc23.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_efc23.dir/CheckIncludeFile.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_efc23.dir/CheckIncludeFile.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/videoio.h: No such file or directory
#include
^~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_efc23.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_efc23.dir/CheckIncludeFile.c.o' failed
make[1]: *** [CMakeFiles/cmTC_efc23.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_efc23/fast' failed
make: *** [cmTC_efc23/fast] Error 2
Determining if the include file sys/videoio.h exists failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_20f0d/fast"
/usr/bin/make -f CMakeFiles/cmTC_20f0d.dir/build.make CMakeFiles/cmTC_20f0d.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_20f0d.dir/CheckIncludeFile.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_20f0d.dir/CheckIncludeFile.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/videoio.h: No such file or directory
#include
^~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_20f0d.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_20f0d.dir/CheckIncludeFile.c.o' failed
make[1]: *** [CMakeFiles/cmTC_20f0d.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_20f0d/fast' failed
make: *** [cmTC_20f0d/fast] Error 2
Determining if the include file sys/videoio.h exists failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_29751/fast"
/usr/bin/make -f CMakeFiles/cmTC_29751.dir/build.make CMakeFiles/cmTC_29751.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_29751.dir/CheckIncludeFile.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_29751.dir/CheckIncludeFile.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/videoio.h: No such file or directory
#include
^~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_29751.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_29751.dir/CheckIncludeFile.c.o' failed
make[1]: *** [CMakeFiles/cmTC_29751.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_29751/fast' failed
make: *** [cmTC_29751/fast] Error 2
Determining if the include file sys/videoio.h exists failed with the following output:
Change Dir: /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_198ed/fast"
/usr/bin/make -f CMakeFiles/cmTC_198ed.dir/build.make CMakeFiles/cmTC_198ed.dir/build
make[1]: Entering directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_198ed.dir/CheckIncludeFile.c.o
/usr/bin/arm-linux-gnueabihf-gcc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_198ed.dir/CheckIncludeFile.c.o -c /home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/videoio.h: No such file or directory
#include
^~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_198ed.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_198ed.dir/CheckIncludeFile.c.o' failed
make[1]: *** [CMakeFiles/cmTC_198ed.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/mike/opencv-4.0.1-arm/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_198ed/fast' failed
make: *** [cmTC_198ed/fast] Error 2
↧
about the error in 'debayer.cu'
Hi, I'm Kundo.
I'm trying to build OpenCV using the source I downloaded hear 'https://github.com/opencv/opencv' and 'https://github.com/opencv/opencv_contrib' here with Cmake.
I'm using Windows 10 64bit, Visual Studio 2015 community, and Cuda ver 10.0.
When I try to build OpenCV, the error occurs in 'debayer.cu' which causes the error in 'color_detail.hpp' and 'opencv_cudaimgproc' too.
the error says
1. it needs ')' in line 394
2. 'texture' is not a template in line 394
3. there is no global variable 'max', and 'min' in line 69, 73, 77, 235, 239, 243, 70, 74, 78, 236, 240, 244
(sorry I just translated the error message cause I'm not using English ver..)
I have no idea how should I solve this.
I didn't change anything in 'debayer.cu'.
thank you.
↧
Unable to install/compile opencv 4.0.0 on Mac [opencv.pc missing]
Hi,
I am trying to install opencv 4.0.0 on macOS 10.14.2 following the instructions in "Learn OpenCV 4 by Building Projects", second edition. I have included a screenshot of the installation instructions below in my post to avoid transcribing/retyping the relevant instructions.
I have no errors or problems until the part that asks you to copy a file, called "opencv.pc" from the opencv4's /build/lib/pkgconfig directory.
The problem is that **neither this file (opencv.pc) nor that directory (pkgconfig) seem to exist**. I have searched the entire opencv directory and subdirectories for an opencv.pc file and found none. After searching on Google, I found some forum posts indicating this has been changed/removed, so I instead decided to just ignore the error and proceed with the rest of the instructions.
Unfortunately, when I try to run the g++ command at the bottom of the page to test the installation, it indicates that it cannot find a command related to pkg-config.
Is someone able to indicate whether or not the book's instructions for installation are incorrect, or am I missing a step / doing something incorrectly on my end?
Perhaps more importantly, how should I modify these instructions to successfully install opencv 4 on mac and get the "test" command at the bottom of the page to work?
Many thanks in advance for your time and attention.

↧
how to code one vs rest multi class SVM for action recognition project
I'm new to SVM. I want to use Multiclass svm for classification in my action recognition project. My data set have 15 class like running jogging walking biking etc. I understand binary SVM and seen lot of examples. I'm getting confusion in one vs one multiclass svm and one vs rest multiclass svm. My question is should i have to create and train a svm for each class like svm1 for running, svm2 for jogging.....etc what should be class lebels for each created svm either (0,1,2,.......14) or (0,1). how to determine the model for multiclass classification.how the result will be predicted. please clear my doubts please. Thanks
I was trying some thing like this
Mat trainData, trainLabels;
for (int i = 0; i < 15; i++ )
{
sprintf_s(filename, "VocabularyHOG/Dictionary%d.yml", i);
Mat feature;
FileStorage fs(filename, FileStorage::READ);
fs["vocabulary"] >> feature;
feature.convertTo(feature, CV_32F); // make sure we got float data
trainData.push_back(feature.reshape(1, 1)); // as a flat column
trainLabels.push_back(i); // the classlabel
}
// Train the SVM
Ptr svm = SVM::create();
svm->setType(SVM::C_SVC);
svm->setKernel(SVM::LINEAR);
svm->setTermCriteria(TermCriteria(TermCriteria::MAX_ITER, 100, 1e-6));
svm->train(trainData, ROW_SAMPLE, trainLabels);
Mat testData;
FileStorage fs("DictionaryrunningHOG.yml", FileStorage::READ);
fs["vocabulary"] >> testData;
int response = svm->predict(testData.reshape(1, 1));
if (response == 1)
cout << "boxing";
else
cout << "negative result";
waitKey(27);
return 0;
but getting error. what is wrong here?? how to code one vs rest multiclass svm properly. What is the label for each svm? Thanks
↧
↧
cross-compile opencv for arm : c++: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’?
Dear All,
I am trying to cross-compile opencv 4.0/3.4 for a Tinker Board - ARM-based processor — the Rockchip RK3288
I am using Ubuntu 18.04 as host machine.
I pretty much followed everything mentioned [here](https://docs.opencv.org/3.4/d0/d76/tutorial_arm_crosscompile_with_cmake.html).
But when I try the cmake using below:
mike@mike-laptop:~/opencv-3.4.5/build$ cmake -DCMAKE_TOOLCHAIN_FILE=../platforms/linux/arm-gnueabi.toolchain.cmake ../
I am getting the below error:
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: /usr/bin/c++ Build flags: -mthumb;;-fdata-sections;-Wa,--noexecstack;-fsigned-char;-Wno-psabi Id flags:
The output was: 1 c++: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’?
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: /usr/bin/c++ Build flags: -mthumb;;-fdata-sections;-Wa,--noexecstack;-fsigned-char;-Wno-psabi Id flags: -c
The output was: 1 c++: error: unrecognized command line option ‘-mthumb’; did you mean ‘-mtbm’?
**and tons of more messages**
**EDIT: Duplicate Question**
↧
namedwindow not defined
Hi, I'm just starting, I made a UWP app with an opencv helper project according to this:
[link text]( https://docs.microsoft.com/en-us/windows/uwp/audio-video-camera/process-software-bitmaps-with-opencv#a-simple-softwarebitmap-opencv-example-using-the-helper-component)
I got the blur example working fine.
I thought I would try HoughCircles based on this:
[link text](https://docs.opencv.org/2.4/doc/tutorials/imgproc/imgtrans/hough_circle/hough_circle.html)
and I think it is working but I am struggling with display the results. At the end I have
namedWindow("circles", 1);
imshow("circles", img);
.. but it won't compile, namedWindow and imshow are undefined.if I type "cv::" I get code completion showing loads and loads of things but not namedWindow or imshow.
I'd appreciated some assistance with this, Thanks
↧
DNN with OpenCL for Nvidia on OpenCV-4.0
Hello everyone,
I got the new OpenCV-4.0 and would like to know if DNN_TARGET_OPENCL would work with a Nvidia Graphic card? As far as I understood till OpenCV 3.4.2 only Intel graphic cards were supported. Has that changed? If yes, do I need to use UMat instead of Mat when passing images to the DNN? Thanks in advance.
↧