Re: libspiralcore, was Re: [linux-audio-user] fastbreeder (a genetic programming synth)

From: Dave Griffiths <dave@email-addr-hidden>
Date: Fri Feb 10 2006 - 20:46:47 EET

> Dave Griffiths escribe:
>> http://www.pawfal.org/Software/libspiralcore/
>>
>> you'll need to check the other requirements too
>
> Sorry for doing things in a dump way, thanks for the pointer.
>
> According to libspiralcore README file, it requires:
> * scons
> * jack
> * liblo
> * libsndfile
>
> So I've installed the following Debian packages:
>
> libjack0-100.0-dev
> liblo0-dev
> libsndfile0-dev
> scons
>
> But trying to compile it via scons install I get errors:
>
> include/Allocator.h:9: warning: 'class Allocator' has virtual functions
> but non-virtual destructor
> include/Allocator.h:32: warning: 'class RealtimeAllocator' has virtual
> functions but non-virtual destructor
> src/AsyncSampleLoader.cpp: In static member function 'static void
> spiralcore::AsyncSampleLoader::LoadLoop()':
> src/AsyncSampleLoader.cpp:85: error: 'SFM_READ' was not declared in this
> scope
> src/AsyncSampleLoader.cpp:85: error: 'sf_open' was not declared in this
> scope
> src/AsyncSampleLoader.cpp:88: error: 'sf_strerror' was not declared in
> this scope
> src/AsyncSampleLoader.cpp:91: error: 'struct SF_INFO' has no member named
> 'frames'
> src/AsyncSampleLoader.cpp:96: error: 'struct SF_INFO' has no member named
> 'frames'
> src/AsyncSampleLoader.cpp:97: error: 'struct SF_INFO' has no member named
> 'frames'
> src/AsyncSampleLoader.cpp:99: error: 'struct SF_INFO' has no member named
> 'frames'
> src/AsyncSampleLoader.cpp:101: warning: comparison between signed and
> unsigned integer expressions
> src/AsyncSampleLoader.cpp:109: error: 'struct SF_INFO' has no member named
> 'frames'
> scons: *** [src/AsyncSampleLoader.os] Error 1
>
> The same using g++ 4.0 and g++ 3.4. Any ideas?

in the SConstruct, try changing:

LibPaths = Split("/usr/local/lib")
IncludePaths = Split("./include /usr/local/include")

to

LibPaths = Split("/usr/local/lib /usr/lib")
IncludePaths = Split("./include /usr/local/include /usr/include")

that might do it, I should have added the /usr paths before releasing

cheers,

dave
Received on Sat Feb 11 00:15:05 2006

This archive was generated by hypermail 2.1.8 : Sat Feb 11 2006 - 00:15:05 EET