<h5 dir="auto">System information (version)</h5>

<ul dir="auto">
<li>OpenCV =&gt; ❔4.4.0</li>
<li>Operating System / Platform =&gt; ❔Linux</li>
<li>Compiler =&gt; <g-emoji class="g-emoji" alias="grey_question" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2754.png">❔</g-emoji>Cmake</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/51939859/94694116-aed5fa00-035e-11eb-83ed-ac38afe98122.png"><img src="https://user-images.githubusercontent.com/51939859/94694116-aed5fa00-035e-11eb-83ed-ac38afe98122.png" alt="Screenshot from 2020-09-30 20-14-40" style="max-width: 100%;"></a></p>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cmake -D CMAKE_BUILD_TYPE=RELEASE \
    -D CMAKE_INSTALL_PREFIX=/usr/local \
    -D INSTALL_C_EXAMPLES=ON \
    -D INSTALL_PYTHON_EXAMPLES=ON \
    -D WITH_TBB=ON \
    -D WITH_V4L=ON \
    -D WITH_QT=ON \
    -D WITH_OPENGL=ON \
    -D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules \
    -D BUILD_opencv_python3=ON \
    -D PYTHON3_EXECUTABLE=/usr/bin/python3.6m \
    -D PYTHON3_LIBRARIES=/usr/lib/x86_64-linux-gnu/libpython3.6m.so \
    -D PYTHON3_NUMPY_INCLUDE_DIRS=/usr/local/lib/python3.6/dist-packages/numpy/core/include \
    -D BUILD_EXAMPLES=ON ..
"><pre class="notranslate"><code class="notranslate">cmake -D CMAKE_BUILD_TYPE=RELEASE \
    -D CMAKE_INSTALL_PREFIX=/usr/local \
    -D INSTALL_C_EXAMPLES=ON \
    -D INSTALL_PYTHON_EXAMPLES=ON \
    -D WITH_TBB=ON \
    -D WITH_V4L=ON \
    -D WITH_QT=ON \
    -D WITH_OPENGL=ON \
    -D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules \
    -D BUILD_opencv_python3=ON \
    -D PYTHON3_EXECUTABLE=/usr/bin/python3.6m \
    -D PYTHON3_LIBRARIES=/usr/lib/x86_64-linux-gnu/libpython3.6m.so \
    -D PYTHON3_NUMPY_INCLUDE_DIRS=/usr/local/lib/python3.6/dist-packages/numpy/core/include \
    -D BUILD_EXAMPLES=ON ..

</code></pre></div>
<p dir="auto">I build opencv vs opencv_contrib. This is my problem, somebody help me with ..!</p>
<h5 dir="auto">System information (version)</h5>

<ul dir="auto">
<li>OpenCV =&gt; : OpenCV 3</li>
<li>Operating System / Platform =&gt; ros-melodic-desktop-full on Manjaro</li>
<li>Compiler =&gt; :gcc 9.1</li>
</ul>
<h5 dir="auto">Detailed description</h5>

<p dir="auto">I'm installing ROS in my linux but when bulding  opencv i get a segmentation Fault in the function InitDefaultsMethodImpl()  i got this message:<br>
during GIMPLE pass: wrestrict<br>
En la función ‘void protobuf_google_2fprotobuf_2fapi_2eproto::InitDefaultsMethodImpl()’:<br>
Violación de segmento<br>
67 | void InitDefaultsMethodImpl() {<br>
|      ^~~~~~~~~~~~~~~~~~~~~~<br>
Por favor, envíe un informe completo de errores,<br>
con el código preprocesado si es apropiado.<br>
Véase <a href="https://bugs.archlinux.org/" rel="nofollow">https://bugs.archlinux.org/</a> para instrucciones.<br>
make[2]: *** [3rdparty/protobuf/CMakeFiles/libprotobuf.dir/build.make:401: 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/api.pb.cc.o] Error 1<br>
make[1]: *** [CMakeFiles/Makefile2:325: 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/all] Error 2<br>
make: *** [Makefile:163: all] Error 2<br>
==&gt; ERROR: Se produjo un fallo en build().</p>