Getting error while building opencv extra modules
I am trying to run an opencv project using Microsoft visual studio 2015. in that, I was required to include opencv2/face .hpp. Then from the Google I found that I should download
https://github.com/opencv/opencv_contrib
and follow the instruction stated there. But in doing so I was getting the following error while using make -j5
command.
make: *** No targets specified and no makefile found. Stop.
Can anyone please tell me what I should do now?
cmake probably did not build a makefile, but an opencv.sln. open that with VS and build the INSTALL project. if that finished successfully, you'll find your new headers/libs/dlls in opencv/build/install
Thank you for the reply. But now when I am trying to build
https://www.learnopencv.com/facemark-facial-landmark-detection-using-opencv/
I am getting following error: 'CV_OVERRIDE': unknown override specifier error. Not Sure whether I have successfully included the library or not.that means, you do't have exact same versions of opencv and opencv_contrib (your main opencv is older than the contrib one)
please download latest master branch for both, clean your build folder, and start again with cmake
No, Actually there is still the problem with the build. When I tried to build Install from opencv.sln it is not building successfully. I am getting following error though I have downloaded both opencv and opencv_contrib from the GitHub : 'CV_OVERRIDE': unknown override specifier error (I am getting this error in face.hpp file)
Finally, I resolved this problem by reinstalling. But facing this problem while running the sample project: OpenCV(4.0.0-pre) Error: Unknown error code -49 (Input file is empty)
And I am trying to build my sample project in x64 architecture but whenever I choose the x64 in opencv.sln it is outputting me the libraies for x86. How to solve that?
@faysal, it's unclear, to what context your last question is refering to.