Having speex in, say, /opt/speex, using
--with-speex=/path/to/speex doesn't work (because the
test program is not compiled with the appropriate -I
flags).
I've attached a patch for configure.ac, following the
example for ilbc (which does work).
On the same topic, AM_CPPFLAGS in
talk/session/phone/Makefile.am also needs $(SPEEX_CFLAGS),
because linphonemediaengine.cc includes
talk/third_party_mediastreamer/msspeexdec.h, which needs
speex.h.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On a similar note, Debian keeps speex headers
in /usr/include/speex/, so jingle doesn't find it. Making
a symlink to /usr/include/speex/speex.h
at /usr/include/speex.h seems to solve the problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Patch for configure.ac
Logged In: YES
user_id=116670
On the same topic, AM_CPPFLAGS in
talk/session/phone/Makefile.am also needs $(SPEEX_CFLAGS),
because linphonemediaengine.cc includes
talk/third_party_mediastreamer/msspeexdec.h, which needs
speex.h.
Logged In: YES
user_id=168341
It is better to use PKG_CONFIG_PATH env variable, which will
handle automatically.
Logged In: YES
user_id=1088943
On a similar note, Debian keeps speex headers
in /usr/include/speex/, so jingle doesn't find it. Making
a symlink to /usr/include/speex/speex.h
at /usr/include/speex.h seems to solve the problem.