LoginSignup
4
2

More than 5 years have passed since last update.

msgpack-c(messagepackのc実装)をVSでビルド

Posted at

前提条件

Microsoft Visual Studio 2013 がインストールされている Windows OS 上とする。

msgpack-c の ダウンロード

  • https://github.com/msgpack/msgpack-c の "Download ZIP" のボタンからzipファイルをダウンロード(GITでもよいが今回はこの手法で)
  • 適当なフォルダに解凍

cmake の ダウンロード

  • msgpack-c を VS でビルドするには cmake が必要ですので、以下のURLからダウンロード
  • http://www.cmake.org/
  • 私がダウンロードしたときは3.0.1が最新でした

ビルド

  • cmake-gui.exeを起動し、Where is the source code:Where to build the binaries:にmsgpack-cの解凍フォルダを指定
  • 下部のConfigureボタンを押し、終わったらその横のGenerateボタンを押す。
  • msgpack-c解凍フォルダにslnファイルが生成されているので起動し、ソリューションのリビルドを実行すれば、ビルドされる。
4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2