It is recommended to include the L2 (graph) library element in your design, i.e., a subgraph. For example, to include Cholesky, include cholesky_graph.hpp from L2/include/aie/. The test harness for each library unit illustrates how to instantiate a parameterized graph; see L2/tests/aie/<library_element>/test.hpp and test.cpp.
Set the environment variable to SOLVERLIB_ROOT.
setenv SOLVERLIB_ROOT <your-vitis-libraries-install-path/solver>
Note
Use setenv for csh and export SOLVERLIB_ROOT=<path> for bash.
Use the following option in the aiecompiler command to provide the path:
-include=$SOLVERLIB_ROOT/L2/include/aie/ -include=$SOLVERLIB_ROOT/L1/include/aie -include=$SOLVERLIB_ROOT/L1/src/aie