oke, managed to compile the software in windows. if you just install the necessary tools to compile the arduino sketches, you can run the makefile of the midisense firmware as well.
compiling the windows application is a bit more of a problem. First of all, the "bk-deps" file in the repository uses dos-based linebreaks. They should be converted to unix breaks before compiling under cygwin, or you will get strange errors.
But then the following error comes up:
- Code: Select all
$ make
./bk-deps g++ -c -o AvrMIDIBootload.o -D__WXMSW__ -I.. `wx-config --cxxflags` -ggdb -O0 -mthreads -Wall -Wundef -Wno-ctor-dtor-privacy ../AvrMIDIBootload.cpp
In file included from ../wxmidi.h:77,
from ../datalink.h:3,
from ../AvrMIDIBootload.cpp:4:
../portmidi.h:1101: error: expected `)' before '<<' token
../portmidi.h:1101: error: expected `)' before '<<' token
../portmidi.h:1101: error: expected `)' before '<<' token
../portmidi.h:1101: error: expected `,' or `;' before '<<' token
../portmidi.h:1247: error: `PmMessage' does not name a type
In file included from ../datalink.h:3,
from ../AvrMIDIBootload.cpp:4:
../wxmidi.h: In constructor `wxMidiShortMessage::wxMidiShortMessage(wxByte, wxByte, wxByte)':
../wxmidi.h:307: error: 'struct PmEvent' has no member named 'message'
../wxmidi.h: In member function `virtual wxByte wxMidiShortMessage::GetStatus()':
../wxmidi.h:331: error: 'struct PmEvent' has no member named 'message'
../wxmidi.h: In member function `wxByte wxMidiShortMessage::GetData1()':
../wxmidi.h:333: error: 'struct PmEvent' has no member named 'message'
../wxmidi.h: In member function `wxByte wxMidiShortMessage::GetData2()':
../wxmidi.h:335: error: 'struct PmEvent' has no member named 'message'
../wxmidi.h: At global scope:
../wxmidi.h:607: error: `PmMessage' has not been declared
../wxmidi.h:607: error: ISO C++ forbids declaration of `message' with no type
make: *** [AvrMIDIBootload.o] Error 1
is the cvs repository up to date / bugfree? Or am i doing something wrong here?