firs you should install the ids driver for linux https://en.ids-imaging.com/download-ueye-lin64.html
then download all file in here and open setup folder then run this comment in terminal:
after this comment you can use example code...... Good luck...