Hey,
I have a segmentation error launching RtabMap GUI: Error 4 in libQt5Widgets.so.5.5.1 OS: Ubuntu 16.04 Can you help? Best, Bruno |
Administrator
|
Hi,
can you provide which rtabmap version is used, the cmake output, and the full terminal output of the error? cheers, Mathieu |
Hi,
cmake log -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Checking for module 'eigen3' -- Found eigen3, version 3.2.92 -- Found eigen: /usr/include/eigen3 -- Checking for module 'libopenni' -- Found libopenni, version 1.5.4.0 -- Found openni: /usr/lib/libOpenNI.so -- Checking for module 'libopenni2' -- No package 'libopenni2' found -- Could NOT find OpenNI2 (missing: OPENNI2_LIBRARY OPENNI2_INCLUDE_DIRS) -- The imported target "vtkRenderingPythonTkWidgets" references the file "/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/cmake/vtk-6.2/VTKTargets.cmake" but not all the files it references. -- The imported target "vtk" references the file "/usr/bin/vtk" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/cmake/vtk-6.2/VTKTargets.cmake" but not all the files it references. -- Found libusb-1.0: /usr/include -- Checking for module 'flann' -- Found flann, version 1.8.4 -- Found Flann: /usr/lib/x86_64-linux-gnu/libflann_cpp_s.a -- Found qhull: /usr/lib/x86_64-linux-gnu/libqhull.so -- Checking for module 'libopenni2' -- No package 'libopenni2' found -- Could NOT find OpenNI2 (missing: OPENNI2_LIBRARY OPENNI2_INCLUDE_DIRS) -- Found PCL_COMMON: /usr/lib/x86_64-linux-gnu/libpcl_common.so -- Found PCL_OCTREE: /usr/lib/x86_64-linux-gnu/libpcl_octree.so -- Found PCL_IO: /usr/lib/x86_64-linux-gnu/libpcl_io.so -- Found PCL_KDTREE: /usr/lib/x86_64-linux-gnu/libpcl_kdtree.so -- Found PCL_SEARCH: /usr/lib/x86_64-linux-gnu/libpcl_search.so -- Found PCL_SURFACE: /usr/lib/x86_64-linux-gnu/libpcl_surface.so -- Found PCL_FILTERS: /usr/lib/x86_64-linux-gnu/libpcl_filters.so -- Found PCL_FEATURES: /usr/lib/x86_64-linux-gnu/libpcl_features.so -- Found PCL_REGISTRATION: /usr/lib/x86_64-linux-gnu/libpcl_registration.so -- Found PCL_SAMPLE_CONSENSUS: /usr/lib/x86_64-linux-gnu/libpcl_sample_consensus.so -- Found PCL_GEOMETRY: /usr/include/pcl-1.7 -- Found PCL_SEGMENTATION: /usr/lib/x86_64-linux-gnu/libpcl_segmentation.so -- Found PCL_VISUALIZATION: /usr/lib/x86_64-linux-gnu/libpcl_visualization.so CMake Warning at CMakeLists.txt:182 (MESSAGE): PCL definitions don't contain "-march=native", make sure all libraries using Eigen are also compiled without that flag to avoid some segmentation faults (with gdb referring to some Eigen functions). -- Try OpenMP C flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success -- Try OpenMP CXX flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success -- Found OpenMP: -fopenmp -- Found OpenMP -- Found OpenCV: /usr/include/opencv;/usr/include -- Found PCL: /usr/include/pcl-1.7;/usr/include/eigen3;/usr/include;/usr/include/ni;/usr/include/vtk-6.2;/usr/include/x86_64-linux-gnu;/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent;/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include;/usr/lib/openmpi/include;/usr/lib/openmpi/include/openmpi;/usr/include/jsoncpp;/usr/include/freetype2;/usr/include/x86_64-linux-gnu/freetype2;/usr/include/python2.7;/usr/include/hdf5/serial;/usr/include/tcl;/usr/include/libxml2 -- Found ZLIB: /usr/include -- Found freenect2: /home/brunoeducsantos/freenect2/include CMake Warning at cmake_modules/FindKinectSDK2.cmake:71 (message): Directory "" not found. Call Stack (most recent call first): cmake_modules/FindKinectSDK2.cmake:119 (check_dir) CMakeLists.txt:277 (FIND_PACKAGE) -- KinectSDK2_FOUND : FALSE -- Found DC1394: /usr/include/dc1394 -- Could NOT find CSPARSE (missing: CSPARSE_INCLUDE_DIR CSPARSE_LIBRARY) -- Found Pthreads -- yaml-cpp not found, euroc_dataset tool won't be built... -- -------------------------------------------- -- Info : -- Version : 0.17.0 -- CMAKE_INSTALL_PREFIX = /usr/local -- CMAKE_BUILD_TYPE = Release -- CMAKE_INSTALL_LIBDIR = lib -- BUILD_APP = ON -- BUILD_TOOLS = ON -- BUILD_EXAMPLES = ON -- BUILD_SHARED_LIBS = ON -- CMAKE_CXX_FLAGS = -fmessage-length=0 -fopenmp -- PCL_DEFINITIONS = -DEIGEN_USE_NEW_STDVECTOR;-DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET;-DFLANN_STATIC;-Dqh_QHpointer -- With OpenCV 2 nonfree module (SIFT/SURF) = NO (not found, License: BSD) -- With Freenect = NO (libfreenect not found) -- With OpenNI2 = NO (OpenNI2 not found) -- With Freenect2 = YES (License: Apache v2 and/or GPLv2) -- With Kinect for Windows 2 = NO (Kinect for Windows 2 SDK not found) -- With dc1394 = YES (License: LGPL) -- With FlyCapture2/Triclops = NO (Point Grey SDK not found) -- With TORO = YES (License: Creative Commons [Attribution-NonCommercial-ShareAlike]) -- With g2o = NO (g2o not found) -- With GTSAM = NO (GTSAM not found) -- With VERTIGO = NO (GTSAM or g2o required) -- With cvsba = NO (cvsba not found) -- With libpointmatcher = NO (libpointmatcher not found) -- With ZED = NO (ZED sdk not found) -- With RealSense = NO (librealsense not found) -- With OCTOMAP = NO (octomap not found) -- With CPUTSDF = NO (CPUTSDF not found) -- With OpenChisel = NO (open_chisel not found) -- With libfovis = NO (libfovis not found) -- With libviso2 = NO (libviso2 not found) -- With dvo_core = NO (dvo_core not found) -- With okvis = NO (okvis not found) -- With ORB_SLAM2 = NO (ORB_SLAM2 not found, make sure environment variable ORB_SLAM2_ROOT_DIR is set) -- With Qt5 = YES (License: Open Source or Commercial) -- -------------------------------------------- -- Configuring done -- Generating done -- Build files have been written to: /home/brunoeducsantos/rtabmap/build cheers, Bruno |
Administrator
|
Hi,
Is the crash happen often? You could try starting rtabmap with gdb, then do "bt" (backtrace) when it crashes to have last functions called. $ gdb rtabmap $ run ... (use until crash) $ btCopy paste bt log here. Cheers, Mathieu |
Free forum by Nabble | Edit this page |