Audio Input Device not recognising

Hello, I am new to OpenFrameworks. I am trying to connect SM57 microphone to my OpenFrameworks code. My laptop recognises the input device but my code doesn’t. I have enabled the microphone but when I run my program I get the error “couldn’t find device 0, only 0 devices found”

please give more info like operating system, computer specs, openFrameworks version and audio interface used.
cheers