Note that there are some explanatory texts on larger screens.

plurals
  1. POopencv 2.4.5 compilation errors (gpu_info.cpp)
    primarykey
    data
    text
    <p>first of all I want to congratulate all the people that helps to make this site so unique and helpful as it is.</p> <p>After that little introduction here is my question: </p> <p>I'm trying to compile the last OpenCV version on Ubuntu 12.04 (32 bits) and I'm always getting the next errors:</p> <pre><code> **/home/srt/opencv/modules/core/src/gpu_info.cpp:468:34: error: no hay una función miembro ‘int cv::gpu::DeviceInfo::minor() const’ declarada en la clase ‘cv::gpu::DeviceInfo’** cc1plus: aviso: no se reconoce la opción de línea de órdenes "-Wno-unnamed-type-template-args" [activado por defecto] cc1plus: aviso: no se reconoce la opción de línea de órdenes "-Wno-delete-non-virtual-dtor" [activado por defecto] cc1plus: aviso: no se reconoce la opción de línea de órdenes "-Wno-narrowing" [activado por defecto] make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/src/gpu_info.cpp.o] Error 1 make[2]: *** Se espera a que terminen otras tareas.... cc1plus: aviso: no se reconoce la opción de línea de órdenes "-Wno-unnamed-type-template-args" [activado por defecto] cc1plus: aviso: no se reconoce la opción de línea de órdenes "-Wno-delete-non-virtual-dtor" [activado por defecto] cc1plus: aviso: no se reconoce la opción de línea de órdenes "-Wno-narrowing" [activado por defecto] make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 make: *** [all] Error 2 </code></pre> <p>I tried uninstalling FFMPEG and using different cmake flags but nothing changes. I also tried searching on the web for related problems but I only found the FFMPEG recommendation but nothing about the gpu_info.cpp. Is this file necessary for the compilation or I should try to exclude it from it somehow?</p> <p>(I followed this tutorial for installing all the necessary files: <a href="http://www.ozbotz.org/opencv-installation/" rel="nofollow">http://www.ozbotz.org/opencv-installation/</a> and here I found a similar question but none of the recommendations worked for me: <a href="http://www.ozbotz.org/opencv-installation/" rel="nofollow">http://stackoverflow.com/questions/16321616/opencv-2-4-5-make-error</a> )</p> <p>Thanks in advance. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload