introlab / rtabmap

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

build issue #1319

Open luke0911 opened 3 months ago

luke0911 commented 3 months ago

I downloaded the source and tried to build it on my iPhone 12, but I got a build error. At first, there was an rtabmap/utilite/ULogger.h' file not found error, and I tried to fix it through header search paths. Of course, I also completed installing the command through terminal. The header search paths changed and proceeded as follows, but another error occurred. Please check. I think I've done all the related methods.

The environment is as follows. macOS Sonoma 14.6 iPhone 12 17.5.1 Xcode 15.0.1

스크린샷 2024-08-01 오후 3 19 34 스크린샷 2024-08-01 오후 3 21 16
matlabbe commented 3 months ago

See "To build from source" guide here: https://github.com/introlab/rtabmap/wiki/Installation#ios

drawrs commented 2 months ago

https://github.com/introlab/rtabmap/wiki/Installation#ios

Hi, got another error after adding Search Path, I need your help to fix this. Thanks Screenshot 2024-09-03 at 22 28 42

drawrs commented 2 months ago

I did follow the guide. I'm using cmake version 3.30.3

matlabbe commented 2 months ago

Can you find that file (utilite_export.h) under rtabmap/app/ios/RTABMapApp/Libraries/include/rtabmap-0.21/rtabmap/utilite ?

Note that if rtabmap/app/ios/RTABMapApp/Libraries/include/rtabmap-0.21 folder is missing, something went wrong when executing script install_deps.sh.