Building with MinGW on windows - failing on chmod
Hi,
I am trying to build OpenCV with MinGW on windows. The cmake configures as expected, but the make fails on libopencv_core_pch_dephelp.a with an error pointing to chmod?! As I understand it there is no chmod in windows. I am wondering if it is a bug in the cmake build or in the MinGW compiler. Can someone please clarify? Attached is a screen dump of the error.
please, no screenshots of code or errormsgs here, those are absolutely useless, we can't quote you, it can't be indexed for search, and you're only stealing other ppl's bandwidth.
please EDIT your question, remove the image, and replace it with some text output, thank you.
try to run cmake from a simple
cmd.exe
, not powershell.also, please disable precompiled headers, when using mingw:
(clean build folder / cmake output and re-run cmake)
Hi Berak,
Thank you so much. OpenCV now builds and runs. Wonder why it would not work with powershell.
Becky.