[Dev-C++] getting an undefined reference to `vtable for RtMidiOut'
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Josep M C. <jos...@wa...> - 2007-04-12 10:09:11
|
Hi all, as your last suggestion worked perfectly, I would like to ask you = something else related to the compilation of the STK tutorials...I'm probably = missing a file but after including all the required stuff I can't find wat's missing, maybe it's something subtle?...I'm just compilling the Control Input example from the online tutorial and I attach you the compiler = output, should you give me a quick hint...it would save me tons of time :)!!!! Thanks in advance, in case any of you have some time :)=20 Josep m =20 =20 Compilador: Default compiler Building Makefile: "C:\Dev-Cpp\provastk2\Makefile.win" Executant make... make.exe -f "C:\Dev-Cpp\provastk2\Makefile.win" all g++.exe -D__DEBUG__ -c main.cpp -o main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" = -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -I"C:/stk/stk-4.2.1/include" -I"C:/Dev-Cpp/Common/Include" -I"C:/Dev-Cpp/Common" -D__WINDOWS_DS__ -Wno-deprecated -D__LITTLE_ENDIAN__ -D__WINDOWS_MM__ -fexceptions -fexpensive-optimizations -O3 -g3 =20 g++.exe -D__DEBUG__ main.o ../../stk/stk-4.2.1/src/WvOut.o ../../stk/stk-4.2.1/src/FileRead.o ../../stk/stk-4.2.1/src/FileWrite.o ../../stk/stk-4.2.1/src/FileWvIn.o ../../stk/stk-4.2.1/src/FileWvOut.o ../../stk/stk-4.2.1/src/Generator.o ../../stk/stk-4.2.1/src/RtAudio.o ../../stk/stk-4.2.1/src/RtWvOut.o ../../stk/stk-4.2.1/src/SineWave.o ../../stk/stk-4.2.1/src/Stk.o ../../stk/stk-4.2.1/src/WaveLoop.o ../../stk/stk-4.2.1/src/WvIn.o ../../stk/stk-4.2.1/src/Messager.o ../../stk/stk-4.2.1/src/RtMidi.o ../../stk/stk-4.2.1/src/Instrmnt.o ../../stk/stk-4.2.1/src/Socket.o ../../stk/stk-4.2.1/src/Thread.o ../../stk/stk-4.2.1/src/Mutex.o ../../stk/stk-4.2.1/src/Skini.o ../../stk/stk-4.2.1/src/TcpServer.o -o "provaDevCpp.exe" = -L"C:/Dev-Cpp/lib" ../lib/libdsound.a ../lib/libole32.a ../lib/libwinmm.a = ../lib/libwsock32.a ../lib/libuuid.a ../lib/libws2_32.a -g3=20 =20 ../../stk/stk-4.2.1/src/RtMidi.o(.text+0x265): In function `ZN9RtMidiOutC1Ev': C:/Dev-Cpp/../stk/stk-4.2.1/src/RtMidi.cpp:148: undefined reference to `vtable for RtMidiOut' ../../stk/stk-4.2.1/src/RtMidi.o(.text+0x274):C:/Dev-Cpp/../stk/stk-4.2.1= /sr c/RtMidi.cpp:149: undefined reference to `RtMidiOut::initialize()' ../../stk/stk-4.2.1/src/RtMidi.o(.text+0x365): In function `ZN9RtMidiOutC2Ev': C:/Dev-Cpp/../stk/stk-4.2.1/src/RtMidi.cpp:148: undefined reference to `vtable for RtMidiOut' ../../stk/stk-4.2.1/src/RtMidi.o(.text+0x374):C:/Dev-Cpp/../stk/stk-4.2.1= /sr c/RtMidi.cpp:149: undefined reference to `RtMidiOut::initialize()' ../../stk/stk-4.2.1/src/RtMidi.o(.text+0x699): In function `ZN8RtMidiInC1Ev': C:/Dev-Cpp/../stk/stk-4.2.1/src/RtMidi.cpp:73: undefined reference to `vtable for RtMidiIn' ../../stk/stk-4.2.1/src/RtMidi.o(.text+0x6ba):C:/Dev-Cpp/../stk/stk-4.2.1= /sr c/RtMidi.cpp:74: undefined reference to `RtMidiIn::initialize()' ../../stk/stk-4.2.1/src/RtMidi.o(.text+0x8d9): In function `ZN8RtMidiInC2Ev': C:/Dev-Cpp/../stk/stk-4.2.1/src/RtMidi.cpp:73: undefined reference to `vtable for RtMidiIn' ../../stk/stk-4.2.1/src/RtMidi.o(.text+0x8fa):C:/Dev-Cpp/../stk/stk-4.2.1= /sr c/RtMidi.cpp:74: undefined reference to `RtMidiIn::initialize()' collect2: ld returned 1 exit status =20 make.exe: *** [provaDevCpp.exe] Error 1 =20 Execuci=F3 finalitzada |