256-fall-2008/hw2/FAQ: Difference between revisions
No edit summary |
No edit summary |
||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
back to [[256-fall-2008/hw2|assignment #2]] | |||
== Asked Questions == | == Asked Questions == | ||
* | *Question | ||
Anyone get an error similar to this when compiling RtAudio with RtMidi? I searched through the code and couldn't even find an variable vtable... | |||
I have not idea. Maybe the way my make file is done? I'm just #include-ing not even, calling the function...:( | |||
/home/njb/mus256/hw2/partII/RtMidi.cpp:72: undefined reference to `vtable for RtMidiIn' | |||
/home/njb/mus256/hw2/partII/RtMidi.cpp:74: undefined reference to `RtMidiIn::initialize()' | |||
/home/njb/mus256/hw2/partII/RtMidi.cpp:72: undefined reference to `vtable for RtMidiIn' | |||
/home/njb/mus256/hw2/partII/RtMidi.cpp:74: undefined reference to `RtMidiIn::initialize()' | |||
RtMidi.o: In function `RtMidiOut': | |||
/home/njb/mus256/hw2/partII/RtMidi.cpp:147: undefined reference to `vtable for RtMidiOut' | |||
/home/njb/mus256/hw2/partII/RtMidi.cpp:149: undefined reference to `RtMidiOut::initialize()' | |||
/home/njb/mus256/hw2/partII/RtMidi.cpp:147: undefined reference to `vtable for RtMidiOut' | |||
/home/njb/mus256/hw2/partII/RtMidi.cpp:149: undefined reference to `RtMidiOut::initialize()' | |||
-Nick | |||
*Answer | |||
You didn't setup the flags correctly in the makefile...must have the flags for RtAudio and RtMidi in there....silly, silly Nick | |||
-Nick | |||
Latest revision as of 17:19, 15 October 2008
back to assignment #2
Asked Questions
- Question
Anyone get an error similar to this when compiling RtAudio with RtMidi? I searched through the code and couldn't even find an variable vtable... I have not idea. Maybe the way my make file is done? I'm just #include-ing not even, calling the function...:(
/home/njb/mus256/hw2/partII/RtMidi.cpp:72: undefined reference to `vtable for RtMidiIn'
/home/njb/mus256/hw2/partII/RtMidi.cpp:74: undefined reference to `RtMidiIn::initialize()'
/home/njb/mus256/hw2/partII/RtMidi.cpp:72: undefined reference to `vtable for RtMidiIn'
/home/njb/mus256/hw2/partII/RtMidi.cpp:74: undefined reference to `RtMidiIn::initialize()'
RtMidi.o: In function `RtMidiOut':
/home/njb/mus256/hw2/partII/RtMidi.cpp:147: undefined reference to `vtable for RtMidiOut'
/home/njb/mus256/hw2/partII/RtMidi.cpp:149: undefined reference to `RtMidiOut::initialize()'
/home/njb/mus256/hw2/partII/RtMidi.cpp:147: undefined reference to `vtable for RtMidiOut'
/home/njb/mus256/hw2/partII/RtMidi.cpp:149: undefined reference to `RtMidiOut::initialize()'
-Nick
- Answer
You didn't setup the flags correctly in the makefile...must have the flags for RtAudio and RtMidi in there....silly, silly Nick
-Nick