Compilation Method and download of libmemcached-win32 Project

Source: Internet
Author: User

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 ~~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.