VS2015 version of Camera SDK
Posted: Mon Jan 16, 2017 8:21 am
I was wondering if there is any plan to make a VS2015 version of the Camera SDK. We have converted our codebase to the VS2015 compiler in order to be able to use the new C++11 and C++14 features available in this compiler. Unfortunately, since the Camera SDK is C++ based, it requires the VS2013 (MSVCRT120) runtimes to run. Our own code uses the VS2015 (MSVC140) runtimes. Mixing different C++ runtimes usually is a bad idea and bound to give unpredictable memory-management-based issues.
In our case, we experience a lot of crashes related to the CameraLibrary dll, especially when connecting and disconnecting from the cameras. We use the latest VS2013 cameralibrary dll provided by naturalpoint. It turns out that the behavior is unpredictable when it is used in VS2015 code. When using the same code in our old VS2010 version of the software (with the VS2010 cameralibrary) there were no issues.
It is very nice that you offer the SDK as a C++ interface, simplifying usage, but when it is not updated to new releases of the C++ runtime, we might need to consider a different camera manufacturer that can offer up-to-date libraries.
In our case, we experience a lot of crashes related to the CameraLibrary dll, especially when connecting and disconnecting from the cameras. We use the latest VS2013 cameralibrary dll provided by naturalpoint. It turns out that the behavior is unpredictable when it is used in VS2015 code. When using the same code in our old VS2010 version of the software (with the VS2010 cameralibrary) there were no issues.
It is very nice that you offer the SDK as a C++ interface, simplifying usage, but when it is not updated to new releases of the C++ runtime, we might need to consider a different camera manufacturer that can offer up-to-date libraries.