hku-mars / LiDAR_IMU_Init

[IROS2022] Robust Real-time LiDAR-inertial Initialization Method.
GNU General Public License v2.0
803 stars 138 forks source link

源码编译报错 #72

Closed 5204338 closed 11 months ago

5204338 commented 12 months ago

aserMapping.cpp:951:37: error: ‘omp_fout_out’ was not declared in this scope; did you mean ‘fout_out’? 951 | double t_update_start = omp_fout_out.close(); laserMapping.cpp:974:5: error: ‘get_wtime’ was not declared in this scope; did you mean ‘getitimer’? 974 | get_wtime(); 大佬有空帮忙解决一下,我C++比较差

5204338 commented 12 months ago

大佬你是不是最近修改了什么代码,导致源码有问题了

zfc-zfc commented 12 months ago

omp_fout_out 你的报错里提到的“omp_fout_out”和“get_wtime”,在这个仓库里的laserMapping.cpp都不存在。你是不是编译错代码了,编译的FAST-LIO?

5204338 commented 11 months ago

是的,后面我自己发现问题了,电脑很卡,导致我之前没出错的代码出问题了,然后让我感觉问题出在新的代码里,自己比较粗心,没仔细看报错来者,谢谢您

5204338 commented 11 months ago

问题已解决