ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Turn off msg-generation for lisp

asked 2015-07-12 05:31:11 -0500

NEngelhard gravatar image


I'm currently trying to speed up my build process and just notices the generation of lisp files for my msg/action-files. Is there a simple way to turn that off? Or are they somehow used internally?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-07-12 05:34:41 -0500

gvdhoorn gravatar image

This is fully documented on the wiki. See wiki/ROS/EnvironmentVariables - ROS_LANG_DISABLE:

A colon-separated list of package names for message generators / client libraries that should be disabled. Message-generation will not happen for languages in this list.

For packages build with catkin you need to list the names of the message generators which should be ignored, e.g.:

export ROS_LANG_DISABLE=genlisp

It then goes on to say:

Note that before disabling a language, you should first be very sure that none of the code you're using requires that language's bindings.

edit flag offensive delete link more



"This is fully documented on the wiki." If you know where you have to look ;) Thanks!

NEngelhard gravatar image NEngelhard  ( 2015-07-12 05:37:59 -0500 )edit

I found that using Google: "ros disable message generator", first hit ;)

gvdhoorn gravatar image gvdhoorn  ( 2015-07-12 05:39:40 -0500 )edit

okay, then I really should have tried longer..

NEngelhard gravatar image NEngelhard  ( 2015-07-12 05:53:23 -0500 )edit

still not informative enough. What need to be done to disable them?

CroCo gravatar image CroCo  ( 2022-05-10 09:16:34 -0500 )edit

If you're sure you're still using ROS 1, basically:

export ROS_LANG_DISABLE=genlisp

before building your workspace. That would disable Lisp.

Please refer to the wiki for the available information.

gvdhoorn gravatar image gvdhoorn  ( 2022-05-10 09:34:59 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-07-12 05:31:11 -0500

Seen: 1,805 times

Last updated: Jul 12 '15