суббота, 23 марта 2013 г.

Libcurl and linker errors

If you were to install libcurl on Windows you could come across a bulk of linker errors such as
Error 1176 error C2065: '_SH_DENYNO' : undeclared identifier c:\program files (x86)\microsoft visual studio 10.0\vc\include\xiosbase
How to fix it? Go to curl sources, rename share.h to share_curl.h for instance and replace all occurences of
#include "share.h"
with
#include "share_curl.h
Then recompile libcurl.

Комментариев нет :