Jetson Nano with temp sensor open error for aditof-demo

I can run the imshow-jetson example but when running aditof-demo gets these error message

Error temperature sensor open: Inappropriate ioctl for device

Please help