[CM] New user - a few questions

Peter O'Doherty mail at peterodoherty.net
Mon Sep 3 04:49:12 PDT 2012


On 09/03/2012 01:32 PM, Bill Schottstaedt wrote:
> cmn is still supported in the sense that I'll fix bugs that look
> easy to fix, and I make sure it works in sbcl as new versions of
> that lisp come along.  It's not part of the SAL/s7 version
> of Common Music (I think Fomus is what you want).  Someday.
> I might translate it to scheme, but I hesitate -- it makes
> heavy use of CLOS which I now consider a huge mistake,
> and I really only intended it to serve the composer's need for
> a quick view of an algorithm's output.  As I got more and
> more requests for calligraphic enhancements, I got less
> and less interested.
>
>

Thanks for the information. I'll take a look at the fomus interface once 
I get it all installed (though my instinct is that CMN is must more 
interesting - as I'm not interested in sound synthesis or "calligraphic 
enhancements").
About the installation process...

I followed these instructions from the help file.

rm -rf sndlib
curl -o sndlib.tar.gz ftp://ccrma-ftp.stanford.edu/pub/Lisp/sndlib.tar.gz
tar -zxf sndlib.tar.gz
rm sndlib.tar.gz
cd sndlib
./configure CC=g++
make
cd ..
rm -rf cm
svn co http://commonmusic.svn.sf.net/svnroot/commonmusic/trunk cm
cd cm
premake --verbose --target gnu --sndlib ../sndlib
make

At the make stage I get an error:

==== Building cm ====
mkdir -p obj/cm/Release
g++ -MMD -D "JUCE_IOS=0" -D "JUCE_QUICKTIME=0" -D "JUCE_OPENGL=0" -D 
"JUCE_USE_FLAC=0" -D "JUCE_USE_OGGVORBIS=0" -D "JUCE_USE_CDBURNER=0" -D 
"JUCE_USE_CDREADER=0" -D "JUCE_WEBBROWSER=0" -D 
"JUCE_CHECK_MEMORY_LEAKS=0" -D "JUCE_JACK=1" -D "COMMONMUSIC=1" -D 
"WITH_SNDLIB=1" -D "SVNVERSION=\"`/usr/bin/svnversion`\"" -D "LINUX=1" 
-D "NDEBUG=1" -I "src" -I "../sndlib/" -O2 -o 
"obj/cm/Release/Metronome.o" -c "src/Metronome.cpp"
mkdir -p obj/cm/Release
g++ -MMD -D "JUCE_IOS=0" -D "JUCE_QUICKTIME=0" -D "JUCE_OPENGL=0" -D 
"JUCE_USE_FLAC=0" -D "JUCE_USE_OGGVORBIS=0" -D "JUCE_USE_CDBURNER=0" -D 
"JUCE_USE_CDREADER=0" -D "JUCE_WEBBROWSER=0" -D 
"JUCE_CHECK_MEMORY_LEAKS=0" -D "JUCE_JACK=1" -D "COMMONMUSIC=1" -D 
"WITH_SNDLIB=1" -D "SVNVERSION=\"`/usr/bin/svnversion`\"" -D "LINUX=1" 
-D "NDEBUG=1" -I "src" -I "../sndlib/" -O2 -o "obj/cm/Release/Syntax.o" 
-c "src/Syntax.cpp"
mkdir -p obj/cm/Release
g++ -MMD -D "JUCE_IOS=0" -D "JUCE_QUICKTIME=0" -D "JUCE_OPENGL=0" -D 
"JUCE_USE_FLAC=0" -D "JUCE_USE_OGGVORBIS=0" -D "JUCE_USE_CDBURNER=0" -D 
"JUCE_USE_CDREADER=0" -D "JUCE_WEBBROWSER=0" -D 
"JUCE_CHECK_MEMORY_LEAKS=0" -D "JUCE_JACK=1" -D "COMMONMUSIC=1" -D 
"WITH_SNDLIB=1" -D "SVNVERSION=\"`/usr/bin/svnversion`\"" -D "LINUX=1" 
-D "NDEBUG=1" -I "src" -I "../sndlib/" -O2 -o 
"obj/cm/Release/CmSupport.o" -c "src/CmSupport.cpp"
src/CmSupport.cpp: In function ‘void mp_send_note(s7_pointer, 
s7_pointer, s7_pointer, s7_pointer, s7_pointer)’:
src/CmSupport.cpp:1457:32: error: cannot convert ‘s7_pointer {aka 
s7_cell*}’ to ‘s7_scheme*’ for argument ‘1’ to ‘s7_Double 
s7_number_to_real(s7_scheme*, s7_pointer)’
src/CmSupport.cpp:1464:31: error: cannot convert ‘s7_pointer {aka 
s7_cell*}’ to ‘s7_scheme*’ for argument ‘1’ to ‘s7_Double 
s7_number_to_real(s7_scheme*, s7_pointer)’
src/CmSupport.cpp:1471:31: error: cannot convert ‘s7_pointer {aka 
s7_cell*}’ to ‘s7_scheme*’ for argument ‘1’ to ‘s7_Double 
s7_number_to_real(s7_scheme*, s7_pointer)’
src/CmSupport.cpp:1478:31: error: cannot convert ‘s7_pointer {aka 
s7_cell*}’ to ‘s7_scheme*’ for argument ‘1’ to ‘s7_Double 
s7_number_to_real(s7_scheme*, s7_pointer)’
src/CmSupport.cpp:1485:32: error: cannot convert ‘s7_pointer {aka 
s7_cell*}’ to ‘s7_scheme*’ for argument ‘1’ to ‘s7_Double 
s7_number_to_real(s7_scheme*, s7_pointer)’
src/CmSupport.cpp: In function ‘void cm_shell(char*)’:
src/CmSupport.cpp:186:14: warning: ignoring return value of ‘int 
system(const char*)’, declared with attribute warn_unused_result 
[-Wunused-result]
make[1]: *** [obj/cm/Release/CmSupport.o] Error 1
make: *** [cm] Error 2
[~/cm]$

Any ideas what the problem might be?

Thanks,
Peter


-- 
//=============================
-> Peter O'Doherty
-> http://www.peterodoherty.net
-> mail at peterodoherty.net
-> https://joindiaspora.com/people/70716
//=============================



More information about the Cmdist mailing list