Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2.       Add empty C++ project for each sample executable (for example for “Listener”):

 

 Click “Next”.                                                                 

 

3.       Such window should appear:

...

4.       You should be able to see the project in projects explorer:

Image Modified

 

          

5.       Repeat steps 2-4 for “Sender” to make both projects appeared in projects explorer:

...

12.   Apply changes and click “Debug”. Eclipse should switch into “Debug” perspective and show debugger tracing:

 

 

 

 

 

 

 

1.       We presume our workspace here

 

Fix Antenna distribution is located in a directory above: /home/mute/sample/

Also we presume xerces-c (as FixAntenna dependency) is installed from distribution repository.

 

2.       Add empty C++ project for each sample executable (for example for “Listener”)

 

 

Click “Next”.                                                                 

3.       Such window should appear:

 

 

Click “Finish”.

 

4.       You should be able to see the project in projects explorer:

          

5.       Repeat steps 2-4 for “Sender” to make both projects appeared in projects explorer:

 

 

6.       Add projects dependencies: Path to FixAntenna headers

 

 

                 

7.       Then add paths to libraries (both FixAntenna & xerces-c)

 

 

                 

8.       Be sure to make 6-7 both  for “Listener” & “Sender”, then add reference to FixAntenna library in linker settings tab sheet (also do it for both projects):

 

 

9.       Add build targets for both projects (do the same for “Sender” as for “Listener”)

 

 

 

10.   Build targets:

 

Eclipse should not indicate any errors on this step. If else – please, re-check projects paths/libraries/linker settings.

                 

11.   Now, create launch configurations for debug (repeat the same for “Sender”):

 

 

Specify LD_LIBRARY_PATH under the tab-sheet named “Environment” likewise:

 

                 

12.   Apply changes and click “Debug”. Eclipse should switch into “Debug” perspective and show debugger tracing: