Memcached is required because of work requirements. Therefore, the client API for C ++ under memcached must be used. libmemcached is usually used for searching. Due to work needs, Linux environment and Windows environment are required, Linux is easy to do, http://libmemcached.org can be downloaded directly, but Win32, the link recommended on the official website is bzr. After one day of hard work, I gave up the launchpad resource acquisition method ...... Search, found that there is SVN version, address: http://svn.coderepos.org/share/lang/c/libmemcached-win32 (hateful ah, waste me a day ......), So I came down.
Then we found that there was a visual C prj directly in it, so we opened it directly, but an error occurred during Link (sigh ). Continue to Google and find an article http://hi.baidu.com/higkoo/blog/item/e991398240f833b20df4d262.html. Thanks for using the above method to finally compile the required DLL. Haha ~~~
The method is as follows:
Use nmake to compile and open Visual Studio Command Prompt:
CD libmemcached-Latest/libmemcached
Nmake-F makefile. MSC
Finally, we have obtained the required DLL ~~ Haha ~~ Thank you for providing your reference ~~