In order to prepare the framework for use, it is first necessary to build it. This step compiles all the relevant files into a single shared library (libxilinxfintech.so), that may then be linked against by the users application.
A couple of environment setup scripts are provided. These setup several environment variables that are required by the build process.
cd xf_fintech/L3/src source env.csh
cd xf_fintech/L3/src source env.sh
These scripts set up the following environment variables:
- This points to xf_fintech/L3/include
- This points to xf_fintech/L3/src/output (where libxilinxfintech.so is placed after building)
- This points to xf_fintech/ext/xcl2
The script also modifies LD_LIBRARY_PATH to add the location of libxilinxfintech.so to it
Building the library¶
To build libxilinxfintech.so:
cd xf_fintech/L3/src make
After the build is complete, libxilinxfintech.so should be available in xf_fintech/L3/src/output