Hi Jean,<br><br>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.<br><br>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. <br><br>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<br><br>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.<br><br>caroundw5h<br><br>compile log:<br><br><a href="mailto:speex-dev@xiph.org">Compiler: Default compiler<br>Building Makefile: "G:\Code\Projects\X3\X3_TESTS\Makefile.win"<br>Executing make clean<br>rm -f ../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o speexTest.exe<br><br>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" <br><br>gcc.exe ../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o -o "speexTest.exe"
-L"C:/Dev-Cpp/lib" <br><br>../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o(.text+0x36):speexTest.c: undefined reference to `speex_nb_mode'<br>../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o(.text+0x3b):speexTest.c: undefined reference to `speex_encoder_init'<br>../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o(.text+0x6b):speexTest.c: undefined reference to `speex_encoder_ctl'<br>../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o(.text+0x96):speexTest.c: undefined reference to `speex_bits_init'<br>../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o(.text+0x118):speexTest.c: undefined reference to `speex_bits_reset'<br>../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o(.text+0x13a):speexTest.c: undefined reference to `speex_encode'<br>../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o(.text+0x15a):speexTest.c: undefined reference to `speex_bits_write'<br>../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o(.text+0x1c9):speexTest.c: undefined
reference to `speex_encoder_destroy'<br>../X3_DEPENDANTS/speex_1.2beta1/libspeex/speexTest.o(.text+0x1d7):speexTest.c: undefined reference to `speex_bits_destroy'<br>collect2: ld returned 1 exit status<br><br>make.exe: *** [speexTest.exe] Error 1<br><br>Execution terminated</a><br><p> 
<hr size=1>Ahhh...imagining that irresistible "new car" smell?<br> Check out
<a href="http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-">new cars at Yahoo! Autos.</a>