...
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:
...
- Assumptions:
- The workspace is located under the following path:
...
- FIX Antenna distribution is located in a directory above: /home/mute/sample/
...
- Xerces-c
...
- library is installed
...
- on the machine.
2. Add empty C++ project for each sample executable (for example for “Listener”):
...
Click “Next”.
3. Such The following window should will 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 :
...
- for all projects
76. Then add Add paths to libraries (both FixAntenna & xerces-c) - for all projects:
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:
98. Add build targets for both projects (do the same for “Sender” as for “Listener”)all projects:
109. Build targets:
Eclipse should not indicate any errors on this step. If else – please, re-check projects paths/libraries/linker settings.
1110. Now, create Create launch configurations for debug (repeat the same for “Sender”)- for all projects:
Specify LD_LIBRARY_PATH under the “Environment” tab-sheet named “Environment” likewise :
1211. Apply changes and click “Debug”. Eclipse should switch into “Debug” perspective and show debugger tracing: