See here: [Megathread] Newbie FAQs (Astra PRO)
Long story short, SimpleDepthViewer-SFML sample should work but MultiSensorViewer-SFML and SimpleColorViewer-SFML will be black on MacOS due what sounds like an issue in the SDK for Mac. You can use UVC (webcam) if you require colorframes
Not sure about your OpenCV/OpenNI trouble