[CM] Compilation problems

Gregory Joyce gkjoyce at gmail.com
Tue Aug 31 16:53:04 PDT 2010


So using the version off of SVN I got this error on my first "make"

src/CmSupport.cpp: In function ‘void cm_print_markov_table(s7_cell*,
s7_cell*, int, int)’:
src/CmSupport.cpp:86:63: error: too few arguments to function
‘s7_cell* s7_object_to_string(s7_scheme*, s7_cell*, bool)’
/usr/include/s7.h:137:12: note: declared here
make[1]: *** [obj/cm/Release/CmSupport.o] Error 1
make: *** [cm] Error 2

I put ",true" into that statement and that got rid of that error.  I
have no idea whether that should be "true" or not.


When Grace tries to build I get this:

In file included from src/Main.cpp:37:0:
src/Skin.h: In member function ‘virtual void
WindowsSkin::drawPopupMenuBackground(juce::Graphics&, int, int)’:
src/Skin.h:52:47: error: cannot call constructor ‘juce::Colour::Colour’ directly
src/Skin.h:52:47: error:   for a function-style cast, remove the
redundant ‘::Colour’
src/Skin.h:53:49: error: cannot call constructor ‘juce::Colour::Colour’ directly
src/Skin.h:53:49: error:   for a function-style cast, remove the
redundant ‘::Colour’
src/Skin.h: In member function ‘virtual void
WindowsSkin::drawPopupMenuItem(juce::Graphics&, int, int, bool, bool,
bool, bool, bool, const juce::String&, const juce::String&,
juce::Image*, const juce::Colour*)’:
src/Skin.h:69:45: error: cannot call constructor ‘juce::Colour::Colour’ directly
src/Skin.h:69:45: error:   for a function-style cast, remove the
redundant ‘::Colour’
src/Skin.h:84:66: error: cannot call constructor ‘juce::Colour::Colour’ directly
src/Skin.h:84:66: error:   for a function-style cast, remove the
redundant ‘::Colour’
src/Skin.h:85:43: error: cannot call constructor ‘juce::Colour::Colour’ directly
src/Skin.h:85:43: error:   for a function-style cast, remove the
redundant ‘::Colour’
src/Skin.h:89:49: error: cannot call constructor ‘juce::Colour::Colour’ directly
src/Skin.h:89:49: error:   for a function-style cast, remove the
redundant ‘::Colour’
src/Skin.h: In member function ‘virtual void
WindowsSkin::drawMenuBarItem(juce::Graphics&, int, int, int, const
juce::String&, bool, bool, bool, juce::MenuBarComponent&)’:
src/Skin.h:204:51: error: cannot call constructor
‘juce::Colour::Colour’ directly
src/Skin.h:204:51: error:   for a function-style cast, remove the
redundant ‘::Colour’
src/Skin.h:207:51: error: cannot call constructor
‘juce::Colour::Colour’ directly
src/Skin.h:207:51: error:   for a function-style cast, remove the
redundant ‘::Colour’
src/Skin.h:214:62: error: cannot call constructor
‘juce::Colour::Colour’ directly
src/Skin.h:214:62: error:   for a function-style cast, remove the
redundant ‘::Colour’
src/Skin.h:215:39: error: cannot call constructor
‘juce::Colour::Colour’ directly
src/Skin.h:215:39: error:   for a function-style cast, remove the
redundant ‘::Colour’
src/Skin.h: In member function ‘virtual void
WindowsSkin::drawMenuBarBackground(juce::Graphics&, int, int, bool,
juce::MenuBarComponent&)’:
src/Skin.h:230:47: error: cannot call constructor
‘juce::Colour::Colour’ directly
src/Skin.h:230:47: error:   for a function-style cast, remove the
redundant ‘::Colour’
src/Skin.h:232:49: error: cannot call constructor
‘juce::Colour::Colour’ directly
src/Skin.h:232:49: error:   for a function-style cast, remove the
redundant ‘::Colour’
src/Skin.h:235:49: error: cannot call constructor
‘juce::Colour::Colour’ directly
src/Skin.h:235:49: error:   for a function-style cast, remove the
redundant ‘::Colour’
make[1]: *** [obj/grace/Release/Main.o] Error 1
make: *** [grace] Error 2

Which I have no idea about.  Any thoughts?
Thanks
Greg



More information about the Cmdist mailing list