ZATiTech / open_planner

Integrated open source planner and related tools for autonomous navigation of autonomous vehicle and mobile robots
Apache License 2.0
26 stars 6 forks source link

fatal error: proj_api.h: No such file or directory #8

Open sayondeep opened 1 year ago

sayondeep commented 1 year ago

From ubuntu 22.04 onwards libproj-dev >=8 does not come with proj_api.h hence causes the build to fail. Can you please help to resolve the issue?

hatem-darweesh commented 1 year ago

Just try to install older version of this library.

sayondeep commented 1 year ago

Hii, thankyou for the reply . I fixed it.

hatem-darweesh commented 1 year ago

great, can you share how so others can benefit from it.

sayondeep commented 1 year ago

My setup: autoware on docker using latest cuda image (Ubuntu 22.04) with ROS2 humble.

Older version (<8) of libproj-dev cannot be installed on ubuntu 22.04. Just procure the proj_api.h file from github repo of PROJ (branch 7.2 worked for me) paste it in directory where the error occurs and change #include to #include"proj_api.h"

sayondeep commented 1 year ago

@hatem-darweesh I wanted some help regarding your setup. In the tutorial you said you are using simulator on another machine. 1) I wanted to know on which machine is carla installed (only on other machine or both machine). 2) For op_bridge and op_agent CARLA_ROOT refers to directory on which machine?