Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

Commented Unassigned: Error with cpprest desktop for platform toolset v140 [383]

$
0
0
I am trying to run a basic example for http_listener and I am getting the following runtime error:
> The procedure entry point ?_CallInContext@_ContextCallback@details@Concurrency@@QBEXV?$function@$$A6AXXZ@std@@@Z could not be located in the dynamic link library MSVCP140D.dll.

I am using Visual Studio 2015 RC with the v140 platform toolset, running on windows 7, using the cpprest 2.5.0 v140 sdk from nuget. This is happening on both Debug and Release builds.

I tried using cpprest v120 using the v120 platform toolset in Visual Studio 2015 and that worked.

Here is a minimal repro:
```
#include <cpprest/http_listener.h>

using namespace web::http::experimental::listener;

int main() {
http_listener listener(L"http://localhost:9999");

return 0;
}
```
Comments: Hi amc522, Our NuGet package for the v140 toolset has binaries for VS2015 Preview, not RC. The binaries are not compatible. In the development branch we have the changes done for supporting VS2015 RC. At our next release 2.6.0 we will update the NuGet package to contain binaries compatible with V2015 RC. Until then you will have to build from the sources on CodePlex. Steve

Viewing all articles
Browse latest Browse all 4845

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>