Next  |  Prev  |  Up  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

STK Debug Configuration

For ease of debugging STK software, use the following configure command:3

configure --enable-debug CPPFLAGS="-g -O0"
The -enable-debug flag turns on some diagnostic printout in the STK source. The compiler flag -g results in symbols and line-numbers being retained in the compiler output .o file (useful for single-step debugging in gdb), and the -O0 compiler flag turns off optimization--also often needed for single-stepping at the source level in gdb.


Next  |  Prev  |  Up  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

Download stkintro.pdf
[Comment on this page via email]

``Getting Started with the Synthesis Tool Kit (STK)'', by Julius O. Smith III, Music 420 Reader supplementing the text).
Copyright © 2017-04-15 by Julius O. Smith III
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University
CCRMA