Can't find ndds header files ndds/ndds_cpp.h

2 posts / 0 new
Last post
Offline
Last seen: 2 months 1 day ago
Joined: 03/25/2020
Posts: 1
Can't find ndds header files ndds/ndds_cpp.h

 I've set the enviroment variable in .bashrc  while installation:

export NDDSHOME=/home/myName/rti_connext_dds-6.0.1

But, when I tried to run the example in file: rti_workspace/6.0.1/examples/connext_dds/c++. And I found that the IDE (VIM) shows the follwing errors:

 

To solve this , I added  the following environment variables in .bashrc file agian:

export DDSEXAMPLE=/home/myName/rti_workspace/6.0.1/examples

export LD_LIBRARY_PATH=${LD_LIBRARY}:/home/myName/rti_connext_dds-6.0.1/lib/x64Linux3gcc5.4.0:/home/myName/rti_connext_dds-6.0.1/lib/java

export NDDSINCLUDE=${NDDSHOME}/include

But , these dosen't help.Now, I have no idea about problem.Can anyone help? 

irwin's picture
Offline
Last seen: 6 days 10 hours ago
Joined: 08/14/2010
Posts: 41

Hi,

   To start out, I cannot read your thumbnail picture, I would suggest tht you swipe yyour Linux shell. Copy all that is pertiment to a text file and attach or past all that stuff on your inquiry.

Secondly, I would suggest that you follw the instructions in the RTI Connext DDS Installation Guide and thengo to RTI_DDS_CoreLibraries Getting Started Guids Chapter 4 "Building and Running Hello World".

That all being said the only environment variables you need is:

export NDDSHOME=/home/myName/rti_connext_dds-6.0.1

If you are doing dynamic linking you need the LD_LIBRARY_PATH. By default examples are staticall linked, so you do not nned it.

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/home/myName/rti_connext_dds-6.0.1/lib/x64Linux3gcc5.4.0

Lastly, please send my yout make file.

 

               Irwin