annotate src/liblo-0.26/README @ 8:c29fa680fb5a

Add sord, serd
author Chris Cannam
date Wed, 20 Mar 2013 15:23:43 +0000
parents e13257ea84a4
children
rev   line source
Chris@4 1 liblo is a lightweight library that provides an easy to use implementation of
Chris@4 2 the OSC protocol. For more information about the OSC protocol, please see:
Chris@4 3
Chris@4 4 - http://www.cnmat.berkeley.edu/OpenSoundControl/
Chris@4 5 - http://www.opensoundcontrol.org/
Chris@4 6
Chris@4 7
Chris@4 8 The official liblo homepage is here:
Chris@4 9
Chris@4 10 - http://liblo.sourceforge.net/
Chris@4 11
Chris@4 12 liblo is portable to most UNIX systems (including OS X) and Windows. It is
Chris@4 13 released under the GNU Lesser General Public Licence (LGPL).
Chris@4 14
Chris@4 15
Chris@4 16 ---
Chris@4 17
Chris@4 18
Chris@4 19 To build and install liblo, read INSTALL in the main liblo directory.
Chris@4 20 liblo is configured as a dynamically-linked library. To use liblo
Chris@4 21 in a new application, you should install liblo with "make install"
Chris@4 22 so that the liblo library can be located by your application.
Chris@4 23
Chris@4 24 To build with MS Visual Studio on Windows, first run the premake4.exe
Chris@4 25 application in the build directory with an argument describing which
Chris@4 26 IDE you are using. This will generate project and solution files.
Chris@4 27
Chris@4 28 See examples for example source code for a simple client and two
Chris@4 29 servers:
Chris@4 30
Chris@4 31 - example_server.c uses lo_server_thread_start() to create
Chris@4 32 a liblo server in an separate thread.
Chris@4 33
Chris@4 34 - nonblocking_server_example.c uses select() to wait for either
Chris@4 35 console input or OSC messages, all in a single thread.
Chris@4 36
Chris@4 37 - example_client.c uses liblo to send OSC messages to a server.
Chris@4 38
Chris@4 39 These examples will work without installing liblo. This is accomplished by a shell script. For example, examples/client_example is a shell
Chris@4 40 script that runs the "real" program examples/.libs/example_client.
Chris@4 41 Because of this indirection, you cannot run example_client with
Chris@4 42 a debugger.
Chris@4 43
Chris@4 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:
Chris@4 45
Chris@4 46 http://www.gnu.org/software/libtool/manual.html#Debugging-executables
Chris@4 47
Chris@4 48
Chris@4 49 ---
Chris@4 50
Chris@4 51
Chris@4 52 IPv6 NOTICE:
Chris@4 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
Chris@4 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