Difference between revisions of "Compiling Instructions"

From Theora Playback Library
Jump to: navigation, search
(Created page with '== Dependencies == * '''[http://xiph.org/ogg/ libogg]''' * '''[http://xiph.org/vorbis/ libvorbis]''' * '''[http://xiph.org/theora/ libtheora]''' You can compile them either as s…')
 
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
Compiling these libraries is very easy and straightforward.
 
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 ==
 
== Windows ==
=== Visual C++ 2008 ===
+
=== Visual C++ 2008 / 2010 / 2012 ===
The project contains a visual c++ solution file (libtheoraplayer.sln) used to compile the plugin.
+
The project contains a visual c++ solution file (libtheoraplayer.sln) used to compile the library.
As for dependencies include and lib files, I find it best to put their files & folders in the projects include/ & lib/ folders.
 
  
 
=== MinGW ===
 
=== 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 ==
 
== Linux ==
=== GCC ===
+
 
 +
* 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 ==
 
== MacOS X ==
  
 
=== i386 ===
 
=== 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 ===
 +
 +
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 [https://code.google.com/p/vs-android/ 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.

Latest revision as of 04:23, 3 January 2014

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.