domenica 11 luglio 2010

Compile flext on Ubuntu Lucyd

Compile http://puredata.info/Members/thomas/flext
Follow istructions here : https://svn.grrrr.org/ext/trunk/flext/build.txt

svn co https://svn.grrrr.org/ext/trunk/flext flext

edit /flext/buildsys/config-lnx-pd-gcc.txt

like this :

"""
# where is the PD source package?
# (this should point to the main folder, which has a "src" subfolder)
#PDPATH=/usr/local/src/pd
PDPATH=/home/marco/puredata-0.42.5
###############################################################

# prefix for flext installation
# headers are in $(FLEXTPREFIX)/include/flext
# libraries are in $(FLEXTPREFIX)/lib
# build system is in $(FLEXTPREFIX)/lib/flext

FLEXTPREFIX=/usr/

###############################################################

# where should the external be built?
OUTPATH=pd-linux

# where should the external be installed?
INSTPATH=/usr/lib/pd/extra

###############################################################

# STK (synthesis tool kit) support
# http://ccrma.stanford.edu/software/stk

# where to find the STK header files (e.g. stk.h)
#STK_INC=/usr/local/include/stk
STK_INC=/usr/include/stk

# where to find the STK library (normally libstk.a)
# (comment out STK_LIB if you don't use STK)
STK_LIB=/usr/lib/libstk.so

###############################################################

# SndObj support
# http://music.nuim.ie//musictec/SndObj

# where to find the SndObj header files (e.g. sndobj.h)
SNDOBJ_INC=/usr/include/sndobj

# where to find the SndObj library (normally libsndobj.a)
# (comment out STK_LIB if you don't use SndObj)
SNDOBJ_LIB=/usr/lib/libsndobj.so

###############################################################

# make flags (e.g. use multiprocessor)
#MFLAGS=-j 2

# user defined compiler flags
# (check if they match your system!)
UFLAGS=-msse -mfpmath=sse -ffast-math

# user defined optimization flags
# (check if they match your system!)
OFLAGS=-O3
# optimizations for Pentium 4
#OFLAGS+=-march=pentium4

"""

Install libsndobj and stk and g++

I hope this help my friend vogon...

Nessun commento:

Posta un commento