Search:

Search all manuals
Search this manual
Manual
Couchbase Client Library C (libcouchbase) 2.0
Community Wiki and Resources
Wiki: C and C++ Client Library
Download Client Library (source)
C and C++ Client Library
Couchbase Developer Guide 2.0
Couchbase Server Manual 2.0
SDK Forum
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
1 Getting Started
Chapter Sections
Chapters

1.5. Installing from Source: Microsoft Windows

Building and installing on Microsoft Windows depends on nmake and tools in Microsoft Visual Studio 2010.

Open the Visual Studio Command Prompt, and navigate to the directory for the extracted archive for libvbucket. The NMakefile defines an INSTALL variable as C:\local. Edit the NMakefile if you wish to change the installation location. Then build and install libvbucket:

shell> nmake -f NMakefile install

Because it uses memcached binary protocol, libcouchbase requires header files from the memcached project. After obtaining the memcached source, copy memcached.h and protocol_binary.h into c:\local\include\memcached.

Then navigate to the directory for libcouchbase. Edit the NMakefile if you wish to change the installation location, then build and install libcouchbase:

shell> nmake -f NMakefile install