If you experience problems installing Open CV from the source, you can try using the ones installed by conda or any other subsystem.
You can read more about Anaconda at their website:
https://conda.io/docs/user-guide/install/download.html
In short, the process is as simple as downloading Miniconda or Anaconda from the website, running installation process, and installing Open CV using the conda install command:
conda install -c conda-forge opencv=3.2.0