gaoxiang12 / slam_in_autonomous_driving

《自动驾驶中的SLAM技术》对应开源代码
1.91k stars 467 forks source link

Docker compilation #92

Closed Alwen-V closed 1 year ago

Alwen-V commented 1 year ago

Thanks to Dr. Gao for his contribution. And I have something confusing: When I compiled the project in docker mode according to readme, I found that I still need to compile g20 and Pangolin, but I have compiled these two libraries in Dockerfile. Why?

gaoxiang12 commented 1 year ago

@Alwen-Yan-edu The Docker support is merged from PR #91, and I have not tested it yet. The project looks for g2o and pangolin in the thirdparty/ directory. So if you want to set it to any other places, you should modify the corresponding CMakeLists.txt.

Alwen-V commented 1 year ago

I have finished compiling the container and got the executable file. But I got an error at runtime. :< FJU)WQGXR`35 (53$_I8) Q

xhKuo commented 6 months ago

I have finished compiling the container and got the executable file. But I got an error at runtime. :< FJU)WQGXR`35 (53$_I8) Q

Hello, I also encountered the same problem. Could you please tell me how you finally solved this problem? I have installed G2O and the pangolin library in /usr/local issue

kktfox commented 5 months ago

I have finished compiling the container and got the executable file. But I got an error at runtime. :< FJU)WQGXR`35 (53$_I8) Q

Did you solve the problem?

kktfox commented 5 months ago

use this: export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH can solve the question