Versions Compared

Key

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

...

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:

...

  1. Assumptions:
    • The workspace is located under the following path:

Image Added

 

...

...

    • Xerces-c

...

    • library is installed

...

    • on the machine.

 

 

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

...

 

Image Added

 

 Click “Next”.                                                                 

 

3.       Such The following window should will appear:

 

Image Added

Image RemovedImage Added

Click “Finish”.

...

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

Image RemovedImage Added

 

          

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

Image Removed

 

 

6.       Add projects dependencies: Path to FixAntenna headers :

...

- for all projects

Image Added

 

                

 

76.       Then add Add paths to libraries (both FixAntenna & xerces-c) - for all projects:

Image RemovedImage Added

 

 

 

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

Image RemovedImage Added

 

 

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

Image RemovedImage Added

 Image Added

Image Removed

 

 

109.   Build targets:

Image Removed

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

Image Added

 

                 

1110.   Now, create Create launch configurations for debug (repeat the same for “Sender”)- for all projects:

Image RemovedImage Added

 

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

Image RemovedImage Added

 

                 

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

Image RemovedImage Added