bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build failure on OS X:


From: Harmath Dénes
Subject: Build failure on OS X:
Date: Tue, 15 Dec 2009 15:18:50 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

When running make all on OS X 10.6.2, I get the following C++ compilation error:

In file included from /usr/include/c++/4.2.1/vector:70,
                from ./include/std-vector.hh:78,
                from ./include/file-name.hh:23,
                from file-name.cc:21:
/usr/include/c++/4.2.1/bits/stl_vector.h:162: error: template class without a
name
/usr/include/c++/4.2.1/bits/stl_vector.h:170: error: expected unqualified-id
before '<' token

...and things go downhill from there, flooding the screen with C++ syntax
errors.

According to the discussion in
http://www.mail-archive.com/address@hidden/msg29280.html,
there is a workaround, issuing the command

perl -pi -e 's|__vector|lily_vector|g' flower/include/std-vector.hh

solves the problem.
If it compiles well on other platforms with it, LilyPond should contain the
patched version of std-vector.hh.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]