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

Dave Griffiths dave at pawfal.org
Fri Feb 10 13:46:47 EST 2006


> 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



More information about the linux-audio-user mailing list