[speex-dev] Problem with Win32 libraries

Tom Newbern tom at shipstone.com
Tue Jul 15 14:51:47 PDT 2003

You need to add the libspeex and libogg include directories to the
preprocessor additional include directories under Projects settings.  I
placed my ogg, vorbis, and speex projects under a common directory and used
reletive folder locations as "..\..\libspeex,..\..\..\libogg-1.0\include".
Also as a note the ogg project was setup to use the DEBUG multi-threaded dll
and the speexenc, speexdec and libspeex are configured to use the DEBUG
single-threaded runtime libraries.  This causes all sorts of link errors.
Make sure in your workspace all the projects have the same setting for the
run-time libraries.  It is located in project settings on the c/c++ tab
under Use run-time library drop box.  The command line option is /MXd where
the X is either L, T or D.  I use /MLd.  Hope this helps.  If this does not
solve your problem add the errors you are seeing to the reply.


<p><p>-----Original Message-----
From: owner-speex-dev at xiph.org [mailto:owner-speex-dev at xiph.org]On Behalf Of
Chintu US
Sent: Tuesday, July 15, 2003 5:08 PM
To: speex-dev at xiph.org
Subject: [speex-dev] Problem with Win32 libraries

I downloaded Speex 1.0.1 and I am not able to compile the source files
speexenc.c and speexdec.c

What are the libraries needed to run the above examples ?
I am using VC++ 6.0 /Win XP.
I addes ogg.lib and libspeex.lib files.

do I need to any more lib files ?
Please advise.

<p><p>Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'speex-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Speex-dev mailing list