rtiddsgen: Command not found

3 posts / 0 new
Last post
Last seen: 4 years 1 month ago
Joined: 02/23/2019
Posts: 1
rtiddsgen: Command not found


I'm a teaching assistant for "Distributed system concepts and programming" and we have a project to create a simple publisher/subscriber using RTI Connext DDS.

Now, few students have the problem to use "code generator" in RTI launcher and got the error indicating "rtiddsgen: Command not found", although they set the path and environmentariables correctly.

I attached screenshots of the bash and SSH terminal.

Can somebody help, please?

Image icon Bash File76.53 KB
Image icon SSH Terminal682.39 KB
Last seen: 8 hours 47 min ago
Joined: 09/23/2018
Posts: 57

Have you set the NDDSHOME environmental variable?

This refers to the installation directory for Connext DDS. The default installation paths are:
Mac OS X systems:



Last seen: 1 month 3 days ago
Joined: 10/22/2018
Posts: 91

Hi Armina,

It looks to me like the bug could be in your .bash_profile.
Could you try replacing lines 10-14 with:

export PATH=$PATH:$HOME/bin:Applications/rti_connext_dds-5.3.0/bin

Note that for changes you make to your bash_profile to take effect you either need to exit and re-login to the shell, or source the profile from within the current shell (source ~/.bash_profile).