comparison src/liblo-0.26/README @ 4:e13257ea84a4

Add bzip2, zlib, liblo, portaudio sources
author Chris Cannam
date Wed, 20 Mar 2013 13:59:52 +0000
parents
children
comparison
equal deleted inserted replaced
3:6c505a35919a 4:e13257ea84a4
1 liblo is a lightweight library that provides an easy to use implementation of
2 the OSC protocol. For more information about the OSC protocol, please see:
3
4 - http://www.cnmat.berkeley.edu/OpenSoundControl/
5 - http://www.opensoundcontrol.org/
6
7
8 The official liblo homepage is here:
9
10 - http://liblo.sourceforge.net/
11
12 liblo is portable to most UNIX systems (including OS X) and Windows. It is
13 released under the GNU Lesser General Public Licence (LGPL).
14
15
16 ---
17
18
19 To build and install liblo, read INSTALL in the main liblo directory.
20 liblo is configured as a dynamically-linked library. To use liblo
21 in a new application, you should install liblo with "make install"
22 so that the liblo library can be located by your application.
23
24 To build with MS Visual Studio on Windows, first run the premake4.exe
25 application in the build directory with an argument describing which
26 IDE you are using. This will generate project and solution files.
27
28 See examples for example source code for a simple client and two
29 servers:
30
31 - example_server.c uses lo_server_thread_start() to create
32 a liblo server in an separate thread.
33
34 - nonblocking_server_example.c uses select() to wait for either
35 console input or OSC messages, all in a single thread.
36
37 - example_client.c uses liblo to send OSC messages to a server.
38
39 These examples will work without installing liblo. This is accomplished by a shell script. For example, examples/client_example is a shell
40 script that runs the "real" program examples/.libs/example_client.
41 Because of this indirection, you cannot run example_client with
42 a debugger.
43
44 To debug applications using liblo, one option is to include all the liblo source code in the application rather than linking with the liblo library. For more information about this, please see the libtool's manual:
45
46 http://www.gnu.org/software/libtool/manual.html#Debugging-executables
47
48
49 ---
50
51
52 IPv6 NOTICE:
53 liblo was written to support both IPv4 and IPv6, however it has caused various problems along the way because most of the currently available OSC applications
54 like Pd and SuperCollider doesn't listen on ipv6 sockets. IPv6 is currently disabled by default, but you can enable it using ./configure --enable-ipv6