Need help understanding how to compile a certain package.

asked 2019-02-22 03:47:46 -0500

geistmate gravatar image

Hi, I want to use the LeddarTech M16 driver provided by mcgillis robotics. On the readme there is a step that states:

You must compile this package before being able to run it. You can do so by running:

export LEDDAR_LIB_DIR=/path/to/driver

from the root of your workspace.

But I'm not sure how to do this. I am new to linux command line so if someone can kindly help me I do appreciate it.

edit retag flag offensive close merge delete


Have you been able to follow the steps in the readme up until the compile step? Do you have a catkin workspace?

If so, just type "export LEDDAR_LIB_DIR=/path/to/driver" into the terminal and press enter. Then navigate to the root of your catkin workspace, type catkin_make and press enter again.

SleepyTurtle gravatar image SleepyTurtle  ( 2019-02-22 04:25:41 -0500 )edit

I suggest you start with the ROS tutorials: to get the hang of how the workspace works and how to compile ROS nodes.

SleepyTurtle gravatar image SleepyTurtle  ( 2019-02-22 04:26:30 -0500 )edit