Outline of the sample program
Execute the sample program with permissions suitable for the access permissions such as the permissions of the access destination (root permissions, etc.).
If you cannot compile normally, check the execution environment and the installation status of the library, and then modify the Makefile and sample program source files as necessary.