Compiling Instructions

From Theora Playback Library
Jump to: navigation, search

Dependencies

You can compile them either as static or dynamic libraries, depending on your project's preferences. Compiling these libraries is very easy and straightforward.

All the depending libraries have been included in the source code distribution of this library and their project files have been modified to allow out-of-the-box compilation on each platform, no additional configuration is needed.

Windows

Visual C++ 2008 / 2010 / 2012

The project contains a visual c++ solution file (libtheoraplayer.sln) used to compile the library.

MinGW

MinGW support has been discontinued due to lack of time. The original MinGW solution was made via "CodeLite" projects. If anyone is interested in maintaining this, contact me.

Linux

  • There used to be a Linux port provided via CodeLite projects and automake scripts, but like MinGW, it has been discontinued. If anyone is interested in maintaining this, contact me.

MacOS X

i386

There's an XCode project that has been configured for x86 and can output either a framework or a static library. works out of the box.

x64

Currently there's no x64 version available simple because I personally didn't need it. But it should be easy to compile. It's on my todo list to have it set up in the XCode projects.

PowerPC

PowerPC support has been discontinued, although if you need it for some reason, it shouldn't be too hard to set up an XCode3 project and have it running.


iOS

There's an XCode project that works out of the box.


Android

Android support has been enabled via vs-android project. This is a Visual Studio plugin that allows compilation with the android toolchain. armv7a and x86 variants are possible. Both as static or dynamic libraries.


WinRT

There's a visual studio project available, works like a charm!


Windows Phone

Windows Phone 8 support is available via a visual studio project located in the project's source code.