[CM] New user - a few questions

Isidor Zeuner cm at quidecco.de
Mon Sep 3 05:31:11 PDT 2012


Hi Peter,

[...]
> 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)’
[...]

I ran into the same problem, which I assume is due to an interface
change in s7 which requires to pass a pointer to the scheme instance
now. I could compile it using the attached patch. I'm not yet too
experienced in working with the sndlib/cm sources, but so I could
successfully work with the resulting binaries so far.

Best regards,

Isidor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commonmusic-s7.diff.gz
Type: application/gzip
Size: 2235 bytes
Desc: not available
Url : http://ccrma-mail.stanford.edu/pipermail/cmdist/attachments/20120903/a0a2b6dc/attachment.bin 


More information about the Cmdist mailing list