rtabmap icon indicating copy to clipboard operation
rtabmap copied to clipboard

"sudo make" errors

Open zengletian1491 opened this issue 2 years ago • 1 comments

When I typed "sudo make", errors occurred as follows: [ 42%] Built target rtabmap_core [ 42%] Generating qrc_GuiLib.cpp /bin/sh: 1: --name: not found make[2]: *** [guilib/src/CMakeFiles/rtabmap_gui.dir/build.make:303:guilib/src/qrc_GuiLib.cpp] 错误 127 make[1]: *** [CMakeFiles/Makefile2:963:guilib/src/CMakeFiles/rtabmap_gui.dir/all] 错误 2 make: *** [Makefile:152:all] 错误 2 Could you give me a hand ? Thanks very much!

zengletian1491 avatar Feb 10 '23 08:02 zengletian1491

First, you should not do sudo when calling make. Second, can you do make VERSBOSE=1 to see linker log?

matlabbe avatar Feb 13 '23 19:02 matlabbe