gaoxiang12 / slam_in_autonomous_driving

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

ch2编译报错 #123

Open sja3015 opened 8 months ago

sja3015 commented 8 months ago

有大佬 看看我这个小问题吗 image

bear-rabbit commented 7 months ago

我也遇到了!我看csdn上的一个博客解决啦https://blog.csdn.net/ht_lf?spm=1010.2135.3001.5343

iFly0523 commented 4 months ago

为啥我在slam_in_autonomous_driving-master目录总体编译了,还是会报和上面一样的error呀。我的是18.04的版本?恳求大佬指导

sja3015 commented 4 months ago

我的是20.04 我之前用18.04总会报奇奇怪怪的问题 改成20.04就没出现过了

iFly0523 @.***> 于2024年2月5日周一 15:34写道:

为啥我在slam_in_autonomous_driving-master目录总体编译了,还是会报和上面一样的error呀。我的是18.04的版本?恳求大佬指导

— Reply to this email directly, view it on GitHub https://github.com/gaoxiang12/slam_in_autonomous_driving/issues/123#issuecomment-1927141122, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQWG4ATU2VW2EXYOFLB7L3DYSDUWTAVCNFSM6AAAAAA6V3QQCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRXGE2DCMJSGI . You are receiving this because you authored the thread.Message ID: @.***>

enguang2 commented 4 months ago

Don't run the Cmake and make command under ch2 directory (actually not under any chapter directory), Please run the Cmake command under the main directory. Look at the CMakeList.txt, which already adds src as a sub directort and then Cmake would do the compilation in an iterative way. The common/eigens_type.h missing is due to the compilation missing of commons folder.