Getting warning massages while running make for Opencv 2.4.9 in ubuntu 14.04

asked 2016-06-22 07:02:13 -0500

lm35 gravatar image

updated 2016-06-22 08:43:20 -0500

unxnut gravatar image

i already had Opencv 2.4.9 installed in my Ubuntu 14.04 machine. But had to uninstall the same. i used "sudo make uninstall". Then I did a fresh make. while running the fresh make I got the following warning messages . Will these warning be harmful to my installation.

In file included from /home/valuser/opencv-2.4.9/build/modules/highgui/qrc_window_QT.cpp:9:0:
/home/valuser/opencv-2.4.9/build/modules/highgui/qrc_window_QT.cpp: In function ‘int qInitResources_window_QT()’:
/home/valuser/opencv-2.4.9/build/modules/highgui/qrc_window_QT.cpp:1749:25: warning: no previous declaration for ‘int qInitResources_window_QT()’ [-Wmissing-declarations]


[ 75%] Building CXX object modules/python/CMakeFiles/opencv_python.dir/src2/cv2.cpp.o
In file included from /home/valuser/opencv-2.4.9/modules/python/src2/cv2.cpp:1151:0:
/home/valuser/opencv-2.4.9/modules/python/src2/cv2.cv.hpp: In function ‘PyObject* pycvCloneMatND(PyObject*, PyObject*)’:
/home/valuser/opencv-2.4.9/modules/python/src2/cv2.cv.hpp:149:14: warning: ‘mat’ may be used uninitialized in this function [-Wmaybe-uninitialized]
             F; \
              ^
In file included from /home/valuser/opencv-2.4.9/modules/python/src2/cv2.cv.hpp:3863:0,
                 from /home/valuser/opencv-2.4.9/modules/python/src2/cv2.cpp:1151:
/home/valuser/opencv-2.4.9/build/modules/python/generated0.i:1427:12: note: ‘mat’ was declared here
   CvMatND* mat;
            ^
In file included from /home/valuser/opencv-2.4.9/modules/python/src2/cv2.cpp:1151:0:
/home/valuser/opencv-2.4.9/modules/python/src2/cv2.cv.hpp: In function ‘PyObject* pycvResetImageROI(PyObject*, PyObject*)’:
/home/valuser/opencv-2.4.9/modules/python/src2/cv2.cv.hpp:149:14: warning: ‘image’ may be used uninitialized in this function [-Wmaybe-uninitialized]
             F; \
              ^
In file included from /home/valuser/opencv-2.4.9/modules/python/src2/cv2.cv.hpp:3863:0,
                 from /home/valuser/opencv-2.4.9/modules/python/src2/cv2.cpp:1151:
/home/valuser/opencv-2.4.9/build/modules/python/generated0.i:5703:13: note: ‘image’ was declared here
   IplImage* image;
             ^
In file included from /home/valuser/opencv-2.4.9/modules/python/src2/cv2.cpp:1151:0:
/home/valuser/opencv-2.4.9/modules/python/src2/cv2.cv.hpp: In function ‘PyObject* pycvSetImageCOI(PyObject*, PyObject*)’:
/home/valuser/opencv-2.4.9/modules/python/src2/cv2.cv.hpp:149:14: warning: ‘image’ may be used uninitialized in this function [-Wmaybe-uninitialized]
             F; \
              ^
In file included from /home/valuser/opencv-2.4.9/modules/python/src2/cv2.cv.hpp:3863:0,
                 from /home/valuser/opencv-2.4.9/modules/python/src2/cv2.cpp:1151:
/home/valuser/opencv-2.4.9/build/modules/python/generated0.i:6197:13: note: ‘image’ was declared here
   IplImage* image;
             ^
In file included from /home/valuser/opencv-2.4.9/modules/python/src2/cv2.cpp:1151:0:
/home/valuser/opencv-2.4.9/modules/python/src2/cv2.cv.hpp: In function ‘PyObject* pycvSetImageROI(PyObject*, PyObject*)’:
/home/valuser/opencv-2.4.9/modules/python/src2/cv2.cv.hpp:149:14: warning: ‘image’ may be used uninitialized in this function [-Wmaybe-uninitialized]
             F; \
              ^
In file included from /home/valuser/opencv-2.4.9/modules/python/src2/cv2.cv.hpp ...
(more)
edit retag flag offensive close merge delete