Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

 

To configure Eclipse for building and debugging FIX Antenna's samples or your own applications based on FIX Antenna library you can follow these steps:

 

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:

 

 

 

 

 

  • No labels