Thursday, October 21, 2010

Open Frameworks install on Jaunty

I finally get rid of the whole of problems faced during installation of OF and I try to keep track of them:

first I had to substitute several packages which caused unmet dependencies: 
libxml2, libxxx-unstripped and so on

the key is NOT to do that from apt-get but remove the package through dpkg forcing it to ignore the dependencies and then replace with the right one:

$dpkg -r --ignore-depends=<name of the pack to be rem> <name of the pack to be rem>
$dpkg -i <name of the substitute pack>

then to be sure use apt-get -f install to resolve any new dependency

install the jack libraries and check to be like the following:
$ dpkg --list|grep jack
ii  jackd                                         0.116.1-3ubuntu3                         JACK Audio Connection Kit (server and example clients)
ii  libjack-dev                                   0.116.1-3ubuntu3                         JACK Audio Connection Kit (development files)
ii  libjack0                                      0.116.1-3ubuntu3                         JACK Audio Connection Kit (libraries)
ii  libjack0.100.0-0                              0.116.1-3ubuntu3                         JACK Audio Connection Kit (libraries)
ii  libjack0.100.0-dev                            0.116.1-3ubuntu3                         JACK Audio Connection Kit (libraries)
rc  libjackasyn0                                  0.11-2ubuntu3                            The Asynchrounous JACK Library
ii  qjackctl                                      0.3.4-0ubuntu2                           User interface for controlling the JACK sound server


Then check the RtAudio library version and eventually download the last version and compile it with Jack support:
$./configure --with-jack --with-alsa --with-oss
$ make 

Then substitute the RtError.h RtAudio.h into <open Frameworks dir>/libs/rtAudio/include/
and librtaudio.a <open Frameworks dir>/libs/rtAudio/lib/linux/libRtAudio.a 

To compile a codeblock you have to simply add into the makefile the jack lib:
USER_LIBS = -ljack

hope this will be save you some time, cheers

alex

-- 
webdesign from computer experts at http://lxphotostudio.mine.nu
----------------------------------------------------------------------------------------------------
I started with nothing and I still have most of it.

2 comments:

  1. hallo alex, of is using this centralised make file. do i have to add USER_LIBS = -ljack there?
    where can i add it in codeblocks? do i have to recompile after adding the modified rtaudio?

    ReplyDelete
  2. yes add it there and recompile after a make clean

    ReplyDelete