[chuck-users] Okay, trying to compile chuck 1.3 etc

Kassen signal.automatique at gmail.com
Sat Oct 6 20:10:24 EDT 2012


On Sat, Oct 06, 2012 at 02:22:52PM -0700, forrest curo wrote:
> Yeah, just got the libsndfile package... which synaptic was not pointing to
> when I searched on 'sndfile', oh well.
> 
> [Googling 'sndfile.h' had gotten me directly to one downloadable version,
> but evidently the wrong one.]

Unless you are absolutely sure of what you are doing I'd install
anything that has a package through the package manager. There are
exceptions, for example if you need something bleeding edge, but those
are rare. ChucK is a exception, libsndfile (which is very common) is
not.

The thing is; you need "libsndfile" to use sndfile on your system,
quite likely you already had it. You also need "libsndfile-dev" to
tell the software you are compiling how to access your sndfile
library. Because of that the two need to match. If you have lib-cool
version 123 then you also need lib-cool-dev version 123 to compile
against your lib-cool. Getting -say- lib-cool-dev version 456 in that
case will mean no cool stuff for you. (there is no "lib-cool" that I
know of, it's just a imaginary library doing cool stuff that we'd like
to use).

Your package manager will sort that out for you. That is why I tend to
ask it to install the "-dev" version of anything I need to compile
against; that way the library itself will be pulled in by that
operation and I am sure they will match. 

Hope that helps,
Kas.


More information about the chuck-users mailing list