最新(平成31年2月16日現在)のof, version.0.10にそのままofxMidiを入れてもエラーがでます.namespaceに関するもので,stringやvector等に関するエラーが出てきます.エラーが出力される ofxMidiMessage.hの最初に ofMain.hをインクルードしてあげればOKです. /* * Copyright (c) 2013 Dan Wilcox * * 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"