refer this https://github.com/philferriere/cocoapi
However, you may encounter a bug where you cannot open basestd
.h.
The solution is as follows:
For those with Windows 10, download the SDK from here to fix the header file basestd.h
.
I downloaded the .exe, installed and worked great. SDK was ~2.3GB.
Note: For those like me with 64-bit systems who got an additional error:
`LINK : fatal error LNK1158: cannot run 'rc.exe'
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe' failed with exit status 1158
There is a great answer here which solves the problem by placing the rc.exe
file in the correct folder for your system.