Hi, i have no problems building GApop when using the new flext build system (i didn't try the makefile included). For this, GApop has to be given a package.txt file with the following content:
NAME=GApop SRCDIR = src SRCS= GApop.cpp
and then built with
sh pathtoflext/build.sh pd gcc
Actually i can hardly imagine where an error like the one reported can come from... i'm pretty sure it's not a flext issue, rather one of too many include directories causing filename clashes or similar.
best greetings, Thomas
David Plans Casal schrieb:
Hello people,
I'm trying to compile GAPop on OSX an hitting this error, which Georg hints may be a Flext issue (Thomas?):
waldorf:/usr/local/lib/pd/extra/GApop dc$ ./build-pd-darwin.sh g++-3.3 -c -c -O6 -mcpu=G4 -DPD -dynamic -O2 -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes -funroll-loops -fmove-all-movables -frerun-loop-opt -fno-rtti -fno-exceptions
-DFLEXT_SYS=2 -I/usr/local/lib/pd/src -I./headers/plugin_interface -I./headers/common -I./headers/server -I./headers/app -I./headers/lang -I/usr/include/machine/ -I/usr/local/lib/pd/flext src/GApop.cpp -o pd-darwin/GApop.o In file included from /usr/include/pthread.h:61, from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:37, from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr.h:98, from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:37, from /usr/include/gcc/darwin/3.3/c++/bits/fpos.h:44, from /usr/include/gcc/darwin/3.3/c++/iosfwd:49, from /usr/include/gcc/darwin/3.3/c++/bits/stl_algobase.h:70, from /usr/include/gcc/darwin/3.3/c++/bits/stl_tree.h:86, from /usr/include/gcc/darwin/3.3/c++/map:66, from /usr/local/lib/pd/flext/flmap.h:18, from /usr/local/lib/pd/flext/flclass.h:22, from /usr/local/lib/pd/flext/flext.h:66, from src/GApop.cpp:22: /usr/include/unistd.h:236: error: parse error before*' token In file included from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:37, from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr.h:98, from /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:37, from /usr/include/gcc/darwin/3.3/c++/bits/fpos.h:44, from /usr/include/gcc/darwin/3.3/c++/iosfwd:49, from /usr/include/gcc/darwin/3.3/c++/bits/stl_algobase.h:70, from /usr/include/gcc/darwin/3.3/c++/bits/stl_tree.h:86, from /usr/include/gcc/darwin/3.3/c++/map:66, from /usr/local/lib/pd/flext/flmap.h:18, from /usr/local/lib/pd/flext/flclass.h:22, from /usr/local/lib/pd/flext/flext.h:66, from src/GApop.cpp:22: /usr/include/pthread.h:256: error: parse error before
*' token make: *** [pd-darwin/GApop.o] Error 1 waldorf:/usr/local/lib/pd/extra/GApop dc$Any ideas?
d
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list