[flext] Ubuntu 12.04 Flext install issues
jonathan pivar
jonathanpivar at gmail.com
Sat Nov 2 04:30:03 CET 2013
Hello,
As advised, I tried compiling using the vanilla folder rather than
pd-extended. Seemingly, no change. Here's what's going on, starting from
fresh svn checkout:
jonathanpivar at UbuntuStudioLaptop:~/Documents/PureDataLibraries/PD-Externals$
cd /home/jonathanpivar/Documents/PureDataLibraries/PD-Externals/flext
jonathanpivar at UbuntuStudioLaptop:~/Documents/PureDataLibraries/PD-Externals/flext$
bash build.sh pd gcc
-------------------------------------------------------------------------
A default system configuration file has been created.
Please edit ./buildsys/config-lnx-pd-gcc.txt
to match your platform, then start again.
-------------------------------------------------------------------------
make: *** [buildsys/config-lnx-pd-gcc.txt] Error 1
jonathanpivar at UbuntuStudioLaptop:~/Documents/PureDataLibraries/PD-Externals/flext$
bash build.sh pd gcc
-------------------------------------------------------------------------
A default package configuration file has been created.
Please edit config.txt, then start again.
-------------------------------------------------------------------------
make: *** [config.txt] Error 1
jonathanpivar at UbuntuStudioLaptop:~/Documents/PureDataLibraries/PD-Externals/flext$
bash build.sh pd gcc
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 _build_
make[1]: Entering directory
`/home/jonathanpivar/Documents/PureDataLibraries/PD-Externals/flext'
mkdir -p pd-linux/release-single
mkdir -p pd-linux/release-single/
g++ -c -msse -mfpmath=sse -ffast-math -DFLEXT_USE_CMEM -O3 -march=pentium4
-pthread -fPIC -fvisibility-inlines-hidden -DFLEXT_USE_SIMD -DNDEBUG
-DFLEXT_EXPORTS -DFLEXT_SYS=2 -DPD -I/usr/include/pd//src
-I/usr/include/pd//include -I/usr/include/pd//include/pd
-I/home/jonathanpivar/Documents/STK/stk-4.4.4/include
-I/home/jonathanpivar/Documents/SndObj-2.6.7/include/SndObj
source/flbase.cpp -o pd-linux/release-single/flbase.opp
source/flbase.cpp:32:22: fatal error: g_canvas.h: No such file or directory
compilation terminated.
make[1]: *** [pd-linux/release-single/flbase.opp] Error 1
make[1]: Leaving directory
`/home/jonathanpivar/Documents/PureDataLibraries/PD-Externals/flext'
make: *** [build-release-single] Error 2
jonathanpivar at UbuntuStudioLaptop
:~/Documents/PureDataLibraries/PD-Externals/flext$
and, config-lnx-pd-gcc.txt looks like this:
# 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/pd/
###############################################################
# 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, config.txt looks like this:
# comment out to inhibit SIMD (Altivec/SSE) usage
SIMD=1
The thing that's confusing me, is that g_canvas.h is in both my pd-extended
and vanilla folders. I don't see how it's terminating with an error there.
Hmm. Very curious.
Thanks for the help,
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20131101/6b3231a7/attachment-0001.htm>
More information about the flext
mailing list