RGBDSlam_V2 Error with make
Hey so I'm running hydro compiled from source on XUbuntu 13.10 ARM for Odroid. When I try to run make, or catkin_make, on my root directory, I get this error.
In file included from /home/odroid/rgbdslam_catkin_ws/build/rgbdslam_v2-hydro/src/../../../src/rgbdslam_v2-hydro/src/renderable.h:4:0,
from /home/odroid/rgbdslam_catkin_ws/build/rgbdslam_v2-hydro/src/../../../src/rgbdslam_v2-hydro/src/glviewer.h:25,
from /home/odroid/rgbdslam_catkin_ws/build/rgbdslam_v2-hydro/src/moc_glviewer.cxx:10:
/usr/include/GL/gl.h:162:17: error: conflicting declaration 'typedef double GLdouble'
typedef double GLdouble; /* double precision float */
^
In file included from /usr/include/qt4/QtOpenGL/QGLWidget:1:0,
from /home/odroid/rgbdslam_catkin_ws/build/rgbdslam_v2-hydro/src/../../../src/rgbdslam_v2-hydro/src/glviewer.h:20,
from /home/odroid/rgbdslam_catkin_ws/build/rgbdslam_v2-hydro/src/moc_glviewer.cxx:10:
/usr/include/qt4/QtOpenGL/qgl.h:85:17: error: 'GLdouble' has a previous declaration as 'typedef GLfloat GLdouble'
typedef GLfloat GLdouble;
^
make[2]: * [rgbdslam_v2-hydro/CMakeFiles/rgbdslam.dir/src/moc_glviewer.o] Error 1
make[1]: * [rgbdslam_v2-hydro/CMakeFiles/rgbdslam.dir/all] Error 2
make: * [all] Error 2
I've looked on the internet and this seems to be a problem with Qt OpenGL ES2 , but I am a wee beginner and I have no idea how to fix that myself. I have qt4.8.4 kernel 3.8.13.16 gcc 4.8.1
Actually renaming one of the variables in one of the files should do it. I guess this is a legitimate bug then?