[Speex-dev] basic include files for speex
Caroundw5h
caroundw5h at yahoo.com
Mon Apr 16 13:56:32 PDT 2007
Hi Jean,
I'm trying to compile the encode.c and or the test programs that are on the site and in libspeex respectively. however, i keep getting some undefined references to the basic speex functions(see compiler log). a query on google showed that this question was posed but no answer given. I traced them down to speex.c. however when i build my project i still get these undefined referneces.
I'm currently developing a voip application and i've used portaudio for audio signal capture. they have a basic documentation on compiling for the basic platform, listing the common headers and sourcefiles that are needed. I'm in no way disparaging you guys and the work you've done on speex, but does speex have this? just trying to build a simple test program has been taking me days now. Perhaps a restructuring of the folders in the src download. for example i've noticed the tests programs all in the libspeex folder. maybe a separate folder is in order such as speex\tests, speex\common, and perhaps the headers and source file could be in the same folder ex speex\API.
whatever you guys decide i appreciate the work you've done on speex and turned to it because it was cited as a very decent codec specifically for COIP
Please let me know what are the common folders to link for an application, and whether or not there is any other documentation about speex i'm missing. thanks.
caroundw5h
compile log:
Compiler: Default compiler
Building Makefile: "G:\Code\Projects\X3\X3_TESTS\Makefile.win"
Executing make clean
rm -f ../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o speexTest.exe
gcc.exe -c ../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.c -o ../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o -I"C:/Dev-Cpp/include"
gcc.exe ../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o -o "speexTest.exe" -L"C:/Dev-Cpp/lib"
../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o(.text+0x36):speexTest.c: undefined reference to `speex_nb_mode'
../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o(.text+0x3b):speexTest.c: undefined reference to `speex_encoder_init'
../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o(.text+0x6b):speexTest.c: undefined reference to `speex_encoder_ctl'
../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o(.text+0x96):speexTest.c: undefined reference to `speex_bits_init'
../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o(.text+0x118):speexTest.c: undefined reference to `speex_bits_reset'
../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o(.text+0x13a):speexTest.c: undefined reference to `speex_encode'
../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o(.text+0x15a):speexTest.c: undefined reference to `speex_bits_write'
../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o(.text+0x1c9):speexTest.c: undefined reference to `speex_encoder_destroy'
../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o(.text+0x1d7):speexTest.c: undefined reference to `speex_bits_destroy'
collect2: ld returned 1 exit status
make.exe: *** [speexTest.exe] Error 1
Execution terminated
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070416/bd822d1b/attachment.html
More information about the Speex-dev
mailing list