today I try to compile a test-file from the Documentation. I link the libarys correct but have only one error in this line: state = speex_encoder_init(&speex_nb_mode); The error: main.cpp|21|undefined reference to `speex_nb_mode'| The linking libarys: "libspeex.lib" "libspeexdsp.lib" I am assuming you are doing this in Windows. You need to change the code as follows: //state = speex_encoder_init(&speex_nb_mode); const SpeexMode * mode; mode = speex_lib_get_mode (SPEEX_MODEID_NB); state = speex_encoder_init(mode); Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20090204/f1945831/attachment-0001.htm