introlab / rtabmap

RTAB-Map library and standalone application
https://introlab.github.io/rtabmap
Other
2.62k stars 763 forks source link

Missing RTABMap-0.14.0-Darwin.dmg from releases #243

Open konradr opened 6 years ago

konradr commented 6 years ago

There is no osx buid for the 0.14.0 release https://github.com/introlab/rtabmap/releases/tag/0.14.0

Ive tried building it from source 11f8fda5 (using brew to install dependencies) but got a build error: cmake ..

-- Info :
--   Version : 0.14.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
--   BUILD_AS_BUNDLE =      OFF
--   CMAKE_CXX_FLAGS =   -std=c++11
--   With OpenCV 3 xfeatures2d module (SIFT/SURF/BRIEF/FREAK) = YES (License: Non commercial)
--   With Freenect             = YES (License: Apache v2 and/or GPLv2)
--   With OpenNI2              = NO (OpenNI2 not found)
--   With Freenect2            = NO (libfreenect2 not found)
--   With dc1394               = NO (dc1394 not found)
--   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            = YES (License: Apache-2)
--   With RealSenseSlam        = NO (WITH_REALSENSE_SLAM=OFF)
--   With OCTOMAP              = NO (octomap not found)
--   With CPUTSDF              = NO (CPUTSDF not found)
--   With libfovis             = NO (libfovis not found)
--   With libviso2             = NO (libviso2 not found)
--   With dvo_core             = NO (dvo_core not found)
--   With ORB_SLAM2            = NO (ORB_SLAM2 not found, make sure environment variable ORB_SLAM2_ROOT_DIR is set)
--   With Qt4                  = YES (License: Open Source or Commercial)
-- --------------------------------------------
-- Configuring done

make
...

[ 37%] Linking CXX shared library ../../../bin/librtabmap_core.dylib
ld: library not found for -lvtkGUISupportQt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [../bin/librtabmap_core.0.14.0.dylib] Error 1
make[1]: *** [corelib/src/CMakeFiles/rtabmap_core.dir/all] Error 2
make: *** [all] Error 2

Thanks in advance! Its a great project!

matlabbe commented 6 years ago

I use macport on my mac, which installs pcl 1.7.2 with vtk5 (then we should install vtk5 with qt4 variant to get QVTKWidget).

with homebrew, it is pcl 1.8.1 with vtk 8 (which has dependencies to qt so I guess QVTKWidget should be there). Make sure first that vtk8 is built with qt to get vtkGUISupportQt. I see an option here that tells if we want to build with qt ($ brew options vtk, I am not used to homebrew, but maybe it is $ brew install vtk --with-qt).

cheers, Mathieu

matlabbe commented 6 years ago

I just added 0.14.0 dmg.