hi after a succesfull flext install i tried to get up the pyext
with this config.txt # what is the base prefix of the Python installation? PYTHONPREFIX=/usr/include/python2.5
# which Python version do you want to compile against? PYTHONVERSION=2.5
# uncomment if numarray support should be compiled in # for info about numarray see http://numeric.scipy.org # PY_NUMARRAY=1
i get the following erroror:
olsen@ll-928:~/pd/extra/py$ bash ../flext/build.sh pd gcc
make -f ../flext/buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd
COMPILER=gcc BUILDPATH=../flext/buildsys/ PKGINFO=package.txt
BUILDCLASS=ext USRCONFIG=config.txt USRMAKE=build/gnumake-lnx-gcc.inc
TARGETMODE=release TARGETTYPE=multi THREADED=1 _build_
make[1]: Entering directory /home/olsen/pd/extra/py' g++ -c -msse -mfpmath=sse -ffast-math -DNDEBUG -O3 -pthread -fPIC -DPY_EXPORTS -DFLEXT_THREADS -DFLEXT_SYS=2 -I/usr/include/python2.5/include/python2.5 -I/home/olsen/pd/extra/pd-0.39-2/src -I/usr/local/include/flext source/main.cpp -o pd-linux/release-multi/main.opp In file included from source/main.h:14, from source/main.cpp:11: source/pyprefix.h:20:20: error: Python.h: No such file or directory source/pysymbol.h:38: error: ISO C++ forbids declaration of 'PyObject_HEAD' with no type source/pysymbol.h:40: error: expected ';' before 'const' source/pysymbol.h:43: error: 'PyTypeObject' does not name a type source/pysymbol.h:57: error: expected constructor, destructor, or type conversion before '*' token source/pysymbol.h:59: error: expected initializer before '*' token source/pysymbol.h:64: error: expected initializer before '*' token source/pysymbol.h:69: error: 'pySymbol_AS_SYMBOL' declared as an 'inline' variable source/pysymbol.h:69: error: 'PyObject' was not declared in this scope source/pysymbol.h:69: error: 'op' was not declared in this scope source/pysymbol.h:70: error: expected ',' or ';' before '{' token source/pysymbol.h:74: error: 'pySymbol_AsSymbol' declared as an 'inline' variable source/pysymbol.h:74: error: 'PyObject' was not declared in this scope source/pysymbol.h:74: error: 'op' was not declared in this scope source/pysymbol.h:75: error: expected ',' or ';' before '{' token source/pysymbol.h:79: error: 'pySymbol_AS_STRING' declared as an 'inline' variable source/pysymbol.h:79: error: 'PyObject' was not declared in this scope source/pysymbol.h:79: error: 'op' was not declared in this scope source/pysymbol.h:80: error: expected ',' or ';' before '{' token source/pysymbol.h:84: error: 'pyObject_AsSymbol' declared as an 'inline' variable source/pysymbol.h:84: error: 'PyObject' was not declared in this scope source/pysymbol.h:84: error: 'op' was not declared in this scope source/pysymbol.h:85: error: expected ',' or ';' before '{' token source/pybuffer.h:38: error: ISO C++ forbids declaration of 'PyObject_HEAD' with no type source/pybuffer.h:40: error: expected ';' before 'const' source/pybuffer.h:46: error: 'PyTypeObject' does not name a type source/pybuffer.h:52: error: expected constructor, destructor, or type conversion before '*' token source/pybuffer.h:54: error: expected initializer before '*' token source/pybuffer.h:59: error: expected initializer before '*' token source/pybuffer.h:64: error: 'pySamplebuffer_AS_SYMBOL' declared as an 'inline' variable source/pybuffer.h:64: error: 'PyObject' was not declared in this scope source/pybuffer.h:64: error: 'op' was not declared in this scope source/pybuffer.h:65: error: expected ',' or ';' before '{' token source/pybuffer.h:69: error: 'pySamplebuffer_AsSymbol' declared as an 'inline' variable source/pybuffer.h:69: error: 'PyObject' was not declared in this scope source/pybuffer.h:69: error: 'op' was not declared in this scope source/pybuffer.h:70: error: expected ',' or ';' before '{' token source/pybuffer.h:74: error: 'pySamplebuffer_AS_STRING' declared as an 'inline' variable source/pybuffer.h:74: error: 'PyObject' was not declared in this scope source/pybuffer.h:74: error: 'op' was not declared in this scope source/pybuffer.h:75: error: expected ',' or ';' before '{' token source/main.h:45: error: 'PyObject' has not been declared source/main.h:45: error: 'PyObject' has not been declared source/main.h:46: error: ISO C++ forbids declaration of 'PyObject' with no type source/main.h:46: error: expected ';' before '*' token source/main.h: In member function 'void FifoEl::Set(int*, int*)': source/main.h:45: error: 'fun' was not declared in this scope source/main.h:45: error: 'args' was not declared in this scope source/main.h: At global scope: source/main.h:61: error: ISO C++ forbids declaration of 'PyObject' with no type source/main.h:61: error: expected ';' before '*' token source/main.h:62: error: 'PyObject' has not been declared source/main.h:62: error: 'PyObject' has not been declared source/main.h:70: error: 'PyObject' has not been declared source/main.h:71: error: 'PyObject' has not been declared source/main.h:78: error: ISO C++ forbids declaration of 'PyObject' with no type source/main.h:78: error: expected ';' before '*' token source/main.h:82: error: 'PyObject' has not been declared source/main.h:98: error: ISO C++ forbids declaration of 'PyObject' with no type source/main.h:98: error: expected ';' before '*' token source/main.h:100: error: 'PyObject' has not been declared source/main.h:103: error: 'PyObject' has not been declared source/main.h:105: error: 'PyObject' has not been declared source/main.h:124: error: ISO C++ forbids declaration of 'PyObject' with no type source/main.h:125: error: 'PyMethodDef' does not name a type source/main.h:127: error: ISO C++ forbids declaration of 'PyObject' with no type source/main.h:127: error: expected ';' before '*' token source/main.h:128: error: ISO C++ forbids declaration of 'PyObject' with no type source/main.h:128: error: expected ';' before '*' token source/main.h:130: error: ISO C++ forbids declaration of 'PyObject' with no type source/main.h:130: error: expected ';' before '*' token source/main.h:133: error: ISO C++ forbids declaration of 'PyObject' with no type source/main.h:133: error: expected ';' before '*' token source/main.h:134: error: ISO C++ forbids declaration of 'PyObject' with no type source/main.h:134: error: expected ';' before '*' token source/main.h:135: error: ISO C++ forbids declaration of 'PyObject' with no type source/main.h:135: error: expected ';' before '*' token source/main.h:138: error: ISO C++ forbids declaration of 'PyObject' with no type source/main.h:138: error: expected ';' before '*' token source/main.h:139: error: ISO C++ forbids declaration of 'PyObject' with no type source/main.h:139: error: expected ';' before '*' token source/main.h:164: error: 'PyObject' has not been declared source/main.h:164: error: 'PyObject' has not been declared source/main.h:166: error: 'PyObject' has not been declared source/main.h:166: error: 'PyObject' has not been declared source/main.h:179: error: 'PyObject' has not been declared source/main.h:179: error: 'PyObject' has not been declared source/main.h:183: error: ISO C++ forbids declaration of 'PyThreadState' with no type source/main.h:183: error: expected ';' before '*' token source/main.h:185: error: ISO C++ forbids declaration of 'PyThreadState' with no type source/main.h:185: error: expected ';' before '*' token source/main.h:203: error: ISO C++ forbids declaration of 'PyThreadState' with no type source/main.h:203: error: expected ';' before '*' token source/main.h:209: error: expected
;' before 'static'
source/main.h:209: error: ISO C++ forbids declaration of
'PyThreadState' with no type
source/main.h:209: error: expected ';' before '*' token
source/main.h:215: error: expected `;' before 'static'
source/main.h:215: error: 'PyThreadState' has not been declared
source/main.h:230: error: ISO C++ forbids declaration of 'PyObject' with no type
source/main.h:230: error: expected ';' before '*' token
source/main.h: In member function 'void pybase::m_dir()':
source/main.h:73: error: 'module' was not declared in this scope
source/main.h: In member function 'void pybase::mg_dir(flext_multi::AtomList&)':
source/main.h:74: error: 'module' was not declared in this scope
source/main.h: In member function 'void pybase::m_doc()':
source/main.h:75: error: 'dict' was not declared in this scope
source/main.h: In member function 'void pybase::Report()':
source/main.h:116: error: 'PyErr_Occurred' was not declared in this scope
source/main.h:116: error: 'PyErr_Print' was not declared in this scope
source/main.h: In static member function 'static void pybase::PyUnlock(int*)':
source/main.h:217: error: 'PyThreadState' was not declared in this scope
source/main.h:217: error: 'old' was not declared in this scope
source/main.h:217: error: 'PyThreadState_Swap' was not declared in this scope
source/main.h:218: error: 'pythrsys' was not declared in this scope
source/main.h:218: error: 'PyEval_ReleaseLock' was not declared in this scope
source/main.cpp: At global scope:
source/main.cpp:14: error: 'PyMethodDef' does not name a type
source/main.cpp:20: error: expected initializer before '*' token
source/main.cpp:24: error: 'PyThreadState' was not declared in this scope
source/main.cpp:24: error: template argument 2 is invalid
source/main.cpp:24: error: template argument 4 is invalid
source/main.cpp:24: error: invalid type in declaration before ';' token
source/main.cpp:26: error: expected initializer before '*' token
source/main.cpp:28: error: expected constructor, destructor, or type
conversion before '*' token
source/main.cpp:32: error: expected constructor, destructor, or type
conversion before '*' token
source/main.cpp: In static member function 'static void
pybase::FreeThreadState()':
source/main.cpp:49: error: expected initializer before 'it'
source/main.cpp:50: error: 'it' was not declared in this scope
source/main.cpp:50: error: request for member 'end' in 'pythrmap',
which is of non-class type 'PyThrMap'
source/main.cpp:52: error: 'PyThreadState_Clear' was not declared in this scope
source/main.cpp:54: error: 'PyThreadState_Delete' was not declared in this scope
source/main.cpp:56: error: request for member 'erase' in 'pythrmap',
which is of non-class type 'PyThrMap'
source/main.cpp: At global scope:
source/main.cpp:62: error: expected constructor, destructor, or type
conversion before '*' token
source/main.cpp:63: error: expected constructor, destructor, or type
conversion before '*' token
source/main.cpp: In static member function 'static void pybase::lib_setup()':
source/main.cpp:76: error: 'Py_GetVersion' was not declared in this scope
source/main.cpp:85: error: 'Py_Initialize' was not declared in this scope
source/main.cpp:93: error: 'PyEval_InitThreads' was not declared in this scope
source/main.cpp:96: error: 'pythrsys' was not declared in this scope
source/main.cpp:96: error: 'PyThreadState_Get' was not declared in this scope
source/main.cpp:98: error: 'pymain' was not declared in this scope
source/main.cpp:101: error: invalid types 'PyThrMap[pthread_t]' for
array subscript
source/main.cpp:106: error: 'PySys_SetArgv' was not declared in this scope
source/main.cpp:109: error: 'module_obj' was not declared in this scope
source/main.cpp:109: error: 'func_tbl' was not declared in this scope
source/main.cpp:109: error: 'Py_InitModule' was not declared in this scope
source/main.cpp:110: error: 'module_dict' was not declared in this scope
source/main.cpp:110: error: 'PyModule_GetDict' was not declared in this scope
source/main.cpp:112: error: 'PyModule_AddStringConstant' was not
declared in this scope
source/main.cpp:115: error: 'PyObject' was not declared in this scope
source/main.cpp:115: error: 'py_out' was not declared in this scope
source/main.cpp:116: error: 'StdOut_Methods' was not declared in this scope
source/main.cpp:117: error: 'PySys_SetObject' was not declared in this scope
source/main.cpp:122: error: 'gcobj' was not declared in this scope
source/main.cpp:122: error: 'PyImport_ImportModule' was not declared
in this scope
source/main.cpp:124: error: 'gcollect' was not declared in this scope
source/main.cpp:124: error: 'PyObject_GetAttrString' was not declared
in this scope
source/main.cpp:125: error: 'Py_DECREF' was not declared in this scope
source/main.cpp:130: error: expected primary-expression before ')' token
source/main.cpp:130: error: 'pySymbol_Type' was not declared in this scope
source/main.cpp:130: error: 'PyModule_AddObject' was not declared in this scope
source/main.cpp:133: error: expected primary-expression before ')' token
source/main.cpp:134: error: expected primary-expression before ')' token
source/main.cpp:135: error: expected primary-expression before ')' token
source/main.cpp:136: error: expected primary-expression before ')' token
source/main.cpp:137: error: expected primary-expression before ')' token
source/main.cpp:138: error: expected primary-expression before ')' token
source/main.cpp:142: error: expected primary-expression before ')' token
source/main.cpp:142: error: 'pySamplebuffer_Type' was not declared in this scope
source/main.cpp:152: error: 'PyEval_ReleaseLock' was not declared in this scope
source/main.cpp: In constructor 'pybase::pybase()':
source/main.cpp:163: error: class 'pybase' does not have any field
named 'module'
source/main.cpp:169: error: 'PyThreadState' was not declared in this scope
source/main.cpp:169: error: 'state' was not declared in this scope
source/main.cpp:169: error: 'PyLockSys' was not declared in this scope
source/main.cpp:170: error: 'module_obj' was not declared in this scope
source/main.cpp:170: error: 'Py_INCREF' was not declared in this scope
source/main.cpp: In destructor 'virtual pybase::~pybase()':
source/main.cpp:176: error: 'PyThreadState' was not declared in this scope
source/main.cpp:176: error: 'state' was not declared in this scope
source/main.cpp:176: error: 'PyLockSys' was not declared in this scope
source/main.cpp:177: error: 'module_obj' was not declared in this scope
source/main.cpp:177: error: 'Py_XDECREF' was not declared in this scope
source/main.cpp: At global scope:
source/main.cpp:200: error: variable or field 'GetDir' declared void
source/main.cpp:200: error: 'int pybase::GetDir' is not a static
member of 'class pybase'
source/main.cpp:200: error: 'PyObject' was not declared in this scope
source/main.cpp:200: error: 'obj' was not declared in this scope
source/main.cpp:200: error: expected primary-expression before '&' token
source/main.cpp:200: error: 'lst' was not declared in this scope
source/main.cpp:200: error: initializer expression list treated as
compound expression
source/main.cpp:201: error: expected ',' or ';' before '{' token
source/main.cpp:218: error: variable or field 'm__dir' declared void
source/main.cpp:218: error: 'int pybase::m__dir' is not a static
member of 'class pybase'
source/main.cpp:218: error: 'PyObject' was not declared in this scope
source/main.cpp:218: error: 'obj' was not declared in this scope
source/main.cpp:219: error: expected ',' or ';' before '{' token
source/main.cpp:226: error: variable or field 'm__doc' declared void
source/main.cpp:226: error: 'int pybase::m__doc' is not a static
member of 'class pybase'
source/main.cpp:226: error: 'PyObject' was not declared in this scope
source/main.cpp:226: error: 'obj' was not declared in this scope
source/main.cpp:227: error: expected ',' or ';' before '{' token
source/main.cpp: In member function 'void pybase::SetArgs()':
source/main.cpp:282: error: 'PySys_SetArgv' was not declared in this scope
source/main.cpp: In member function 'void pybase::UnimportModule()':
source/main.cpp:298: error: 'module' was not declared in this scope
source/main.cpp:302: error: 'module' was not declared in this scope
source/main.cpp:302: error: 'Py_DECREF' was not declared in this scope
source/main.cpp:309: error: 'dict' was not declared in this scope
source/main.cpp: In member function 'bool pybase::ReloadModule()':
source/main.cpp:317: error: 'PyObject' was not declared in this scope
source/main.cpp:317: error: 'newmod' was not declared in this scope
source/main.cpp:317: error: 'module' was not declared in this scope
source/main.cpp:318: error: 'PyImport_ReloadModule' was not declared
in this scope
source/main.cpp:319: error: 'PyImport_ImportModule' was not declared
in this scope
source/main.cpp:326: error: 'Py_XDECREF' was not declared in this scope
source/main.cpp:328: error: 'dict' was not declared in this scope
source/main.cpp:328: error: 'PyModule_GetDict' was not declared in this scope
source/main.cpp: In member function 'void pybase::AddToPath(const char*)':
source/main.cpp:380: error: 'PyObject' was not declared in this scope
source/main.cpp:380: error: 'pobj' was not declared in this scope
source/main.cpp:380: error: 'PySys_GetObject' was not declared in this scope
source/main.cpp:381: error: 'PyList_Check' was not declared in this scope
source/main.cpp:382: error: 'ps' was not declared in this scope
source/main.cpp:382: error: 'PyString_FromString' was not declared in this scope
source/main.cpp:383: error: 'PySequence_Contains' was not declared in this scope
source/main.cpp:384: error: 'PyList_Append' was not declared in this scope
source/main.cpp:385: error: 'Py_DECREF' was not declared in this scope
source/main.cpp:387: error: 'PySys_SetObject' was not declared in this scope
source/main.cpp: In member function 'void pybase::Reload()':
source/main.cpp:404: error: 'PyThreadState' was not declared in this scope
source/main.cpp:404: error: 'state' was not declared in this scope
source/main.cpp:404: error: 'PyLockSys' was not declared in this scope
source/main.cpp:406: error: 'PyObject' was not declared in this scope
source/main.cpp:406: error: 'reg' was not declared in this scope
source/main.cpp:406: error: 'GetRegistry' was not declared in this scope
source/main.cpp:409: error: 'key' was not declared in this scope
source/main.cpp:411: error: 'PyDict_Next' was not declared in this scope
source/main.cpp:412: error: 'PyLong_AsLong' was not declared in this scope
source/main.cpp:428: error: 'key' was not declared in this scope
source/main.cpp:430: error: 'PyDict_Next' was not declared in this scope
source/main.cpp:431: error: 'PyLong_AsLong' was not declared in this scope
source/main.cpp: At global scope:
source/main.cpp:446: error: expected initializer before '*' token
source/main.cpp:449: error: expected constructor, destructor, or type
conversion before '*' token
source/main.cpp:494: error: expected )' before '*' token source/main.cpp:497: error: ISO C++ forbids declaration of 'PyObject' with no type source/main.cpp:497: error: expected ';' before '*' token source/main.cpp: In destructor 'work_data::~work_data()': source/main.cpp:495: error: 'fun' was not declared in this scope source/main.cpp:495: error: 'Py_DECREF' was not declared in this scope source/main.cpp:495: error: 'args' was not declared in this scope source/main.cpp: At global scope: source/main.cpp:500: error: 'bool pybase::gencall' is not a static member of 'class pybase' source/main.cpp:500: error: 'PyObject' was not declared in this scope source/main.cpp:500: error: 'pmeth' was not declared in this scope source/main.cpp:500: error: 'PyObject' was not declared in this scope source/main.cpp:500: error: 'pargs' was not declared in this scope source/main.cpp:500: error: initializer expression list treated as compound expression source/main.cpp:501: error: expected ',' or ';' before '{' token source/main.cpp: In member function 'void pybase::work_wrapper(void*)': source/main.cpp:538: error: 'PyThreadState' was not declared in this scope source/main.cpp:538: error: 'state' was not declared in this scope source/main.cpp:538: error: 'PyLock' was not declared in this scope source/main.cpp:542: error: 'class work_data' has no member named 'fun' source/main.cpp:542: error: 'class work_data' has no member named 'args' source/main.cpp: At global scope: source/main.cpp:553: error: 'bool pybase::qucall' is not a static member of 'class pybase' source/main.cpp:553: error: 'PyObject' was not declared in this scope source/main.cpp:553: error: 'fun' was not declared in this scope source/main.cpp:553: error: 'PyObject' was not declared in this scope source/main.h:84: error: invalid use of non-static data member 'pybase::args' source/main.cpp:553: error: from this location source/main.cpp:553: error: initializer expression list treated as compound expression source/main.cpp:554: error: expected ',' or ';' before '{' token source/main.cpp: In member function 'void pybase::threadworker()': source/main.cpp:567: error: 'PyThreadState' was not declared in this scope source/main.cpp:567: error: 'my' was not declared in this scope source/main.cpp:567: error: 'FindThreadState' was not declared in this scope source/main.cpp:567: error: 'state' was not declared in this scope source/main.cpp:572: error: 'PyLock' was not declared in this scope source/main.cpp:573: error: 'class FifoEl' has no member named 'fun' source/main.cpp:573: error: 'class FifoEl' has no member named 'args' source/main.cpp:574: error: 'class FifoEl' has no member named 'fun' source/main.cpp:574: error: 'Py_XDECREF' was not declared in this scope source/main.cpp:575: error: 'class FifoEl' has no member named 'args' source/main.cpp:586: error: 'PyLock' was not declared in this scope source/main.cpp:589: error: 'class FifoEl' has no member named 'fun' source/main.cpp:589: error: 'Py_XDECREF' was not declared in this scope source/main.cpp:590: error: 'class FifoEl' has no member named 'args' source/main.cpp: In static member function 'static bool pybase::collect()': source/main.cpp:614: error: 'gcollect' was not declared in this scope source/main.cpp:615: error: 'PyObject' was not declared in this scope source/main.cpp:615: error: 'ret' was not declared in this scope source/main.cpp:615: error: 'PyObject_CallObject' was not declared in this scope source/main.cpp:621: error: 'Py_DECREF' was not declared in this scope make[1]: *** [pd-linux/release-multi/main.opp] Error 1 make[1]: Leaving directory
/home/olsen/pd/extra/py'
make: *** [build-release-multi] Error 2
the wanted Python.h is in: /usr/include/python2.5/Python.h
thanks for advices salutis olsen
On Sat, 1 Sep 2007, olsen wolf wrote:
# what is the base prefix of the Python installation? PYTHONPREFIX=/usr/include/python2.5
This should be just /usr because
g++ -c -msse -mfpmath=sse -ffast-math -DNDEBUG -O3 -pthread -fPIC -DPY_EXPORTS -DFLEXT_THREADS -DFLEXT_SYS=2 -I/usr/include/python2.5/include/python2.5
this -I option seems broken.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
hi olsen,
i think PYTHONPREFIX should be /usr but i tried it and this is what i got:
make -f ../flext/buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd
COMPILER=gcc BUILDPATH=../flext/buildsys/ PKGINFO=package.txt
BUILDCLASS=ext USRCONFIG=config.txt USRMAKE=build/gnumake-lnx-gcc.inc
TARGETMODE=release TARGETTYPE=multi THREADED=1 _build_
make[1]: Entering directory /home/pat/src/externals/grill/py' mkdir -p pd-linux/release-multi/ g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -pthread -fPIC -DPY_EXPORTS -DPY_USE_GIL -DNDEBUG -DFLEXT_THREADS -DFLEXT_SYS=2 -DPD -I/usr/include/python2.5 -I/home/pat/src/pd-0.40-2/src -I/usr/local/include/stk -I/usr/local/include/sndobj -I/usr/local/include/flext source/main.cpp -o pd-linux/release-multi/main.opp source/main.h:32: error: expected class-name before ‘{’ token /usr/local/include/flext/flcontainers.h: In member function ‘void TypedFifo<T>::Put(T*) [with T = FifoEl]’: source/pybase.h:179: instantiated from here /usr/local/include/flext/flcontainers.h:456: error: no matching function for call to ‘TypedFifo<FifoEl>::Put(FifoEl*)’ /usr/local/include/flext/flcontainers.h:405: note: candidates are: void Fifo::Put(Lifo::Cell*) /usr/local/include/flext/flcontainers.h: In member function ‘T* TypedLifo<T>::Pop() [with T = FifoEl]’: /usr/local/include/flext/flcontainers.h:466: instantiated from ‘T* PooledFifo<T, M, O>::New() [with T = FifoEl, int M = 2, int O = 1]’ source/pybase.h:177: instantiated from here /usr/local/include/flext/flcontainers.h:380: error: invalid static_cast from type ‘Lifo::Cell*’ to type ‘FifoEl*’ make[1]: *** [pd-linux/release-multi/main.opp] Error 1 make[1]: Leaving directory
/home/pat/src/externals/grill/py'
make: *** [build-release-multi] Error 2
is py compatible with python2.5? patrick
Hi all,
it's possible that i introduced a mismatch of versions of flext and
flext-based externals into the CVS.
I'll have to look into it... sorry for the mess.
best greetings, Thomas
Am 03.09.2007 um 18:33 schrieb patrick:
hi olsen,
i think PYTHONPREFIX should be /usr but i tried it and this is what i got:
make -f ../flext/buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd COMPILER=gcc BUILDPATH=../flext/buildsys/ PKGINFO=package.txt BUILDCLASS=ext USRCONFIG=config.txt USRMAKE=build/gnumake-lnx-gcc.inc TARGETMODE=release TARGETTYPE=multi THREADED=1 _build_ make[1]: Entering directory
/home/pat/src/externals/grill/py' mkdir -p pd-linux/release-multi/ g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -pthread - fPIC -DPY_EXPORTS -DPY_USE_GIL -DNDEBUG -DFLEXT_THREADS -DFLEXT_SYS=2 -DPD -I/usr/include/python2.5 -I/home/pat/src/pd-0.40-2/src -I/usr/local/include/stk -I/usr/local/include/sndobj -I/usr/local/include/flext source/main.cpp -o pd-linux/release-multi/main.opp source/main.h:32: error: expected class-name before ‘{’ token /usr/local/include/flext/flcontainers.h: In member function ‘void TypedFifo<T>::Put(T*) [with T = FifoEl]’: source/pybase.h:179: instantiated from here /usr/local/include/flext/flcontainers.h:456: error: no matching function for call to ‘TypedFifo<FifoEl>::Put(FifoEl*)’ /usr/local/include/flext/flcontainers.h:405: note: candidates are: void Fifo::Put(Lifo::Cell*) /usr/local/include/flext/flcontainers.h: In member function ‘T* TypedLifo<T>::Pop() [with T = FifoEl]’: /usr/local/include/flext/flcontainers.h:466: instantiated from ‘T* PooledFifo<T, M, O>::New() [with T = FifoEl, int M = 2, int O = 1]’ source/pybase.h:177: instantiated from here /usr/local/include/flext/flcontainers.h:380: error: invalid static_cast from type ‘Lifo::Cell*’ to type ‘FifoEl*’ make[1]: *** [pd-linux/release-multi/main.opp] Error 1 make[1]: Leaving directory
/home/pat/src/externals/grill/py' make: *** [build-release-multi] Error 2is py compatible with python2.5? patrick
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
so it's in the cvs version? i was looking for it but couldn't find a remark on how gettin them... thanks for help olsen
On 9/3/07, Thomas Grill gr@grrrr.org wrote:
Hi all, it's possible that i introduced a mismatch of versions of flext and flext-based externals into the CVS. I'll have to look into it... sorry for the mess. best greetings, Thomas
Am 03.09.2007 um 18:33 schrieb patrick:
hi olsen,
i think PYTHONPREFIX should be /usr but i tried it and this is what i got:
make -f ../flext/buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd COMPILER=gcc BUILDPATH=../flext/buildsys/ PKGINFO=package.txt BUILDCLASS=ext USRCONFIG=config.txt USRMAKE=build/gnumake-lnx-gcc.inc TARGETMODE=release TARGETTYPE=multi THREADED=1 _build_ make[1]: Entering directory
/home/pat/src/externals/grill/py' mkdir -p pd-linux/release-multi/ g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -pthread - fPIC -DPY_EXPORTS -DPY_USE_GIL -DNDEBUG -DFLEXT_THREADS -DFLEXT_SYS=2 -DPD -I/usr/include/python2.5 -I/home/pat/src/pd-0.40-2/src -I/usr/local/include/stk -I/usr/local/include/sndobj -I/usr/local/include/flext source/main.cpp -o pd-linux/release-multi/main.opp source/main.h:32: error: expected class-name before '{' token /usr/local/include/flext/flcontainers.h: In member function 'void TypedFifo<T>::Put(T*) [with T = FifoEl]': source/pybase.h:179: instantiated from here /usr/local/include/flext/flcontainers.h:456: error: no matching function for call to 'TypedFifo<FifoEl>::Put(FifoEl*)' /usr/local/include/flext/flcontainers.h:405: note: candidates are: void Fifo::Put(Lifo::Cell*) /usr/local/include/flext/flcontainers.h: In member function 'T* TypedLifo<T>::Pop() [with T = FifoEl]': /usr/local/include/flext/flcontainers.h:466: instantiated from 'T* PooledFifo<T, M, O>::New() [with T = FifoEl, int M = 2, int O = 1]' source/pybase.h:177: instantiated from here /usr/local/include/flext/flcontainers.h:380: error: invalid static_cast from type 'Lifo::Cell*' to type 'FifoEl*' make[1]: *** [pd-linux/release-multi/main.opp] Error 1 make[1]: Leaving directory
/home/pat/src/externals/grill/py' make: *** [build-release-multi] Error 2is py compatible with python2.5? patrick
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
hi olsen,
yes the last version of flext and py are here: cvs -z3 -d:pserver:anonymous@pure-data.cvs.sourceforge.net:/cvsroot/pure-data co externals
under grill/flext & grill/py first you need to compile & install flext and then sh build.sh pd gcc / install (grill/py).
but right now it's not working. patrick
Hej thomas i just wanted to ask if you had already the time to look into it? if so please lemme know - cause i would like to use it in an actual projé! thanks&greets olsen
On 9/3/07, Thomas Grill gr@grrrr.org wrote:
Hi all, it's possible that i introduced a mismatch of versions of flext and flext-based externals into the CVS. I'll have to look into it... sorry for the mess. best greetings, Thomas
Am 03.09.2007 um 18:33 schrieb patrick:
hi olsen,
i think PYTHONPREFIX should be /usr but i tried it and this is what i got:
make -f ../flext/buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd COMPILER=gcc BUILDPATH=../flext/buildsys/ PKGINFO=package.txt BUILDCLASS=ext USRCONFIG=config.txt USRMAKE=build/gnumake-lnx-gcc.inc TARGETMODE=release TARGETTYPE=multi THREADED=1 _build_ make[1]: Entering directory
/home/pat/src/externals/grill/py' mkdir -p pd-linux/release-multi/ g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -pthread - fPIC -DPY_EXPORTS -DPY_USE_GIL -DNDEBUG -DFLEXT_THREADS -DFLEXT_SYS=2 -DPD -I/usr/include/python2.5 -I/home/pat/src/pd-0.40-2/src -I/usr/local/include/stk -I/usr/local/include/sndobj -I/usr/local/include/flext source/main.cpp -o pd-linux/release-multi/main.opp source/main.h:32: error: expected class-name before '{' token /usr/local/include/flext/flcontainers.h: In member function 'void TypedFifo<T>::Put(T*) [with T = FifoEl]': source/pybase.h:179: instantiated from here /usr/local/include/flext/flcontainers.h:456: error: no matching function for call to 'TypedFifo<FifoEl>::Put(FifoEl*)' /usr/local/include/flext/flcontainers.h:405: note: candidates are: void Fifo::Put(Lifo::Cell*) /usr/local/include/flext/flcontainers.h: In member function 'T* TypedLifo<T>::Pop() [with T = FifoEl]': /usr/local/include/flext/flcontainers.h:466: instantiated from 'T* PooledFifo<T, M, O>::New() [with T = FifoEl, int M = 2, int O = 1]' source/pybase.h:177: instantiated from here /usr/local/include/flext/flcontainers.h:380: error: invalid static_cast from type 'Lifo::Cell*' to type 'FifoEl*' make[1]: *** [pd-linux/release-multi/main.opp] Error 1 make[1]: Leaving directory
/home/pat/src/externals/grill/py' make: *** [build-release-multi] Error 2is py compatible with python2.5? patrick
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Hi Olsen,
actually no, but i will have time next week. You could try to fetch
an older version of py/pyext from the cvs in the meantime.
greetings, Thomas
Am 12.09.2007 um 14:03 schrieb olsen wolf:
Hej thomas i just wanted to ask if you had already the time to look into it? if so please lemme know - cause i would like to use it in an actual
projé! thanks&greets olsenOn 9/3/07, Thomas Grill gr@grrrr.org wrote:
Hi all, it's possible that i introduced a mismatch of versions of flext and flext-based externals into the CVS. I'll have to look into it... sorry for the mess. best greetings, Thomas
Am 03.09.2007 um 18:33 schrieb patrick:
hi olsen,
i think PYTHONPREFIX should be /usr but i tried it and this is what i got:
make -f ../flext/buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd COMPILER=gcc BUILDPATH=../flext/buildsys/ PKGINFO=package.txt BUILDCLASS=ext USRCONFIG=config.txt USRMAKE=build/gnumake-lnx- gcc.inc TARGETMODE=release TARGETTYPE=multi THREADED=1 _build_ make[1]: Entering directory
/home/pat/src/externals/grill/py' mkdir -p pd-linux/release-multi/ g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -pthread - fPIC -DPY_EXPORTS -DPY_USE_GIL -DNDEBUG -DFLEXT_THREADS -DFLEXT_SYS=2 - DPD -I/usr/include/python2.5 -I/home/pat/src/pd-0.40-2/src -I/usr/local/include/stk -I/usr/local/include/sndobj -I/usr/local/include/flext source/main.cpp -o pd-linux/release-multi/main.opp source/main.h:32: error: expected class-name before '{' token /usr/local/include/flext/flcontainers.h: In member function 'void TypedFifo<T>::Put(T*) [with T = FifoEl]': source/pybase.h:179: instantiated from here /usr/local/include/flext/flcontainers.h:456: error: no matching function for call to 'TypedFifo<FifoEl>::Put(FifoEl*)' /usr/local/include/flext/flcontainers.h:405: note: candidates are: void Fifo::Put(Lifo::Cell*) /usr/local/include/flext/flcontainers.h: In member function 'T* TypedLifo<T>::Pop() [with T = FifoEl]': /usr/local/include/flext/flcontainers.h:466: instantiated from 'T* PooledFifo<T, M, O>::New() [with T = FifoEl, int M = 2, int O = 1]' source/pybase.h:177: instantiated from here /usr/local/include/flext/flcontainers.h:380: error: invalid static_cast from type 'Lifo::Cell*' to type 'FifoEl*' make[1]: *** [pd-linux/release-multi/main.opp] Error 1 make[1]: Leaving directory
/home/pat/src/externals/grill/py' make: *** [build-release-multi] Error 2is py compatible with python2.5? patrick
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
-- Planet Pluto bleibt!