Hello everyone I've a problem. I want to install opencv2.4.11 in udoobuntu I fellow this article After I finish cmake this step , I make the file I suffer this error --------------------------------------------------------------------------------------------------------------------------------------------------------------------- In file included from /usr/include/GL/glx.h:45:0, from /home/ubuntu/Desktop/opencv-2.4.11/modules/highgui/src/window_QT.cpp:59: /usr/include/GL/gl.h:162:17: error: conflicting declaration 'typedef double GLdouble' /usr/include/qt4/QtOpenGL/qgl.h:85:17: error: 'GLdouble' has a previous declaration as 'typedef GLfloat GLdouble' In file included from /usr/include/GL/gl.h:2085:0, from /usr/include/GL/glx.h:45, from /home/ubuntu/Desktop/opencv-2.4.11/modules/highgui/src/window_QT.cpp:59: /usr/include/GL/glext.h:5327:19: error: conflicting declaration 'typedef ptrdiff_t GLintptr' /usr/include/GLES2/gl2.h:38:26: error: 'GLintptr' has a previous declaration as 'typedef khronos_intptr_t GLintptr' /usr/include/GL/glext.h:5328:19: error: conflicting declaration 'typedef ptrdiff_t GLsizeiptr' /usr/include/GLES2/gl2.h:39:26: error: 'GLsizeiptr' has a previous declaration as 'typedef khronos_ssize_t GLsizeiptr' In file included from /usr/include/qt4/QtCore/qtconcurrentrun.h:50:0, from /usr/include/qt4/QtCore/QtCore:123, from /usr/include/qt4/QtOpenGL/QtOpenGL:3, from /home/ubuntu/Desktop/opencv-2.4.11/modules/highgui/src/window_QT.h:46, from /home/ubuntu/Desktop/opencv-2.4.11/modules/highgui/src/window_QT.cpp:47: /usr/include/qt4/QtCore/qtconcurrentrunbase.h: In member function 'QFuture<T> QtConcurrent::RunFunctionTaskBase<T>::start() [with T = int]': /usr/include/qt4/QtCore/qtconcurrentrun.h:84:111: instantiated from 'QFuture<T> QtConcurrent::run(T (*)(Param1, Param2), const Arg1&, const Arg2&) [with T = int, Param1 = int, Arg1 = int, Param2 = char**, Arg2 = char**]' /home/ubuntu/Desktop/opencv-2.4.11/modules/highgui/src/window_QT.cpp:348:64: instantiated from here /usr/include/qt4/QtCore/qtconcurrentrunbase.h:84:42: warning: declaration of 'future' shadows a member of 'this' [-Wshadow] make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/window_QT.cpp.o] Error 1 make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2 make: *** [all] Error 2 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Then I found some solution,it's tell me install libqt5opengl5 & libqt5opengl5-dev And I enter this instruction. sudo apt-get install libqt5opengl5 libqt5opengl5-dev It jump up this error E: Unable to locate package libqt5opengl5 E: Unable to locate package libqt5opengl5-dev Please teach me to slove this problem , Thank you!!
So,If i want to slove this problem ,I need to fellow this http://www.udoo.org/tutorial/how-to-build-qt5-for-udoo/ ?
Since you want to install it on UDOObuntu 1 and given that is UDOObuntu 1 compatible as it seems, yes you can follow that guide.