05-29-2018 02:41 AM
I'm new to Visual Studio and I'm really having a hard time to set everything up.
I'd like to use the 'Casablanca' http_client library (C++ REST SDK) but when I try to include http_client.h I get an error message.
According the documentation https://github.com/Microsoft/cpprestsdk/wiki/Getting-Started-Tutorial I should use vcpkg to install it, but this is not available for VS 12.0
Should I upgrade Visual Studio or will that lead to more troubles? What other options do I have?
05-29-2018 11:41 PM
I've just tried to use Visual Studio 15.0. Compiling my dll went just fine, but when I try to run the Spatial Modeler Editor I get an assertion fail
Debug Assertion Failed!
Program: ...\Hexagon\Spatial Modeler SDK 2018\bin\Win32Debug\smeditor.exe
Is there anything I can do to prevent this?
05-30-2018 06:55 AM
I found out that the C++ REST SDK is part of Studio 2013 after all. Now I'm able to compile successfully. But now the Spatial Modeller Editor dies without errormessage when I add the line
Is there a way to find out what's going wrong here?
05-30-2018 12:02 PM
The supported version of Visual Studio for SMSDK 2018 is VS 2013 (12.0). You could try a later version, but there is no guarantee that the SMSDK would work with it.
06-07-2018 08:19 AM
The SMSDK 2018 is, of course, built in support of ERDAS IMAGINE 2018 (and other products) and both products are released. Since the code was built internally by us using Visual Studio 2013 that's the officially supported compiler to use. As Ruth mentions you may be able to get later compilers working as well, but they wouldn't be considered officially supported.
Since the products are released we wont (can't) be making changes to the compiler we used to produce them. However we certainly have plans to move to a newer version of Visual Studio for the next major release of the SMSDK and ERDAS IMAGINE.