[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
building on Mac OS X
From: |
Jeff Sickel |
Subject: |
building on Mac OS X |
Date: |
Fri, 2 Apr 2004 13:01:38 -0600 |
I've had two issues when building LilyPond on Mac OS X:
python:
The python midi.c module doesn't build correctly unless you add a
setup.py file like the following:
from distutils.core import setup, Extension
setup(name="midi", version="1.0",
ext_modules=[
Extension("midi", ["midi.c"], extra_link_args=["-framework",
"CoreAudio"])
]
)
and end up building the module the standard python way and copying
over the midi.so.
lexer.ll:
The lily subtree ends up choking when compiling lex.yy.o (and lexer.o)
#include <iostream> (change to iostream.h) and creates out/lex.yy.o and
out/lexer.o. The actually linker gets duplicate symbols from linking
both lex.yy.o and lexer.o into the executable. Fortunately, just
removing ./out/lexer.o from the linking command makes it work.
jas
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- building on Mac OS X,
Jeff Sickel <=