| Missing the Windows multimedia library. Needs to be added to SConstruct.
It's already present for VST building -- should be moved to other programs
as well.
----- Original Message -----
From: "Andres Cabrera"
To: "Csound Developers Discussion List"
Sent: Monday, July 12, 2004 11:36 PM
Subject: [CSOUND-DEV:4934] ASIO working with mingw
> Hi,
> I just checked out the v19-devel branch for portaudio and Hooray! ASIO
> is now fixed (don't get the snapshot because it is out of date, you must
> get the sources from cvs). However, I wanted to check with Csound but I
> get the following error:
>
> g++ -dynamic -o cscore.exe util1\cscore\cscore_main.o
> -LC:\projects\csound5\windows_dlls -Lcygwin_import_libs
> -LC:\tools\mingw\lib -LC:\tools\libsndfile-1.0.10pre8
> -LC:\tools\portaudiov19\lib -LC:\tools\fltk-1.1.5rc1\lib
> -LC:\msys\1.0\local\lib -LC:\tools\fluidsynth -L. -L. -L.
> -L\usr\include\lib -L\usr\local\lib -lcsound -lsndfile -lfltk -lstdc++
> -lsupc++ -lkernel32 -lgdi32 -lwsock32 -lole32 -luuid
> ./libcsound.a(mididevice.o)(.text+0xca): In function `OpenMIDIDevice':
> h:/c_progs/csound5/OOps/mididevice.c:203: undefined reference to
> `midiInGetNumDevs@0'
>
./libcsound.a(mididevice.o)(.text+0x109):h:/c_progs/csound5/OOps/mididevice.
c:209:
> undefined reference to `midiInGetDevCapsA@12'
>
./libcsound.a(mididevice.o)(.text+0x18e):h:/c_progs/csound5/OOps/mididevice.
c:228:
> undefined reference to `midiInOpen@20'
>
./libcsound.a(mididevice.o)(.text+0x1a3):h:/c_progs/csound5/OOps/mididevice.
c:228:
> undefined reference to `midiInStart@4'
> ./libcsound.a(mididevice.o)(.text+0x3be): In function `CloseMIDIDevice':
> h:/c_progs/csound5/OOps/mididevice.c:597: undefined reference to
> `midiInStop@4'
>
./libcsound.a(mididevice.o)(.text+0x3d3):h:/c_progs/csound5/OOps/mididevice.
c:597:
> undefined reference to `midiInReset@4'
>
./libcsound.a(mididevice.o)(.text+0x40a):h:/c_progs/csound5/OOps/mididevice.
c:618:
> undefined reference to `midiInClose@4'
> ./libcsound.a(midisend.o)(.text+0x21): In function `send_midi_message':
> h:/c_progs/csound5/OOps/midisend.c:200: undefined reference to
> `midiOutShortMsg@8'
> ./libcsound.a(midisend.o)(.text+0x57): In function `note_on':
> h:/c_progs/csound5/OOps/midisend.c:205: undefined reference to
> `midiOutShortMsg@8'
> ./libcsound.a(midisend.o)(.text+0x85): In function `note_off':
> h:/c_progs/csound5/OOps/midisend.c:210: undefined reference to
> `midiOutShortMsg@8'
> ./libcsound.a(midisend.o)(.text+0xb7): In function `control_change':
> h:/c_progs/csound5/OOps/midisend.c:215: undefined reference to
> `midiOutShortMsg@8'
> ./libcsound.a(midisend.o)(.text+0xdf): In function `after_touch':
> h:/c_progs/csound5/OOps/midisend.c:220: undefined reference to
> `midiOutShortMsg@8'
>
./libcsound.a(midisend.o)(.text+0x10f):h:/c_progs/csound5/OOps/midisend.c:22
5:
> more undefined references to `midiOutShortMsg@8' follow
> ./libcsound.a(midisend.o)(.text+0x2b8): In function `openMIDIout':
> h:/c_progs/csound5/OOps/midisend.c:240: undefined reference to
> `midiOutGetNumDevs@0'
>
./libcsound.a(midisend.o)(.text+0x335):h:/c_progs/csound5/OOps/midisend.c:25
3:
> undefined reference to `midiOutGetDevCapsA@12'
>
./libcsound.a(midisend.o)(.text+0x360):h:/c_progs/csound5/OOps/midisend.c:25
5:
> undefined reference to `midiOutOpen@20'
> scons: building terminated because of errors.
> scons: *** [cscore.exe] Error 1
>
>
> Andres
> |