<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Kiran Dhananjayan wrote:
<blockquote
cite="mid:28da29750904160333m6b3465e8y91cad7153a85aea5@mail.gmail.com"
type="cite">
<pre wrap="">Dear Moderator,
I downloaded Vorbis 1.2.0 code from your website and I tried to build
a project in Visual studio 2008, as the earlier version was created in
VC 6 version it has been modified here. In the solution I have 6
projects vorbis_dynamic, vorbis_static, vorbisenc_dynamic,
vorbisenc_static, vorbisfile_dynamic, vorbisfile_static. When I tried
to built the project, it shows error that it cannot find ogg.h file
which is not there in entire downloaded directory. So my queries are,
1. Where I can download ogg.h file
2. How to build the vorbis audio codec in Visual Studio 2008
3. What all the test vectors can be used for this?
Regards,
Kiran
</pre>
</blockquote>
Hi,<br>
<br>
For 1. and 2. I have tested the following scenario:<br>
<br>
1. Download libogg 1.1.3 from <a
href="http://downloads.xiph.org/releases/ogg/libogg-1.1.3.zip">http://downloads.xiph.org/releases/ogg/libogg-1.1.3.zip</a>
and unpack it in c:\<a href="http://xiph.org">xiph.org</a><br>
2. Go to "C:\<a href="http://xiph.org">xiph.org</a>\libogg-1.1.3\win32"
folder and get the VS2008 projects files from svn:<br>
svn co <a class="moz-txt-link-freetext" href="http://svn.xiph.org/trunk/ogg/win32/VS2008/">http://svn.xiph.org/trunk/ogg/win32/VS2008/</a><br>
3. Compile c:\<a href="http://xiph.org">xiph.org</a>\libogg-1.1.3\win32\VS2008\libogg_static.sln
<br>
4. Download libvorbis 1.2.0 from <a
href="http://downloads.xiph.org/releases/vorbis/libvorbis-1.2.0.zip">http://downloads.xiph.org/releases/vorbis/libvorbis-1.2.0.zip</a>
and unpack it in c:\<a href="http://xiph.org">xiph.org</a><br>
5. Go to "C:\<a href="http://xiph.org">xiph.org</a>\libvorbis-1.2.0\win32\",
and get the the VS2008 project files from svn:<br>
svn co <a href="http://svn.xiph.org/trunk/vorbis/win32/VS2008/">http://svn.xiph.org/trunk/vorbis/win32/VS2008/</a><br>
6. Compile c:\<a href="http://xiph.org">xiph.org</a>\libvorbis-1.2.0\win32\VS2008\vorbis_static.sln
<br>
<br>
In C:\<a href="http://xiph.org">xiph.org</a>\libogg-1.1.3\win32\VS2008\Win32\
and in C:\<a href="http://xiph.org">xiph.org</a>\libvorbis-1.2.0\win32\VS2008\Win32\
you should have the static libraries and the build examples.<br>
<br>
Cheers,<br>
Cristian.
</body>
</html>