I am trying to run sample app (opencv-webcam-demo) and it crashes at the beginning of program while creating face listener. I have followed steps mentioned @ https://github.com/Affectiva/cpp-sdk-samples
shared_ptr faceListenPtr(new AFaceListener());.
However, if I just do “new AFaceListener()” without shared_ptr initiation then no crash is observed.
Need help to debug this crash.