Error while doing cmake.. in opencv/samples/build directory
/home/nik/Downloads/opencv-master/samples/cpp/stereo_match.cpp:68:21: error: ‘samples’ has not been declared C:\fakepath\error.pngimg1_filename = samples::findFile(parser.get<std::string>(0));
Which opencv version do you use ?
cv::samples is available since this PR
please add your errormsg AS TEXT here, not as an image. thank you.
version 3.3
what about updating to a more recent version ? (where none of it is a problem)
ok i will update and will inform you.
Don't post an issue delete cmakecache.txt and
git clone https://github.com/opencv/opencv.git
git clone https://github.com/opencv/opencv_cont...
and run cmake
where is this file cmakecache.txt ?
in your opencv/build folder (and you should probably clean this entirely)
ok i have cleaned this. just a sec, it's all been a mesh. let's simplify it. 1. I have to do git clone https://github.com/opencv/opencv.git 2. git clone https://github.com/opencv/opencv_cont... then I have to go to opencv-master/samples directory 3. mkdir build 4. cd build 5. cmake .. 6. make
RIght?? Please help.
@berak please help