Archive
Posts Tagged ‘rest’
How to statically link the C++ REST SDK (Casablanca)
April 1, 2014
19 comments
You are trying to use the C++ REST SDK (Casablanca) in your Windows application. You have one of the following problems:
- you need Windows XP support
- when your code executes you receive a debug assertion:
_pFirstBlock == pHead
- you get unpredictable behaviour or random crashing
- you need to build an application which links against static libraries
You have 30 minutes to solve the problem. Here is how:
The issue is that the C++ REST SDK only supports dynamic linking. The solution is to re-build the SDK with static linking. Read more…
Categories: C++, Web Programming, Windows Development
c++ rest sdk, casablanca, rest, static linkage, _pFirstBlock == pHead