Exception thrown: read access violation

I get this error right after the debugging finishes and the app starts.
I don’t know much about visual studio or openframeworks, Im following a tutorial series: I downloaded the same code as the guy making the video, did not modify anything. On his machine it works, on mine I get this message.
All I did was to make his xcode files into visual studio through the project generator.

Here you can find the code and all the files if it helps


I just get this window but no cam preview opens with it