[Stk] can't compile the rtsine tutorial on linux/jack

Iain Duncan iainduncanlists at gmail.com
Sat Sep 10 18:06:52 PDT 2011


Hi folks, I'm trying to work through the tutorials, and can't get the rtsine
one to compile on linux. I have successfully compiled the RtAudio package
separately and been able to run the tests, and have been able to compile the
tutorials up to rtsine, but on this one I get the following:

g++ -Wall -D__LINUX_JACK__ -D__LITTLE_ENDIAN__ -o rtsine RtAudio.cpp
rtsine.cpp -lpthread -ljack -lrt -lstk -L/usr/lib/stk -I/usr/include/stk

In file included from /usr/include/stk/RtWvOut.h:6,
from rtsine.cpp:13:
/usr/include/stk/Mutex.h:67: error: ‘MUTEX’ does not name a type
/usr/include/stk/Mutex.h:68: error: ‘CONDITION’ does not name a type

Anyone have any idea what might be wrong there? I built STK with the
--with-jack flag, and as have compiled other projects using jack and pthread
so I'm lost! The flags above are the same ones I'm using for the other stk
tutorials, so I know the stk files are being found ok.

thanks
Iain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/stk/attachments/20110910/7e614546/attachment.html 


More information about the Stk mailing list