[flext] source/flbase.cpp:1:0: error: CPU you selected does not support x86-64 instruction set

Jonghyun Kim agitato816 at gmail.com
Sat Jan 10 02:34:38 UTC 2015


I installed both pd-vanilla and pd-extended.

When I type in terminal *"pd"*, then it runs *pd-extended*. To run
*pd-vanilla*, I have to type *"puredata"*. Can it be a problem on
compiling?

akntk

On Sat, Jan 10, 2015 at 11:19 AM, Jonghyun Kim <agitato816 at gmail.com> wrote:

> Hi,
>
> I'm trying compile pd_leapmotion.pd_linux. I tried "bash build.sh pd gcc"
> and I've got error. How to solve this error?
>
> The important error msg:
> ==========================
> g++ -c  -msse -mfpmath=sse -ffast-math -DFLEXT_USE_CMEM -O3
> -march=pentium4   -I/usr/include/pd -pthread -fPIC
> -fvisibility-inlines-hidden -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_EXPORTS
> -DFLEXT_SYS=2 -DPD -I~/src/pd-0.46-4//src -I~/src/pd-0.46-4//include
> -I~/src/pd-0.46-4//include/pd source/flbase.cpp -o
> pd-linux/release-single/flbase.opp
> *source/flbase.cpp:1:0: error: CPU you selected does not support x86-64
> instruction set*
> * /**
> * ^*
> *source/flbase.cpp:1:0: error: CPU you selected does not support x86-64
> instruction set*
> *make[1]: *** [pd-linux/release-single/flbase.opp] Error 1*
> *make[1]: Leaving directory `/home/akntk/Downloads/pd_leapmotion/flext'*
> *make: *** [build-release-single] Error 2*
> =========================
>
> below more information
>
> Many thanks,
> akntk
>
>
>
>
>
> my setup===================================
> Ubuntu 14.04 64Bit
> Linux umi 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014
> x86_64 x86_64 x86_64 GNU/Linux
>
> Flext ver 0.5.2 (Jan. 10, 2015)
>
> config.txt==================================
> # comment out to inhibit SIMD (Altivec/SSE) usage
> SIMD=1
>
> config-lnx-pd-gcc.txt==========================
> # 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/local/src/pd
> PDPATH=~/src/pd-0.46-4/
>
> ###############################################################
>
> # 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
> 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)
> ####disabled!!####STK_INC=/usr/local/include/stk
>
> # where to find the STK library (normally libstk.a)
> # (comment out STK_LIB if you don't use STK)
> #STK_LIB=/usr/local/lib/libstk.a
>
> ###############################################################
>
> # SndObj support
> # http://music.nuim.ie//musictec/SndObj
>
> # where to find the SndObj header files (e.g. sndobj.h)
> ####disabled!!#####SNDOBJ_INC=/usr/local/include/sndobj
>
> # where to find the SndObj library (normally libsndobj.a)
> # (comment out STK_LIB if you don't use SndObj)
> #SNDOBJ_LIB=/usr/local/lib/libsndobj.a
>
> ###############################################################
>
> # 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
>
>
> =========================================
> build err msg===============================
> akntk at umi:~/Downloads/pd_leapmotion/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/akntk/Downloads/pd_leapmotion/flext'
> mkdir -p pd-linux/release-single/
> g++ -c  -msse -mfpmath=sse -ffast-math -DFLEXT_USE_CMEM -O3
> -march=pentium4   -I/usr/include/pd -pthread -fPIC
> -fvisibility-inlines-hidden -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_EXPORTS
> -DFLEXT_SYS=2 -DPD -I~/src/pd-0.46-4//src -I~/src/pd-0.46-4//include
> -I~/src/pd-0.46-4//include/pd source/flbase.cpp -o
> pd-linux/release-single/flbase.opp
> *source/flbase.cpp:1:0: error: CPU you selected does not support x86-64
> instruction set*
> * /**
> * ^*
> *source/flbase.cpp:1:0: error: CPU you selected does not support x86-64
> instruction set*
> *make[1]: *** [pd-linux/release-single/flbase.opp] Error 1*
> *make[1]: Leaving directory `/home/akntk/Downloads/pd_leapmotion/flext'*
> *make: *** [build-release-single] Error 2*
> akntk at umi:~/Downloads/pd_leapmotion/flext$
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20150110/a842b715/attachment.html>


More information about the flext mailing list