openframeworks:0.10とofxmidi

最新(平成31年2月16日現在)のof, version.0.10にそのままofxMidiを入れてもエラーがでます.namespaceに関するもので,stringやvector等に関するエラーが出てきます.エラーが出力される ofxMidiMessage.hの最初に ofMain.hをインクルードしてあげればOKです.

/*
 * Copyright (c) 2013 Dan Wilcox <danomatika@gmail.com>
 *
 * BSD Simplified License.
 * For information on usage and redistribution, and for a DISCLAIMER OF ALL
 * WARRANTIES, see the file, "LICENSE.txt," in this distribution.
 *
 * See https://github.com/danomatika/ofxMidi for documentation
 *
 */
#pragma once

#include "ofMain.h"  // こんな風に追加してあげればOK
#include "ofConstants.h"
#include "ofEvents.h"
#include "ofxMidiConstants.h"
  • /home/users/2/lolipop.jp-4404d470cd64c603/web/ws/data/pages/openframeworks/0.10とofxmidi.txt
  • 最終更新: 2019/06/06 08:53
  • by baba