Library Linking SupportΒΆ

To compile a small application using NVPL Sparse against the dynamic library, the following command can be used:

gcc my_nvpl_sparse_app.c  -lnvpl_sparse  -o my_nvpl_sparse_app

Whereas to compile against the static library, the following command has to be used:

gcc my_nvpl_sparse_app.c  -llibnvpl_sparse_static.a  -o my_nvpl_sparse_app