[Stk] segfault running crtsine tutorial
Gary Scavone
gary at ccrma.Stanford.EDU
Sun Sep 11 06:50:42 PDT 2011
Hi Iain,
You might try compiling for the ALSA API (instead of Jack) to see if you have the same problem. I just ran both programs (rtsine and crtsine) on OS-X without any apparent problems.
--gary
On 2011-09-10, at 10:23 PM, Iain Duncan wrote:
> I am getting a segfault when running the crtsinetutorial, wondering where to start figuring that out. As mentioned in a different email, I was able to compile and play the playsaw.cpp test from RtAudio package, so I know RtAudio is working ok.
>
> Works ok:
>
> g++ -Wall -D__UNIX_JACK__ -D__LITTLE_ENDIAN__ -o playsaw playsaw.cpp ../RtAudio.cpp -lpthread -ljack -lrt
>
> Doesn't work:
>
> iain at musicbox:~/audio/stk/tutorials/crtsine$ g++ -Wall -D__UNIX_JACK__ -D__LITTLE_ENDIAN__ -o crtsine crtsine.cpp RtAudio.cpp -lpthread -ljack -lrt -lstk -I/usr/include/stk
>
> iain at musicbox:~/audio/stk/tutorials/crtsine$ ./crtsine
> SSE2 detected
> SSE2 detected
> SSE2 detected
>
> Playing ... press <enter> to quit.
> Segmentation fault
>
> Thanks
> Iain
>
> _______________________________________________
> Stk mailing list
> Stk at ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/stk
More information about the Stk
mailing list