On Thursday, 25 May 2000, Adam Tee writes:

> I've just tried to compile .54 on my machine and I get an error which
> is:

Yup.

Try this little fix:

--- lily/staff-symbol-referencer.cc.orig        Thu May 25 00:20:47 2000
+++ lily/staff-symbol-referencer.cc     Thu May 25 14:45:25 2000
@@ -98,7 +98,8 @@
       Real space = staff_symbol_referencer (sc).staff_space ();
       off = gh_scm2double (pos) * space/2.0;
     }
-  sc->set_elt_property ("staff-position", gh_double2scm (0.0));
+  Score_element* urg = (Score_element*)sc;
+  urg->set_elt_property ("staff-position", gh_double2scm (0.0));
 
   return off;
 }

Greetigns

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org

Reply via email to