Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

v2_0_cpp_overview

John Byrd edited this page Mar 3, 2019 · 5 revisions

msgpack-c

This is a documentation of msgpack-c

This documentation focuses on C++11 and C++03.

How to use

git clone https://github.com/msgpack/msgpack-c.git cd msgpack-c

Add msgpack-c/include as an include path for your project.

g++ -Ipath_to_msgpack-c/include your_program.cpp

C++11 support

When you set the C++11 or later compiler option, msgpack-c enables C++11 functionalities.

g++ -std=c++11 -Ipath_to_msgpack-c/include your_program.cpp

Test and Install

Configure

cmake .

If you want to test C++11 support, execute

cmake -DMSGPACK_CXX11=ON .

Build libraries for C and tests.

make

Execute tests.

make test

Install

sudo make install

Users guide

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.