[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
libvorbis.

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
d:\build\libogg-1.2.2\win32\VS2008\libogg_static.sln
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
d:\build\libvorbis-1.3.2\win32\VS2008\vorbis_static.sln
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
d:\build\libtheora-1.1.1\win32\VS2008\libtheora_static.sln

If the above steps are too much I've put a zip file containing SVN trunk
versions
of libtheora, libogg, libvorbis here
<https://people.xiph.org/%7Ecristian/files/libtheora_alldependencies_trunk_2011_01_19.zip>.


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
solution".

Regarding test vectors have a look at TheoraTestSuite
<http://wiki.xiph.org/TheoraTestsuite>.

Cheers,
Cristian.
-------------- 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