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:
- 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 executable (for example for “Listener”):
Click “Next”.
3. The following window will appear:
Click “Finish”.
4. You should be able to see the project in projects explorer:
6. Add projects dependencies: Path to FixAntenna headers - for all projects
7. Add paths to libraries (both FixAntenna & xerces-c) - for all projects:
8. Add reference to FixAntenna library in linker settings tab sheet - for all projects:
9. Add build targets for all projects:
10. Build targets:
11. Create launch configurations for debug - for all projects:
Specify LD_LIBRARY_PATH under the “Environment” tab-sheet :
12. Apply changes and click “Debug”. Eclipse should switch into “Debug” perspective and show debugger tracing: