Point Cloud qt-creator with PCL library, Linux





  • Dear All,

    Does anyone have an experience with getting a 3D point cloud with qt-creator in combination with pcl library or opencv?

    Andrey


  • Lifetime Qt Champion

    Hi,

    Do you mean something like described here ?



  • Yes, thank you for the link.
    For now it causes some EGL error on qt creator start though.
    Are there ways to resolve the qtcreator EGL dependency?


  • Lifetime Qt Champion

    Where are you running Qt Creator ? On the TK1 directly or on a desktop computer ?



  • I'm running[I has been running] , I was attempting to run the qt-creator at a jetson jtk, but due to some experiments the OS got down and I will continue investigating the issue after flashing[reinstalling ] the OS.
    Thank you.
    Andrey



  • What could have caused :
    [ 37%] Building CXX object rgbdslam_v2/CMakeFiles/rgbdslam.dir/src/glviewer.cpp.o
    In file included from /usr/include/GL/freeglut_std.h:128:0,
    from /usr/include/GL/glut.h:17,
    from /home/ubuntu/catkin_ws/src/rgbdslam_v2/src/glviewer.cpp:24:
    /usr/include/GL/gl.h:138:17: error: conflicting declaration ‘typedef double GLdouble’
    typedef double GLdouble; /* double precision float */
    ^
    In file included from /usr/include/qt4/QtOpenGL/QtOpenGL:5:0,
    from /home/ubuntu/catkin_ws/src/rgbdslam_v2/src/glviewer.cpp:22:
    /usr/include/qt4/QtOpenGL/qgl.h:85:17: error: ‘GLdouble’ has a previous declaration as ‘typedef GLfloat GLdouble’
    typedef GLfloat GLdouble;
    ^
    In file included from /usr/include/GL/gl.h:2059:0,
    from /usr/include/GL/freeglut_std.h:128,
    from /usr/include/GL/glut.h:17,
    from /home/ubuntu/catkin_ws/src/rgbdslam_v2/src/glviewer.cpp:24:
    /usr/include/GL/glext.h:468:19: error: conflicting declaration ‘typedef 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/ubuntu/catkin_ws/src/rgbdslam_v2/src/glviewer.cpp:22:
    /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/freeglut_std.h:128,
    from /usr/include/GL/glut.h:17,
    from /home/ubuntu/catkin_ws/src/rgbdslam_v2/src/glviewer.cpp:24:
    /usr/include/GL/glext.h:469:19: error: conflicting declaration ‘typedef 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/ubuntu/catkin_ws/src/rgbdslam_v2/src/glviewer.cpp:22:
    /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]: * [rgbdslam_v2/CMakeFiles/rgbdslam.dir/src/glviewer.cpp.o] Error 1
    make[1]: * [rgbdslam_v2/CMakeFiles/rgbdslam.dir/all] Error 2
    make: * [all] Error 2
    Invoking "make -j1 -l1" failed

    Regards,


  • Lifetime Qt Champion

    In what order to you have your includes ?



  • It turned out that the project I've tried to compile sadly doesn't support embedded platforms :https://github.com/kbalisciano/rgbdslam_v2.
    It is said by its author that there are chances to run the project after "cut of" 3D from the files, though.



  • thx, qt vizualizer which is pcl_vizualizer works fine with the Jetson JTK1 after the last Tegra release installed. It hardly helps get 3d reconstruction using RGB camera though.
    Andrey


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.