ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

saamishon's profile - activity

2015-03-21 23:53:46 -0500 received badge  Popular Question (source)
2015-03-21 23:53:46 -0500 received badge  Famous Question (source)
2015-03-21 23:53:46 -0500 received badge  Notable Question (source)
2015-03-16 13:28:47 -0500 received badge  Notable Question (source)
2015-03-16 13:28:47 -0500 received badge  Famous Question (source)
2015-01-08 02:01:38 -0500 received badge  Popular Question (source)
2015-01-08 01:29:53 -0500 answered a question opencv compilation error

Yes. I'm sorry. I still cant figure out how to compile the opencv with OPENGLES. I use ODROID XU3. It says it will support only OPENGLES and not the generic OPENGL. I'm a newbie in linux.

The odroid forum people told Qt4 does not support OPENGLES. But Qt5 does. http://forum.odroid.com/viewtopic.php...

After updating to Qt5, i did not get any of the above errors except one. http://code.opencv.org/issues/3411

i followed these instructions to install opencv http://www.samontab.com/web/2014/06/i...

The examples given work well in PC. But not in ARM architecture when compiling codes using OPENGL.

Thank you.

2015-01-07 10:09:40 -0500 asked a question opencv compilation error
In file included from /usr/include/GL/gl.h:2059:0,
                 from /usr/include/GL/glx.h:32,
                 from /home/odroid/opencv-3.0/modules/highgui/src/window_QT.cpp:59:
/usr/include/GL/glext.h:468:19: error: conflicting declaration ‘typedef std::ptrdiff_t GLsizeiptr’
 typedef ptrdiff_t GLsizeiptr;
                   ^
In file included from /usr/include/qt4/QtOpenGL/qgl.h:79:0,
                 from /usr/include/qt4/QtOpenGL/QtOpenGL:5,
                 from /home/odroid/opencv-3.0/modules/highgui/src/window_QT.h:46,
                 from /home/odroid/opencv-3.0/modules/highgui/src/window_QT.cpp:47:
/usr/include/GLES2/gl2.h:69:25: error: ‘GLsizeiptr’ has a previous declaration as ‘typedef khronos_ssize_t GLsizeiptr’
 typedef khronos_ssize_t GLsizeiptr;
                         ^
In file included from /usr/include/GL/gl.h:2059:0,
                 from /usr/include/GL/glx.h:32,
                 from /home/odroid/opencv-3.0/modules/highgui/src/window_QT.cpp:59:
/usr/include/GL/glext.h:469:19: error: conflicting declaration ‘typedef std::ptrdiff_t GLintptr’
 typedef ptrdiff_t GLintptr;
                   ^
In file included from /usr/include/qt4/QtOpenGL/qgl.h:79:0,
                 from /usr/include/qt4/QtOpenGL/QtOpenGL:5,
                 from /home/odroid/opencv-3.0/modules/highgui/src/window_QT.h:46,
                 from /home/odroid/opencv-3.0/modules/highgui/src/window_QT.cpp:47:
/usr/include/GLES2/gl2.h:70:26: error: ‘GLintptr’ has a previous declaration as ‘typedef khronos_intptr_t GLintptr’
 typedef khronos_intptr_t GLintptr;
                          ^
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
2015-01-07 10:09:40 -0500 asked a question error in opencv compilation

I get the following errors in ODROID XU3. Help please.

In file included from /usr/include/GL/gl.h:2059:0,

from /usr/include/GL/glx.h:32,

from /home/odroid/opencv-3.0/modules/highgui/src/window_QT.cpp:59:

/usr/include/GL/glext.h:468:19: error: conflicting declaration ‘typedef std::ptrdiff_t GLsizeiptr’

typedef ptrdiff_t GLsizeiptr; ^

In file included from /usr/include/qt4/QtOpenGL/qgl.h:79:0,

from /usr/include/qt4/QtOpenGL/QtOpenGL:5,

from /home/odroid/opencv-3.0/modules/highgui/src/window_QT.h:46,

from /home/odroid/opencv-3.0/modules/highgui/src/window_QT.cpp:47:

/usr/include/GLES2/gl2.h:69:25: error: ‘GLsizeiptr’ has a previous declaration as ‘typedef khronos_ssize_t GLsizeiptr’

typedef khronos_ssize_t GLsizeiptr; ^

In file included from /usr/include/GL/gl.h:2059:0,

from /usr/include/GL/glx.h:32,

from /home/odroid/opencv-3.0/modules/highgui/src/window_QT.cpp:59:

/usr/include/GL/glext.h:469:19: error: conflicting declaration ‘typedef std::ptrdiff_t GLintptr’

typedef ptrdiff_t GLintptr; ^

In file included from /usr/include/qt4/QtOpenGL/qgl.h:79:0,

from /usr/include/qt4/QtOpenGL/QtOpenGL:5,

from /home/odroid/opencv-3.0/modules/highgui/src/window_QT.h:46,

from /home/odroid/opencv-3.0/modules/highgui/src/window_QT.cpp:47:

/usr/include/GLES2/gl2.h:70:26: error: ‘GLintptr’ has a previous declaration as ‘typedef khronos_intptr_t GLintptr’

typedef khronos_intptr_t GLintptr; ^ 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