a certain Ge Wang
We have also experienced this on some linux systems (if you get this on OS X or Windows, please let us know). It is due to some conflicts between different systems data types in configuring libsndfile. We want ChucK to compile out of the box, so we include modified versions of libsndfile , which works great for OS X and Windows, but have some problems with linux.
If you get this error, the easiest (and probably the correct thing) to do is to compile and link with a libsndfile configured for your system. We have included a switch in the makefile to make that straightforward.
1. install libsndfile - http://www.mega-nerd.com/libsndfile/
> ./configure > make > make install
2. edit the version of the makefile for your system, for example:
in makefile.alsa, go to the section that starts with:
#----------------------------------------------------------------------- ------ # by default, ChucK uses a pre-configured libsndfile... # uncomment the next 3 lines to use libsndfile on your system #----------------------------------------------------------------------- ------
and uncomment the next 3 lines:
FLAGS+= -D__CK_SNDFILE_NATIVE__ LIBS+= -lsndfile SF_OBJ=
3. make clean and re-build.
Please let us know if that works on your system. Again, OS X and windows should need this. We are working on a better solution for linux.
Best, Ge!
it works (debian unstable). thx mik --------___________________________ hear me here: http://www.mprims.tk