Wiki » History » Version 1
Luis Figueira, 2012-02-23 05:31 PM
added lion makefile fix
1 | 1 | Luis Figueira | h1. Wiki |
---|---|---|---|
2 | 1 | Luis Figueira | |
3 | 1 | Luis Figueira | |
4 | 1 | Luis Figueira | h2. Building/Compiling Questions |
5 | 1 | Luis Figueira | |
6 | 1 | Luis Figueira | h3. Compiling under OS X Lion (OS X 10.7) |
7 | 1 | Luis Figueira | |
8 | 1 | Luis Figueira | In order to compile correctly, you need to edit the Makefile @build/osx/Makefile.osx@ and replace its contents with: |
9 | 1 | Luis Figueira | |
10 | 1 | Luis Figueira | <pre> |
11 | 1 | Luis Figueira | CFLAGS := -O3 -ftree-vectorize -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -I../vamp-plugin-sdk -I/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/Headers/ -DUSE_PTHREADS |
12 | 1 | Luis Figueira | |
13 | 1 | Luis Figueira | CXXFLAGS := $(CFLAGS) |
14 | 1 | Luis Figueira | |
15 | 1 | Luis Figueira | LDFLAGS := -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -dynamiclib -lqm-dsp ../vamp-plugin-sdk/libvamp-sdk.a -framework Accelerate -lpthread -exported_symbols_list vamp-plugin.list -install_name qm-vamp-plugins.dylib |
16 | 1 | Luis Figueira | |
17 | 1 | Luis Figueira | PLUGIN_EXT := .dylib |
18 | 1 | Luis Figueira | |
19 | 1 | Luis Figueira | include build/general/Makefile.inc |
20 | 1 | Luis Figueira | </pre> |