[LAU] Tranches build problems in Ubuntu 8.04
simone
cimo75 at gmail.com
Wed May 21 00:58:51 BST 2008
hi
i am here just to say that Florent was helpfull in my case as well, with
getting tranches installed.
Here a list of Ubuntu packages that you need to install together with those
ones mentioned in Tranches web page
libXft , libXrender , libX11, libXext, libFreeType, liblash2
liblash-dev
Tranches is a cool little application doing a great job!
Use qmidiroute to scale down the range of the CC going to tempo/slice
Simone
On Tue, May 20, 2008 at 4:53 PM, Ernie Dulanowsky <ernst at pulsewidth.ca>
wrote:
> Hello:
>
> I've been asked by Florent Berthaut, the developer of Tranches.
> I'm posting to both lists just in case this problem isn't exclusive to
> Ubuntu 8.04.
>
> I just tried building Tranches in UbuntuStudio 8.04, and came up with
> some errors, the first of which is below:
>
> src/base/tranches.o: In function `__exchange_and_add':
> /usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to
> `__sync_fetch_and_add_4'
> /usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to
> `__sync_fetch_and_add_4'
> /usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to
> `__sync_fetch_and_add_4'
> /usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to
> `__sync_fetch_and_add_4'
> /usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to
> `__sync_fetch_and_add_4'
> src/base/tranches.o:/usr/include/c++/4.2/bits/basic_string.h:234: more
> undefined references to `__sync_fetch_and_add_4' follow
> collect2: ld returned 1 exit status
> scons: *** [tranches] Error 1
> scons: building terminated because of errors.
>
> I contacted the developer, Florent Berthaut, and he provided this
> modification for the SConstruct script:
>
> env = Environment(CC = 'gcc',CCFLAGS ='-I/usr/include/libxml2/
>
> -I/usr/include/lash-1.0/',LIBS=['asound','lash','pthread','xml2','sndfile','samplerate','jack'])
> env.ParseConfig('fltk-config --libs --cxxflags --ldflags --use-images')
>
> The modification yielded this error when trying to build Tranches:
>
> In file included from src/audio/../base/tranches.h:31,
> from src/audio/jackProcess.cpp:26:
> src/audio/../base/../lash/lashClient.h:28:23: error: lash/lash.h: No such
> file or directory
> In file included from src/audio/../base/tranches.h:31,
> from src/audio/jackProcess.cpp:26:
> src/audio/../base/../lash/lashClient.h:46: error: ISO C++ forbids
> declaration of 'lash_args_t' with no type
> src/audio/../base/../lash/lashClient.h:46: error: expected ';' before '*'
> token
> src/audio/../base/../lash/lashClient.h:47: error: ISO C++ forbids
> declaration of 'lash_client_t' with no type
> src/audio/../base/../lash/lashClient.h:47: error: expected ';' before '*'
> token
> scons: *** [src/audio/jackProcess.o] Error 1
> scons: building terminated because of errors.
>
> Florent's first question was whether I had lash-dev installed: as it
> turns out I did. This modfication came later...
>
> env = Environment(CC = 'gcc',CCFLAGS ='-I/usr/include/libxml2/
> ',LIBS=['asound','lash','pthread','xml2','sndfile','samplerate','jack'])
> env.ParseConfig('fltk-config --libs --cxxflags --ldflags --use-images')
> env.ParseConfig('pkg-config --libs --cflags lash-1.0')
>
> Tranches was built sucessfully after using this modification to
> SConstruct. Florent asked that I post this to the lists for anyone
> that might be having a similar problem.
>
> Now I just have to figure out how Tranches works ..... ;)
>
> Thanks,
> Ernie
>
> --
> "Both Rob and I see sound as shapes.
> I only have to do this (makes a fist)
> and he knows what sound I mean". - Autechre
> :::::::::::::::::::::::::::::::::::::::::::
> Ernie Dulanowsky
> www.pulsewidth.ca
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
>
--
.wmv , .wma , .pps along with all proprietary Windows formats won t be
accepted and/or viewed....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-studio-users/attachments/20080521/87545041/attachment.htm
More information about the Ubuntu-Studio-users
mailing list