Re: Rawmidi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there


Takashi Sakamoto wrote:

I think cause is the position of linker option. Let's try:
$ gcc test.c -lasound

On my box the snd_rawmidi_ stuff is in /usr/include/alsa/rawmidi.h
/usr/include/alsa/asoundlib.h includes alsa/rawmidi.h, so a #include <alsa/asoundlib.h> in the c file should do.

I compile with cc -Wall -lasound -o foo foo.c

Hope this helps.


Regards,
Rob
--
ISDS is evil. Abolish ISDS.

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux