[flext] Ubuntu 12.04 Flext install issues
jonathan pivar
jonathanpivar at gmail.com
Thu Oct 31 21:03:13 CET 2013
Hi Everybody,
This is my first post, please bear with me. I'm just learning c/c++, so
I'm a bit at a loss.
I'm having issues installing. I thought that I had installed correctly and
went on to install py, but when I used the py object, it froze pd. So, I
deleted everything I'd done and tried again...
I've tried to install based upon the instructions contained in the
build.txt file. I modified the config-lnx-pd-gcc.txt to point to the pd
header files, the stk files and sndobj files, as requested. My files were
in different locations:
# where is the PD source package?
# (this should point to the main folder, which has a "src" (PD Vanilla) or
"include" (PD extended) subfolder)
PDPATH=/usr/include/pdextended/m_pd.h
###############################################################
# prefix for flext installation
# headers are in $(FLEXTPREFIX)/include/flext
# libraries are in $(FLEXTPREFIX)/lib
# build system is in $(FLEXTPREFIX)/lib/flext
FLEXTPREFIX=/usr/local
###############################################################
# where should the external be built?
OUTPATH=pd-linux
# where should the external be installed?
INSTPATH=/usr/local/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=/home/jonathanpivar/Documents/STK/stk-4.4.4/include
# where to find the STK library (normally libstk.a)
# (comment out STK_LIB if you don't use STK)
#STK_LIB=/home/jonathanpivar/Documents/STK/stk-4.4.4/src/libstick.a
###############################################################
# SndObj support
# http://music.nuim.ie//musictec/SndObj
# where to find the SndObj header files (e.g. sndobj.h)
SNDOBJ_INC=/home/jonathanpivar/Documents/SndObj-2.6.7/include/SndObj
# where to find the SndObj library (normally libsndobj.a)
# (comment out STK_LIB if you don't use SndObj)
#SNDOBJ_LIB=/home/jonathanpivar/Documents/SndObj-2.6.7/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
# don't overload new and delete operators
UFLAGS+=-DFLEXT_USE_CMEM
# user defined optimization flags
# (check if they match your system!)
OFLAGS=-O3
# optimizations for Pentium 4
OFLAGS+=-march=pentium4
And, when I try compiling:
jonathanpivar at UbuntuStudioLaptop:~/Documents/PureDataLibraries/PD-Externals/flext$
sudo bash build.sh pd gcc install
make -f ./buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd COMPILER=gcc
BUILDPATH=./buildsys/ PKGINFO=package.txt BUILDCLASS=flext
USRCONFIG=config.txt USRMAKE=build/gnumake-lnx-gcc.inc TARGETMODE=release
TARGETTYPE=single _install_
make[1]: Entering directory
`/home/jonathanpivar/Documents/PureDataLibraries/PD-Externals/flext'
install pd-linux/release-single/libflext-pd_s.a.0.5.2 /usr/local/lib
install: cannot stat `pd-linux/release-single/libflext-pd_s.a.0.5.2': No
such file or directory
make[1]: *** [_install_] Error 1
make[1]: Leaving directory
`/home/jonathanpivar/Documents/PureDataLibraries/PD-Externals/flext'
make: *** [install-release-single] Error 2
jonathanpivar at UbuntuStudioLaptop
:~/Documents/PureDataLibraries/PD-Externals/flext$
I've gotten as far as I can with the documentation, so I'm here. Thanks in
advance! Hopefully, it's something trivial.
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20131031/4014a404/attachment.htm>
More information about the flext
mailing list