Trouble using cmake on source code

opencv version ? mingw version ?

so, this happens, while building the libs ?

can you show a bit more output around the error(s), please ?