Hello all, It has been almost a week since i've been strugging trying to create a project and add a OpenCV library to it.
I have downloaded and extracted opencv-3.4.2-vc14_vc15.exe in a folder opencv My build folder is opencv_34_build
Downloaded and installed CMAKE - version 3.12.1 During the installation i have chosen to Add environment PATH for all users. ( Although it is one user on the PC - Me ) Downloaded and installed mingw-w64-install.exe - During the installation i have selected version 8.1.0 Architecture x86_x64 I have added in the environment path " C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin " also placed it on first position.
In CMake i've tried with Current generator " MinGW Makefiles " and " Eclipse CDT4 - MinGW MakeFile " When done my screen looks like the attacked file 1 in the attached file 1C:\fakepath\cv1.jpg
After that i open cmd go to the " opencv_34_build " directory typing " mingw32-make " and it starts making I have tried with and without " ENABLE_PRECOMPILED_HEADERS " difference is that when it is enabled i get the error before it reaches 40%.
After building for about 20 minutes i get the following error - C:\fakepath\cv2.jpg
Can someone help me please ?
Thank you for your time!