JUCE is a gorgeous thing:
JUCE (Jules’ Utility Class Extensions) is an all-encompassing C++ class library for developing cross-platform applications.
It’s particularly good for creating highly-specialised user interfaces and for handling graphics and sound.
For Mac OS X (with the Developer Tools installed) and Windows (using Visual Studio 6, 2003 or 2005), the library builds out-of the box (well, almost: on Windows you need to have QuickTime and the ASIO SDK installed). However, for Linux there are a couple of external dependencies.
This is a small tutorial (and a reminder for myself, as usual) for those interested in building JUCE on Kubuntu 7.10 “Gutsy Gibbon” (these instructions should also be useful for other Linux distributions, but I cannot tell for sure).
- Make sure that you have the Lua programming language installed (you can use your favorite package manager to install it)
- Make sure that you have the following libraries installed in your Kubuntu installation using Synaptic or any other package manager (info taken from this JUCE forum post):
- libx11-dev
- libasound2-dev
- libfreetype6-dev
- libxinerama-dev
- libglu1-mesa-dev
- libglut3-dev (with its dependency freeglut3-dev too)
- Download JUCE 1.45 from Sourceforge
- Download premake from Sourceforge; unzip the file and install the binary where you want (typically /usr/bin). You have to do this manually, since premake is not available through the Synaptic package manager, in any repository.
- Unzip the JUCE distribution anywhere (for example in your ~/Desktop) and cd into the juce/build/linux folder.
- Run “sh runpremake” which will use premake and Lua to create a makefile
- Run “make” (which is equal to “make CONFIG=Debug”) or “make CONFIG=Release” to build the library; a couple of minutes later you’ll have a juce/bin/libjuce_debug.a file ready to use
- Optional: You can build some sample applications that use JUCE:
- juce/extras/juce demo/
- juce/extras/the jucer/
Hope this helps!
Similar Posts:

Commenting