[theora] How to build Theora decoder on VC++ paltform

Cristian Adam cristian.adam at gmail.com
Tue Jan 18 16:45:32 PST 2011

On 17.01.2011 12:35, Raju wrote:
> Dear friends
> Recently i have downloaded Theora video codec from http://www.xiph.org/
> ,
>  here its having both encoder and decoder , how can i build only
> decoder on VC + windows platform , if i build now i will be getting "
> Cannot open include file: 'ogg/ogg.h': No such file or directory "
> pls send me solution for htis to builld and run this code and what are
> test vectors i can use for this decoder
Hi Raju,

libtheora has libogg as dependency and for the encoder_example also

Here are the steps to compile libtheora, dump_video, and encoder_example:

1. Download libogg-1.2.2.zip
<http://downloads.xiph.org/releases/ogg/libogg-1.2.2.zip> and unpack the
zip file into a folder, let say d:\build
2. Build libogg by launching
3. Download libvorbis-1.3.2.zip
<http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.2.zip> and
unpack it to d:\build
4. Edit d:\build\libvorbis-1.3.2\win32\VS2008\libogg.vsprops and change
    LIBOGG_VERSION from 1.1.4 to 1.2.2
5. Build libvorbis by launching
6. Download libtheora-1.1.1.zip
<http://downloads.xiph.org/releases/theora/libtheora-1.1.1.zip> and
unpack it to d:\build
7. Edit d:\build\libtheora-1.1.1\win32\VS2008\libogg.vsprops and change
    LIBOGG_VERSION from 1.1.4 to 1.2.2
8. Edit d:\build\libtheora-1.1.1\win32\VS2008\libvorbis.vsprops and change
    LIBVORBIS_VERSION from 1.2.2 to 1.3.2
9. Build libtheora by launching

If the above steps are too much I've put a zip file containing SVN trunk
of libtheora, libogg, libvorbis here

The only necessary step would be to launch either build_theora_vs2005.sln,
build_theora_vs2008.sln, or build_theora_vs2010.sln and issue "Build

Regarding test vectors have a look at TheoraTestSuite

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/theora/attachments/20110119/3bf26e13/attachment.htm 

More information about the theora mailing list