[flext] Ubuntu 12.04 Flext install issues

jonathan pivar jonathanpivar at gmail.com
Mon Nov 4 06:16:13 CET 2013


Hello Flext Users,

The gods of computing are not shining down upon my laptop tonight!  I've
tried everything that I can think of to tackle this, no luck.  I keep
getting stuck in the same place:

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/
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





And the config-lnx-pd-gcc.txt file:





# 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





I tried compiling, pointing toward vanilla rather than extended.  I've
tried searching my computer for "pd," and went, folder by folder, trying to
make sure I was giving correct pd location...kept getting "fatal error:
g_canvas.h"

I then searched my computer for g_canvas.h, which ended up being located
twice: once in pd's folder in /usr/include/pd, the other in pd-extended's.
 Then found a g_canvas.h with root permissions.  Root permissions? Maybe
it's just a permission thing?  I then sudo chmod 777 the g_canvas.h file.
 Nothing, just what's posted above.  I'm at a loss.

Hopefully it's just a simple thing that I'm missing.  Your ongoing help is
much appreciated.

Thanks,

Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20131103/6d285390/attachment.htm>


More information about the flext mailing list