The latest stable version of libogg is 1.3.2 (released in May 2014).
It has support for MS Visual Studio 6, 2003, 2005, 2008 and 2010.
Support for VS 2013 was added in May 2015, and for VS 2015 was added
in May 2016. But then support from anything except VS 2015 was removed:
Actually it should be possible to open libogg_*.sln files in VS 2010 (and
all newer) and compile it. But support for VS 2008 and older was dropped.
So it seems that people that use MSVS 2005 or 2008 to build libFLAC and
want to support OggFLAC should consider updating their compiler.
flac-dev mailing list