[go: up one dir, main page]

Menu

Tree [205fcb] 0.28rc / build /
 History

HTTPS access


File Date Author Commit
 Makefile.am 2013-04-15 Stephen Sinclair Stephen Sinclair [dc791d] Add a README to the build directory, exclude pr...
 README.md 2013-04-15 Stephen Sinclair Stephen Sinclair [dc791d] Add a README to the build directory, exclude pr...
 android_build.sh 2012-03-05 radarsat1 radarsat1 [4a7d54] Add a rudimentary script for configuring & comp...
 config-msvc.h 2013-05-13 Stephen Sinclair Stephen Sinclair [9db64c] Add missing recently-added defines for MSVC con...
 lo_endian-msvc.h 2009-03-06 radarsat1 radarsat1 [79df89] Add premake4, used to generate MSVC project/sol...
 premake4.lua 2013-05-13 Stephen Sinclair Stephen Sinclair [a82f9d] Add missing iphlapi library to MSVC project.

Read Me

Building liblo for other platforms

This document describes how to build liblo for platforms that do not
support GNU automake.

Building liblo for Microsoft Visual Studio

Some Windows users prefer to use Microsoft Visual Studio to the
well-supported MSYS/MingW or Cygwin environments.

For them, an alternative configuration system is supported by liblo
using the excellent premake4 utility.
The build folder contains a file called premake4.lua.
It must be accompanied by premake4.exe, which can be downloaded
from:

http://industriousone.com/premake/download

Once premake4.exe is copied to the build directory, open a
cmd.exe prompt and cd to the build directory.
Then, run premake4 with arguments specifying the version of
Microsoft Visual Studio you wish to use.
For example, for MSVS 2008:

> premake4 vs2008

You may provide the --without-threads option if you wish to exclude
support for liblo's lo_server_thread API, which can be helpful if you
have not downloaded the Win32 port of pthread.
This can be found at,

http://sourceware.org/pthreads-win32/

Unfortunately liblo does not yet support the Win32 thread API.

Building liblo for Android

The build directory contains a script called android_build.sh.
Ensure that the following two variables at the top of the script
conform to where you have installed the Android NDK, and to the
platform you wish to target.

The default values are:

ANDROID_NDK_PATH=$HOME/android-ndk-r7b
ANDROID_PLATFORM=9

Then, run the script from the build directory:

$ ./android_build.sh

The script will run configure in a cross-compilation mode.
It will only work if you have not previously run configure in the
liblo directory.

If the script gives an error, examine build/android/config.log.
Otherwise, it should successfully create an ARM binary file in the
directory build/android/src/.libs.