[opencv 4.0.0 installation] Failed build project
Hi i want to learn computer vision and this first time using opencv.
Please guide me to fix my error.
Step to reproduce :
1. I follow this step : https://docs.opencv.org/3.4/d7/d9f/tutorial_linux_install.html
2. Eclipse oxygen 3 C/C++
3. Set include path : /usr/local/include/opencv2
4. Set library : /usr/local/lib
5. Call libraries : opencv_core, opencv_high_ui, opencv_imgcodecs
6. Create main.cpp just for test
#include <opencv2/opencv.hpp>
using namespace cv;
int main(int argc, char** argv) {
Mat inputImage = imread(argv[1]);
imshow("Input Image", inputImage);
waitKey(0);
return 0;
}
Last commit opencv 000a13b6a35f65eb04e5c78721364406718f5d81 and for opencv_contrib 2b5eca6e1726afa2c179da672ad3a79a019da185.
Then when i build my project i got :
Description Resource Path Location Type
Program "/ndk-build.cmd" not found in PATH OpenCV Tutorial 2 - Mixed Processing C/C++ Problem
Project 'OpenCV Library - @OPENCV_VERSION@' is missing required source folder: 'gen' OpenCV Library - @OPENCV_VERSION@ Build path Build Path Problem
Project 'OpenCV Library - @OPENCV_VERSION@' is missing required source folder: 'src' OpenCV Library - @OPENCV_VERSION@ Build path Build Path Problem
Project 'OpenCV Sample - 15 puzzle' is missing required source folder: 'gen' OpenCV Sample - 15 puzzle Build path Build Path Problem
Project 'OpenCV Sample - camera-calibration' is missing required source folder: 'gen' OpenCV Sample - camera-calibration Build path Build Path Problem
Project 'OpenCV Sample - color-blob-detection' is missing required source folder: 'gen' OpenCV Sample - color-blob-detection Build path Build Path Problem
Project 'OpenCV Sample - face-detection' is missing required source folder: 'gen' OpenCV Sample - face-detection Build path Build Path Problem
Project 'OpenCV Sample - image-manipulations' is missing required source folder: 'gen' OpenCV Sample - image-manipulations Build path Build Path Problem
Project 'OpenCV Tutorial 1 - Camera Preview' is missing required source folder: 'gen' OpenCV Tutorial 1 - Camera Preview Build path Build Path Problem
Project 'OpenCV Tutorial 2 - Mixed Processing' is missing required source folder: 'gen' OpenCV Tutorial 2 - Mixed Processing Build path Build Path Problem
Project 'OpenCV Tutorial 3 - Camera Control' is missing required source folder: 'gen' OpenCV Tutorial 3 - Camera Control Build path Build Path Problem
Project 'OpenCV Tutorial 4 - Use OpenCL' is missing required source folder: 'gen' OpenCV Tutorial 4 - Use OpenCL Build path Build Path Problem
Project 'OpenCV_JavaAPI_Tests' is missing required source folder: 'gen' OpenCV_JavaAPI_Tests Build path Build Path Problem
Project 'OpenCVEngineService' is missing required source folder: 'gen' OpenCVEngineService Build path Build Path Problem
The project cannot be built until build path errors are resolved OpenCV Library - @OPENCV_VERSION@ Unknown Java Problem
The project cannot be built until build path errors are resolved OpenCV Sample - 15 puzzle Unknown Java Problem
The project cannot be built until build path errors are resolved OpenCV Sample - camera-calibration Unknown Java Problem
The project cannot be built until build path errors are resolved OpenCV Sample - color-blob-detection Unknown Java Problem
The project cannot be built until build path errors are resolved OpenCV Sample - face-detection Unknown Java Problem
The project cannot be built until build path errors are resolved OpenCV Sample - image-manipulations Unknown Java Problem
The project cannot be built until build path errors are resolved OpenCV Tutorial 1 - Camera Preview Unknown Java Problem
Program "/ndk-build.cmd" not found in PATH OpenCV Sample - face-detection C/C++ ProblemProblem