Wiki¶
Building/Compiling Questions¶
Compiling under OS X Lion (OS X 10.7)¶
In order to compile correctly, you need to edit the Makefile build/osx/Makefile.osx
and replace its contents with:
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 CXXFLAGS := $(CFLAGS) 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 PLUGIN_EXT := .dylib include build/general/Makefile.inc