[CM] ubuntu build error ; additional ubuntu installation requirements
Terrence Brannon
schemelab at gmail.com
Thu Oct 28 18:16:57 PDT 2010
The readme.txt omits some of the packages that are apparently needed to
install CM, per this post:
http://ubuntuforums.org/archive/index.php/t-1281658.html
Also, I cannot build cm on ubuntu -
[thequietcenter at ubuntu ~/Downloads/cm] premake --verbose --target gnu --sndlib ../sndlib&& make
Generating GNU makefiles:
...juce
...cm
...grace
==== Building juce ====
mkdir -p obj/juce/Release
g++ -MMD -D "JUCE_OPENGL=0" -D "JUCE_CHECK_MEMORY_LEAKS=0" -D "JUCE_JACK=1" -I "src" -I "/usr/include/freetype2" -O2 -o "obj/juce/Release/juce_amalgamated.o" -c "src/juce_amalgamated.cpp"
mkdir -p bin
mkdir -p .
mkdir -p ./obj/juce
ar -rcs ./obj/juce/libjuce.a obj/juce/Release/juce_amalgamated.o
==== Building cm ====
mkdir -p obj/cm/Release
g++ -MMD -D "JUCE_OPENGL=0" -D "JUCE_CHECK_MEMORY_LEAKS=0" -D "JUCE_JACK=1" -D "SNDLIB=1" -D "LINUX=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_OPENGL=0" -D "JUCE_CHECK_MEMORY_LEAKS=0" -D "JUCE_JACK=1" -D "SNDLIB=1" -D "LINUX=1" -I "src" -I "../sndlib/" -O2 -o "obj/cm/Release/CmSupport.o" -c "src/CmSupport.cpp"
../sndlib/s7.h: In function ‘void cm_print_markov_table(s7_cell*, s7_cell*, int, int)’:
../sndlib/s7.h:138: error: too few arguments to function ‘s7_cell* s7_object_to_string(s7_scheme*, s7_cell*, bool)’
src/CmSupport.cpp:86: error: at this point in file
src/CmSupport.cpp: In function ‘void cm_shell(char*)’:
src/CmSupport.cpp:164: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/CmSupport.cpp: In function ‘char* cm_pathname_directory(char*)’:
src/CmSupport.cpp:731: warning: deprecated conversion from string constant to ‘char*’
make[1]: *** [obj/cm/Release/CmSupport.o] Error 1
make: *** [cm] Error 2
[thequietcenter at ubuntu ~/Downloads/cm]
More information about the Cmdist
mailing list