AgML icon indicating copy to clipboard operation
AgML copied to clipboard

Fatal error LiDAR.h No such file or directory

Open Vincent-WangCH opened this issue 2 years ago • 6 comments

I have update from agml=0.4.6 to agml=0.5.0 and encounter "fatal error: LiDAR.h: No such file or directory" error when running "agml.synthetic.reinstall_helios()".

I have tried to use "pip install lidar" and that doesn't solve the error.

I am using wsl2 with win11

Vincent-WangCH avatar May 30 '23 18:05 Vincent-WangCH

Hey @Vincent-WangCH, you need to use the lidar_enabled option: e.g., agml.synthetic.reinstall_helios(lidar_enabled = True). The lidar PyPi package is not used in this project, so pip install lidar won't do anything. Let me know if this helps.

amogh7joshi avatar Jun 02 '23 21:06 amogh7joshi

@Vincent-WangCH, are you still having trouble with this issue?

amogh7joshi avatar Jul 14 '23 19:07 amogh7joshi

Hey @amogh7joshi I have tried the mentioned step above but I'm getting the below error. Could you please help me ?

TypeError Traceback (most recent call last) Cell In[3], line 1 ----> 1 agml.synthetic.reinstall_helios(lidar_enabled = True)

TypeError: reinstall_helios() got an unexpected keyword argument 'lidar_enabled'

sahith-vancha avatar Aug 31 '23 23:08 sahith-vancha

@dariojavo Any thoughts on this?

masonearles avatar Sep 02 '23 23:09 masonearles

Hi @sahith-vancha,

I imagine you are having the LiDAR.h: No such file or directory error prior to this one. Could you please try to remove your Helios installation folder manually? You can find it in the corresponding environment that you are using. For example:

/home/user/anaconda3/envs/example/lib/python3.8/site-packages/agml/_helios/Helios/

you can remove the 'Helios' folder and run your code again. Now, the latest version of Helios will be download with the updates that we have made to run it from AgML, including the LiDAR plugin.

dariojavo avatar Sep 05 '23 04:09 dariojavo

@Vincent-WangCH Did this resolve your issue?

masonearles avatar May 01 '24 20:05 masonearles