<h1 dir="auto">version</h1>
<p dir="auto">System ==&gt; windows x86_64.<br>
opencv:==&gt;download from OpenCV website.<br>
First use cmake to download, and then use GCC to compile in CMD.</p>
<h1 dir="auto">Error reporting:</h1>
<p dir="auto">gcc: error: long: No such file or directory<br>
D:\MinGW_x86_64\bin\windres.exe: preprocessing failed.<br>
mingw32-make[2]: *** [modules\world\CMakeFiles\opencv_world.dir\build.make:6680: modules/world/CMakeFiles/opencv_world.dir/vs_version.rc.obj] Error 1.<br>
mingw32-make[1]: *** [CMakeFiles\Makefile2:3415: modules/world/CMakeFiles/opencv_world.dir/all] Error 2.<br>
mingw32-make: *** [Makefile:181: all] Error 2.</p>
<h2 dir="auto">After setting the environment variables and configuration files, we are stuck in this step.</h2>
<h1 dir="auto">:(</h1>
<h5 dir="auto">System information (version)</h5>

<ul dir="auto">
<li>OpenCV =&gt; 4.2.0</li>
<li>Operating System / Platform =&gt; :macOS</li>
<li>Compiler =&gt; cmake inside Clion</li>
</ul>
<h5 dir="auto">Detailed description</h5>

<h5 dir="auto">Steps to reproduce</h5>

<p dir="auto">I use a macOS and Xcode along with Clion, I firstly installed using home brew, however that was not a success, something went wrong with a library inside the clang(that time I used Xcode ).<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24605645/74667799-ea142600-51de-11ea-8684-6972ab69bed2.png"><img width="1217" alt="image" src="https://user-images.githubusercontent.com/24605645/74667799-ea142600-51de-11ea-8684-6972ab69bed2.png" style="max-width: 100%;"></a><br>
so ,this time I tried by downloading the source code and compiled with make, nevertheless it still didn't work.<br>
after the installation, the entire set of dylib are missing, I managed to copy the old ones from the version of home brew and tried to wrong, I have tried evertthing I could ,and all I get is still an error</p>