[CM] Trouble buillding cm on Arch Linux

Phil Thomson phil at philthomson.ca
Mon Aug 20 20:49:23 PDT 2012


Hello,

I am trying to build cm on Arch Linux. I have installed sndlilb from 
source as recommended in the sndlib readme.

I got the cm source from svn and ran premake. (Had to do some fiddly 
things to get it to see liblo, but it seemed to work.) However, when I 
run 'make', I get the following error:

==== Building cm ====
Metronome.cpp
Syntax.cpp
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)’
make[1]: *** [obj/cm/Release/CmSupport.o] Error 1
make: *** [cm] Error 2

I would be grateful for any light you might be able to shed on this. 
Thanks in advance!

-- 
Phil Thomson
http://philthomson.ca/



More information about the Cmdist mailing list