The C++ SDK you are using is for a different camera series, not the RICOH THETA. There is no SDK for the RICOH THETA that provides C++ examples.
Several other people on this forum downloaded the same SDK you are using. However, it doesn’t appear to work with the THETA.
See this thread:
You can of course attempt your own experiments, but wanted to give you a heads up that other people have tried that SDK and eventually moved to libptp2
If you want to build a Windows Kiosk or are using Windows for some type of monitoring console, this may help: