sndobj-devel Mailing List for The Sound Object Library (Page 12)
Status: Abandoned
Brought to you by:
veplaini
This list is closed, nobody may subscribe to it.
2007 |
Jan
(57) |
Feb
(16) |
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
(8) |
Aug
(24) |
Sep
(12) |
Oct
(4) |
Nov
(11) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(9) |
Feb
(13) |
Mar
(3) |
Apr
(10) |
May
(11) |
Jun
(12) |
Jul
(8) |
Aug
(9) |
Sep
(1) |
Oct
(24) |
Nov
(11) |
Dec
(19) |
2009 |
Jan
(5) |
Feb
(24) |
Mar
(43) |
Apr
(9) |
May
(14) |
Jun
(28) |
Jul
|
Aug
(6) |
Sep
|
Oct
(4) |
Nov
(10) |
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(9) |
Dec
|
2011 |
Jan
(3) |
Feb
(3) |
Mar
|
Apr
|
May
(2) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2013 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2017 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Victor L. <Vic...@nu...> - 2008-04-03 09:17:27
|
I think your problem is that you are missing the package python-devel: python/AudioDefs_wrap.cc:139:20: error: Python.h: No such file or directory Victor At 04:50 03/04/2008, Camilo Andres Figueroa Barrantes wrote: >Hi everyone. > >i do the steps suggested but again i found problems (the outputs are >attached to email) and again the problem is out of my hands, i dont >know what to do. > >... i think, somebody knows some distribution where the sndobj come build-in? > >thanks for your time!! >Camilo Andres > >On Tue, Apr 1, 2008 at 11:14 AM, Victor Lazzarini ><Vic...@nu...> wrote: > > what is the version of swig you are running? Perhaps > > you need the latest version (get it from www.swig.org > > and build it from source). > > Otherwise you might want to add '-classic' option > > to the swig build in SConstruct > > > > pswigdef.append(['-lcarrays.i', '-c++', '-python','-Isrc', '-Iinclude', > > '-v', '-classic']) > > > > and try it out > > > > Victor > > > > > > > > At 16:17 01/04/2008, bosko milakovic wrote: > > > > > > > > > > > > > > Well I'm not an expert:). I've forwarded this mail to > > > sndobj list and maybe Victor will know to solve this. > > > > > > Bosko > > > > > > --- Camilo Andres Figueroa Barrantes > > > <cig...@gm...> wrote: > > > > > > > hi. > > > > > > > > thanks for the time taked to my posts. > > > > > > > > i try with swig in the begining of my search but the > > > > output bring me > > > > lots of errors... now that you tell me about that, i > > > > install the swig > > > > and run the scons. the output is long (excuse me). > > > > > > > > In the line number 33, the output say: > > > > python/AudioDefs_wrap.cc:2692:4: error: #error "This > > > > python version > > > > requires swig to be run with the '-classic' , and in > > > > the file > > > > AudioDefs_wrap.cc i find this scentence > > > > > > > > #if (PY_VERSION_HEX <= 0x02000000) > > > > # if !defined(SWIG_PYTHON_CLASSIC) > > > > # error "This python version requires swig to be > > > > run with the > > > > '-classic' option" > > > > # endif > > > > #endif > > > > > > > > but i don know what to do here. > > > > > > > > this is the output of scons pythonmodule=true > > > > ALSA=true > > > > > > > > scons: Reading SConscript files ... > > > > Building the Sound Object Library > > > > Checking for Realtime IO support... > > > > OS is Linux... > > > > Checking for C header file alsa/asoundlib.h... > > > > (cached) yes > > > > Checking for C header file soundcard.h... (cached) > > > > no > > > > Checking for C header file jack/jack.h... (cached) > > > > no > > > > The library realtime IO (class SndRTIO) will be > > > > configured for ALSA > > > > Host is little endian > > > > swig exists... > > > > Python version is 2.5 > > > > Checking for C header file m_pd.h... (cached) no > > > > Checking for C header file ladspa.h... (cached) yes > > > > scons: done reading SConscript files. > > > > scons: Building targets ... > > > > swig -DALSA -lcarrays.i -c++ -python -Isrc -Iinclude > > > > -v -o > > > > python/AudioDefs_wrap.cc python/AudioDefs.i > > > > LangSubDir: python > > > > Search paths: > > > > ./ > > > > src/ > > > > include/ > > > > ./swig_lib/python/ > > > > /usr/share/swig1.3/python/ > > > > ./swig_lib/ > > > > /usr/share/swig1.3/ > > > > Preprocessing... > > > > Starting language-specific parse... > > > > Processing types... > > > > C++ analysis... > > > > Generating wrappers... > > > > g++ -o python/AudioDefs_wrap.os -c -O3 -fPIC -DALSA > > > > -DSWIG > > > > -DPYTHON_WRAP -I/usr/include/python2.5 -Isrc > > > > -Iinclude -Iinclude/rfftw > > > > python/AudioDefs_wrap.cc > > > > python/AudioDefs_wrap.cc:129:20: error: Python.h: No > > > > such file or directory > > > > python/AudioDefs_wrap.cc:2692:4: error: #error "This > > > > python version > > > > requires swig to be run with the '-classic' option" > > > > python/AudioDefs_wrap.cc:734: error: expected > > > > initializer before '*' token > > > > python/AudioDefs_wrap.cc:789: error: expected > > > > initializer before '*' token > > > > python/AudioDefs_wrap.cc:810: error: expected > > > > initializer before '*' token > > > > python/AudioDefs_wrap.cc: In function 'void > > > > SWIG_Python_AddErrorMsg(const char*)': > > > > python/AudioDefs_wrap.cc:857: error: 'PyObject' was > > > > not declared in this scope > > > > python/AudioDefs_wrap.cc:857: error: 'type' was not > > > > declared in this scope > > > > python/AudioDefs_wrap.cc:858: error: 'value' was not > > > > declared in this scope > > > > python/AudioDefs_wrap.cc:859: error: 'traceback' was > > > > not declared in this scope > > > > python/AudioDefs_wrap.cc:861: error: > > > > 'PyErr_Occurred' was not declared > > > > in this scope > > > > python/AudioDefs_wrap.cc:861: error: 'PyErr_Fetch' > > > > was not declared in > > > > this scope > > > > python/AudioDefs_wrap.cc:863: error: 'old_str' was > > > > not declared in this scope > > > > python/AudioDefs_wrap.cc:863: error: 'PyObject_Str' > > > > was not declared > > > > in this scope > > > > python/AudioDefs_wrap.cc:864: error: 'PyErr_Clear' > > > > was not declared in > > > > this scope > > > > python/AudioDefs_wrap.cc:865: error: 'Py_XINCREF' > > > > was not declared in this scope > > > > python/AudioDefs_wrap.cc:866: error: > > > > 'PyString_AsString' was not > > > > declared in this scope > > > > python/AudioDefs_wrap.cc:866: error: 'PyErr_Format' > > > > was not declared > > > > in this scope > > > > python/AudioDefs_wrap.cc:867: error: 'Py_DECREF' was > > > > not declared in this scope > > > > python/AudioDefs_wrap.cc:870: error: > > > > 'PyExc_RuntimeError' was not > > > > declared in this scope > > > > python/AudioDefs_wrap.cc:870: error: 'PyErr_Format' > > > > was not declared > > > > in this scope > > > > python/AudioDefs_wrap.cc: At global scope: > > > > python/AudioDefs_wrap.cc:1038: error: variable or > > > > field > > > > 'SWIG_Python_SetErrorObj' declared void > > > > python/AudioDefs_wrap.cc:1038: error: 'PyObject' was > > > > not declared in this scope > > > > python/AudioDefs_wrap.cc:1038: error: 'errtype' was > > > > not declared in this scope > > > > python/AudioDefs_wrap.cc:1038: error: 'PyObject' was > > > > not declared in this scope > > > > python/AudioDefs_wrap.cc:1038: error: 'obj' was not > > > > declared in this scope > > > > python/AudioDefs_wrap.cc:1038: error: initializer > > > > expression list > > > > treated as compound expression > > > > python/AudioDefs_wrap.cc:1038: error: expected ',' > > > > or ';' before '{' token > > > > python/AudioDefs_wrap.cc:1046: error: variable or > > > > field > > > > 'SWIG_Python_SetErrorMsg' declared void > > > > python/AudioDefs_wrap.cc:1046: error: 'PyObject' was > > > > not declared in this scope > > > > python/AudioDefs_wrap.cc:1046: error: 'errtype' was > > > > not declared in this scope > > > > python/AudioDefs_wrap.cc:1046: error: expected > > > > primary-expression before 'const' > > > > python/AudioDefs_wrap.cc:1046: error: initializer > > > > expression list > > > > treated as compound expression > > > > python/AudioDefs_wrap.cc:1046: error: expected ',' > > > > or ';' before '{' token > > > > python/AudioDefs_wrap.cc:1057: error: variable or > > > > field > > > > 'SWIG_Python_SetConstant' declared void > > > > python/AudioDefs_wrap.cc:1057: error: 'PyObject' was > > > > not declared in this scope > > > > python/AudioDefs_wrap.cc:1057: error: 'd' was not > > > > declared in this scope > > > > python/AudioDefs_wrap.cc:1057: error: expected > > > > primary-expression before 'const' > > > > python/AudioDefs_wrap.cc:1057: error: 'PyObject' was > > > > not declared in this scope > > > > python/AudioDefs_wrap.cc:1057: error: 'obj' was not > > > > declared in this scope > > > > python/AudioDefs_wrap.cc:1057: error: initializer > > > > expression list > > > > treated as compound expression > > > > python/AudioDefs_wrap.cc:1057: error: expected ',' > > > > or ';' before '{' token > > > > python/AudioDefs_wrap.cc:1064: error: expected > > > > initializer before '*' token > > > > python/AudioDefs_wrap.cc:1110: error: 'PyObject' was > > > > not declared in this scope > > > > python/AudioDefs_wrap.cc:1110: error: 'args' was not > > > > declared in this scope > > > > python/AudioDefs_wrap.cc:1110: error: expected > > > > primary-expression before 'const' > > > > python/AudioDefs_wrap.cc:1110: error: expected > > > > primary-expression before 'int' > > > > python/AudioDefs_wrap.cc:1110: error: expected > > > > primary-expression before 'int' > > > > python/AudioDefs_wrap.cc:1110: error: 'PyObject' was > > > > not declared in this scope > > > > python/AudioDefs_wrap.cc:1110: error: 'objs' was not > > > > declared in this scope > > > > python/AudioDefs_wrap.cc:1110: error: initializer > > > > expression list > > > > treated as compound expression > > > > python/AudioDefs_wrap.cc:1111: error: expected ',' > > > > or ';' before '{' token > > > > python/AudioDefs_wrap.cc:1212: error: expected > > > > initializer before '*' token > > > > python/AudioDefs_wrap.cc:1223: error: ISO C++ > > > > forbids declaration of > > > > 'PyObject' with no type > > > > python/AudioDefs_wrap.cc:1223: error: expected ';' > > > > before '*' token > > > > python/AudioDefs_wrap.cc:1224: error: ISO C++ > > > > forbids declaration of > > > > > > > === message truncated === > > > > > > > > > > > > > > > > > > ____________________________________________________________________________________ > > > You rock. That's why Blockbuster's offering you one month of Blockbuster > > Total Access, No Cost. > > > http://tc.deals.yahoo.com/tc/blockbuster/text5.com > > > > > > > > > ------------------------------------------------------------------------- > > > Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for > > > just about anything Open Source. > > > > > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > > > _______________________________________________ > > > Sndobj-devel mailing list > > > Snd...@li... > > > https://lists.sourceforge.net/lists/listinfo/sndobj-devel > > > > > > > Victor Lazzarini > > Music Technology Laboratory > > Music Department > > National University of Ireland, Maynooth > > > > >Content-Type: text/plain; name=output_with_swig1.3.34.txt >X-Attachment-Id: f_fekse76c2 >Content-Disposition: attachment; filename=output_with_swig1.3.34.txt > >Content-Type: text/plain; name=output_with_swig-option-classic.txt >X-Attachment-Id: f_feksffpr2 >Content-Disposition: attachment; > filename=output_with_swig-option-classic.txt Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth |
From: Victor L. <Vic...@nu...> - 2008-04-01 16:14:22
|
what is the version of swig you are running? Perhaps you need the latest version (get it from www.swig.org and build it from source). Otherwise you might want to add '-classic' option to the swig build in SConstruct pswigdef.append(['-lcarrays.i', '-c++', '-python','-Isrc', '-Iinclude', '-v', '-classic']) and try it out Victor At 16:17 01/04/2008, bosko milakovic wrote: >Well I'm not an expert:). I've forwarded this mail to >sndobj list and maybe Victor will know to solve this. > >Bosko > >--- Camilo Andres Figueroa Barrantes ><cig...@gm...> wrote: > > > hi. > > > > thanks for the time taked to my posts. > > > > i try with swig in the begining of my search but the > > output bring me > > lots of errors... now that you tell me about that, i > > install the swig > > and run the scons. the output is long (excuse me). > > > > In the line number 33, the output say: > > python/AudioDefs_wrap.cc:2692:4: error: #error "This > > python version > > requires swig to be run with the '-classic' , and in > > the file > > AudioDefs_wrap.cc i find this scentence > > > > #if (PY_VERSION_HEX <= 0x02000000) > > # if !defined(SWIG_PYTHON_CLASSIC) > > # error "This python version requires swig to be > > run with the > > '-classic' option" > > # endif > > #endif > > > > but i don know what to do here. > > > > this is the output of scons pythonmodule=true > > ALSA=true > > > > scons: Reading SConscript files ... > > Building the Sound Object Library > > Checking for Realtime IO support... > > OS is Linux... > > Checking for C header file alsa/asoundlib.h... > > (cached) yes > > Checking for C header file soundcard.h... (cached) > > no > > Checking for C header file jack/jack.h... (cached) > > no > > The library realtime IO (class SndRTIO) will be > > configured for ALSA > > Host is little endian > > swig exists... > > Python version is 2.5 > > Checking for C header file m_pd.h... (cached) no > > Checking for C header file ladspa.h... (cached) yes > > scons: done reading SConscript files. > > scons: Building targets ... > > swig -DALSA -lcarrays.i -c++ -python -Isrc -Iinclude > > -v -o > > python/AudioDefs_wrap.cc python/AudioDefs.i > > LangSubDir: python > > Search paths: > > ./ > > src/ > > include/ > > ./swig_lib/python/ > > /usr/share/swig1.3/python/ > > ./swig_lib/ > > /usr/share/swig1.3/ > > Preprocessing... > > Starting language-specific parse... > > Processing types... > > C++ analysis... > > Generating wrappers... > > g++ -o python/AudioDefs_wrap.os -c -O3 -fPIC -DALSA > > -DSWIG > > -DPYTHON_WRAP -I/usr/include/python2.5 -Isrc > > -Iinclude -Iinclude/rfftw > > python/AudioDefs_wrap.cc > > python/AudioDefs_wrap.cc:129:20: error: Python.h: No > > such file or directory > > python/AudioDefs_wrap.cc:2692:4: error: #error "This > > python version > > requires swig to be run with the '-classic' option" > > python/AudioDefs_wrap.cc:734: error: expected > > initializer before '*' token > > python/AudioDefs_wrap.cc:789: error: expected > > initializer before '*' token > > python/AudioDefs_wrap.cc:810: error: expected > > initializer before '*' token > > python/AudioDefs_wrap.cc: In function 'void > > SWIG_Python_AddErrorMsg(const char*)': > > python/AudioDefs_wrap.cc:857: error: 'PyObject' was > > not declared in this scope > > python/AudioDefs_wrap.cc:857: error: 'type' was not > > declared in this scope > > python/AudioDefs_wrap.cc:858: error: 'value' was not > > declared in this scope > > python/AudioDefs_wrap.cc:859: error: 'traceback' was > > not declared in this scope > > python/AudioDefs_wrap.cc:861: error: > > 'PyErr_Occurred' was not declared > > in this scope > > python/AudioDefs_wrap.cc:861: error: 'PyErr_Fetch' > > was not declared in > > this scope > > python/AudioDefs_wrap.cc:863: error: 'old_str' was > > not declared in this scope > > python/AudioDefs_wrap.cc:863: error: 'PyObject_Str' > > was not declared > > in this scope > > python/AudioDefs_wrap.cc:864: error: 'PyErr_Clear' > > was not declared in > > this scope > > python/AudioDefs_wrap.cc:865: error: 'Py_XINCREF' > > was not declared in this scope > > python/AudioDefs_wrap.cc:866: error: > > 'PyString_AsString' was not > > declared in this scope > > python/AudioDefs_wrap.cc:866: error: 'PyErr_Format' > > was not declared > > in this scope > > python/AudioDefs_wrap.cc:867: error: 'Py_DECREF' was > > not declared in this scope > > python/AudioDefs_wrap.cc:870: error: > > 'PyExc_RuntimeError' was not > > declared in this scope > > python/AudioDefs_wrap.cc:870: error: 'PyErr_Format' > > was not declared > > in this scope > > python/AudioDefs_wrap.cc: At global scope: > > python/AudioDefs_wrap.cc:1038: error: variable or > > field > > 'SWIG_Python_SetErrorObj' declared void > > python/AudioDefs_wrap.cc:1038: error: 'PyObject' was > > not declared in this scope > > python/AudioDefs_wrap.cc:1038: error: 'errtype' was > > not declared in this scope > > python/AudioDefs_wrap.cc:1038: error: 'PyObject' was > > not declared in this scope > > python/AudioDefs_wrap.cc:1038: error: 'obj' was not > > declared in this scope > > python/AudioDefs_wrap.cc:1038: error: initializer > > expression list > > treated as compound expression > > python/AudioDefs_wrap.cc:1038: error: expected ',' > > or ';' before '{' token > > python/AudioDefs_wrap.cc:1046: error: variable or > > field > > 'SWIG_Python_SetErrorMsg' declared void > > python/AudioDefs_wrap.cc:1046: error: 'PyObject' was > > not declared in this scope > > python/AudioDefs_wrap.cc:1046: error: 'errtype' was > > not declared in this scope > > python/AudioDefs_wrap.cc:1046: error: expected > > primary-expression before 'const' > > python/AudioDefs_wrap.cc:1046: error: initializer > > expression list > > treated as compound expression > > python/AudioDefs_wrap.cc:1046: error: expected ',' > > or ';' before '{' token > > python/AudioDefs_wrap.cc:1057: error: variable or > > field > > 'SWIG_Python_SetConstant' declared void > > python/AudioDefs_wrap.cc:1057: error: 'PyObject' was > > not declared in this scope > > python/AudioDefs_wrap.cc:1057: error: 'd' was not > > declared in this scope > > python/AudioDefs_wrap.cc:1057: error: expected > > primary-expression before 'const' > > python/AudioDefs_wrap.cc:1057: error: 'PyObject' was > > not declared in this scope > > python/AudioDefs_wrap.cc:1057: error: 'obj' was not > > declared in this scope > > python/AudioDefs_wrap.cc:1057: error: initializer > > expression list > > treated as compound expression > > python/AudioDefs_wrap.cc:1057: error: expected ',' > > or ';' before '{' token > > python/AudioDefs_wrap.cc:1064: error: expected > > initializer before '*' token > > python/AudioDefs_wrap.cc:1110: error: 'PyObject' was > > not declared in this scope > > python/AudioDefs_wrap.cc:1110: error: 'args' was not > > declared in this scope > > python/AudioDefs_wrap.cc:1110: error: expected > > primary-expression before 'const' > > python/AudioDefs_wrap.cc:1110: error: expected > > primary-expression before 'int' > > python/AudioDefs_wrap.cc:1110: error: expected > > primary-expression before 'int' > > python/AudioDefs_wrap.cc:1110: error: 'PyObject' was > > not declared in this scope > > python/AudioDefs_wrap.cc:1110: error: 'objs' was not > > declared in this scope > > python/AudioDefs_wrap.cc:1110: error: initializer > > expression list > > treated as compound expression > > python/AudioDefs_wrap.cc:1111: error: expected ',' > > or ';' before '{' token > > python/AudioDefs_wrap.cc:1212: error: expected > > initializer before '*' token > > python/AudioDefs_wrap.cc:1223: error: ISO C++ > > forbids declaration of > > 'PyObject' with no type > > python/AudioDefs_wrap.cc:1223: error: expected ';' > > before '*' token > > python/AudioDefs_wrap.cc:1224: error: ISO C++ > > forbids declaration of > > >=== message truncated === > > > > >____________________________________________________________________________________ >You rock. That's why Blockbuster's offering you one month of Blockbuster >Total Access, No Cost. >http://tc.deals.yahoo.com/tc/blockbuster/text5.com > >------------------------------------------------------------------------- >Check out the new SourceForge.net Marketplace. >It's the best place to buy or sell services for >just about anything Open Source. >http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >_______________________________________________ >Sndobj-devel mailing list >Snd...@li... >https://lists.sourceforge.net/lists/listinfo/sndobj-devel Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth |
From: bosko m. <bmi...@ya...> - 2008-04-01 15:17:32
|
Well I'm not an expert:). I've forwarded this mail to sndobj list and maybe Victor will know to solve this. Bosko --- Camilo Andres Figueroa Barrantes <cig...@gm...> wrote: > hi. > > thanks for the time taked to my posts. > > i try with swig in the begining of my search but the > output bring me > lots of errors... now that you tell me about that, i > install the swig > and run the scons. the output is long (excuse me). > > In the line number 33, the output say: > python/AudioDefs_wrap.cc:2692:4: error: #error "This > python version > requires swig to be run with the '-classic' , and in > the file > AudioDefs_wrap.cc i find this scentence > > #if (PY_VERSION_HEX <= 0x02000000) > # if !defined(SWIG_PYTHON_CLASSIC) > # error "This python version requires swig to be > run with the > '-classic' option" > # endif > #endif > > but i don know what to do here. > > this is the output of scons pythonmodule=true > ALSA=true > > scons: Reading SConscript files ... > Building the Sound Object Library > Checking for Realtime IO support... > OS is Linux... > Checking for C header file alsa/asoundlib.h... > (cached) yes > Checking for C header file soundcard.h... (cached) > no > Checking for C header file jack/jack.h... (cached) > no > The library realtime IO (class SndRTIO) will be > configured for ALSA > Host is little endian > swig exists... > Python version is 2.5 > Checking for C header file m_pd.h... (cached) no > Checking for C header file ladspa.h... (cached) yes > scons: done reading SConscript files. > scons: Building targets ... > swig -DALSA -lcarrays.i -c++ -python -Isrc -Iinclude > -v -o > python/AudioDefs_wrap.cc python/AudioDefs.i > LangSubDir: python > Search paths: > ./ > src/ > include/ > ./swig_lib/python/ > /usr/share/swig1.3/python/ > ./swig_lib/ > /usr/share/swig1.3/ > Preprocessing... > Starting language-specific parse... > Processing types... > C++ analysis... > Generating wrappers... > g++ -o python/AudioDefs_wrap.os -c -O3 -fPIC -DALSA > -DSWIG > -DPYTHON_WRAP -I/usr/include/python2.5 -Isrc > -Iinclude -Iinclude/rfftw > python/AudioDefs_wrap.cc > python/AudioDefs_wrap.cc:129:20: error: Python.h: No > such file or directory > python/AudioDefs_wrap.cc:2692:4: error: #error "This > python version > requires swig to be run with the '-classic' option" > python/AudioDefs_wrap.cc:734: error: expected > initializer before '*' token > python/AudioDefs_wrap.cc:789: error: expected > initializer before '*' token > python/AudioDefs_wrap.cc:810: error: expected > initializer before '*' token > python/AudioDefs_wrap.cc: In function 'void > SWIG_Python_AddErrorMsg(const char*)': > python/AudioDefs_wrap.cc:857: error: 'PyObject' was > not declared in this scope > python/AudioDefs_wrap.cc:857: error: 'type' was not > declared in this scope > python/AudioDefs_wrap.cc:858: error: 'value' was not > declared in this scope > python/AudioDefs_wrap.cc:859: error: 'traceback' was > not declared in this scope > python/AudioDefs_wrap.cc:861: error: > 'PyErr_Occurred' was not declared > in this scope > python/AudioDefs_wrap.cc:861: error: 'PyErr_Fetch' > was not declared in > this scope > python/AudioDefs_wrap.cc:863: error: 'old_str' was > not declared in this scope > python/AudioDefs_wrap.cc:863: error: 'PyObject_Str' > was not declared > in this scope > python/AudioDefs_wrap.cc:864: error: 'PyErr_Clear' > was not declared in > this scope > python/AudioDefs_wrap.cc:865: error: 'Py_XINCREF' > was not declared in this scope > python/AudioDefs_wrap.cc:866: error: > 'PyString_AsString' was not > declared in this scope > python/AudioDefs_wrap.cc:866: error: 'PyErr_Format' > was not declared > in this scope > python/AudioDefs_wrap.cc:867: error: 'Py_DECREF' was > not declared in this scope > python/AudioDefs_wrap.cc:870: error: > 'PyExc_RuntimeError' was not > declared in this scope > python/AudioDefs_wrap.cc:870: error: 'PyErr_Format' > was not declared > in this scope > python/AudioDefs_wrap.cc: At global scope: > python/AudioDefs_wrap.cc:1038: error: variable or > field > 'SWIG_Python_SetErrorObj' declared void > python/AudioDefs_wrap.cc:1038: error: 'PyObject' was > not declared in this scope > python/AudioDefs_wrap.cc:1038: error: 'errtype' was > not declared in this scope > python/AudioDefs_wrap.cc:1038: error: 'PyObject' was > not declared in this scope > python/AudioDefs_wrap.cc:1038: error: 'obj' was not > declared in this scope > python/AudioDefs_wrap.cc:1038: error: initializer > expression list > treated as compound expression > python/AudioDefs_wrap.cc:1038: error: expected ',' > or ';' before '{' token > python/AudioDefs_wrap.cc:1046: error: variable or > field > 'SWIG_Python_SetErrorMsg' declared void > python/AudioDefs_wrap.cc:1046: error: 'PyObject' was > not declared in this scope > python/AudioDefs_wrap.cc:1046: error: 'errtype' was > not declared in this scope > python/AudioDefs_wrap.cc:1046: error: expected > primary-expression before 'const' > python/AudioDefs_wrap.cc:1046: error: initializer > expression list > treated as compound expression > python/AudioDefs_wrap.cc:1046: error: expected ',' > or ';' before '{' token > python/AudioDefs_wrap.cc:1057: error: variable or > field > 'SWIG_Python_SetConstant' declared void > python/AudioDefs_wrap.cc:1057: error: 'PyObject' was > not declared in this scope > python/AudioDefs_wrap.cc:1057: error: 'd' was not > declared in this scope > python/AudioDefs_wrap.cc:1057: error: expected > primary-expression before 'const' > python/AudioDefs_wrap.cc:1057: error: 'PyObject' was > not declared in this scope > python/AudioDefs_wrap.cc:1057: error: 'obj' was not > declared in this scope > python/AudioDefs_wrap.cc:1057: error: initializer > expression list > treated as compound expression > python/AudioDefs_wrap.cc:1057: error: expected ',' > or ';' before '{' token > python/AudioDefs_wrap.cc:1064: error: expected > initializer before '*' token > python/AudioDefs_wrap.cc:1110: error: 'PyObject' was > not declared in this scope > python/AudioDefs_wrap.cc:1110: error: 'args' was not > declared in this scope > python/AudioDefs_wrap.cc:1110: error: expected > primary-expression before 'const' > python/AudioDefs_wrap.cc:1110: error: expected > primary-expression before 'int' > python/AudioDefs_wrap.cc:1110: error: expected > primary-expression before 'int' > python/AudioDefs_wrap.cc:1110: error: 'PyObject' was > not declared in this scope > python/AudioDefs_wrap.cc:1110: error: 'objs' was not > declared in this scope > python/AudioDefs_wrap.cc:1110: error: initializer > expression list > treated as compound expression > python/AudioDefs_wrap.cc:1111: error: expected ',' > or ';' before '{' token > python/AudioDefs_wrap.cc:1212: error: expected > initializer before '*' token > python/AudioDefs_wrap.cc:1223: error: ISO C++ > forbids declaration of > 'PyObject' with no type > python/AudioDefs_wrap.cc:1223: error: expected ';' > before '*' token > python/AudioDefs_wrap.cc:1224: error: ISO C++ > forbids declaration of > === message truncated === ____________________________________________________________________________________ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com |
From: bosko m. <bmi...@ya...> - 2008-03-31 08:14:48
|
If you want pythonmodule than you need to have Swig installed, but Scons can't find it: > swig doesn't exist Bosko --- Camilo Andres Figueroa Barrantes <cig...@gm...> wrote: > Hi everybody!.. i am interesting in python and > sndobj, but i am a > newbee and in this moment i have a problem in > ubuntu, i can't install > the pysndobj. > > I install the scons, download the sndobj library and > run " scons > pythonmodule=true ALSA=true " and the command line > bring me some > lines: > > $ scons pythonmodule=true ALSA=true > scons: Reading SConscript files ... > Building the Sound Object Library > Checking for Realtime IO support... > OS is Linux... > Checking for C header file alsa/asoundlib.h... > (cached) no > Checking for C header file soundcard.h... (cached) > no > Checking for C header file jack/jack.h... (cached) > no > No alsa or OSS RT support > Host is little endian > swig doesn't exist > Python version is 2.5 > Checking for C header file m_pd.h... (cached) no > Checking for C header file ladspa.h... (cached) yes > scons: done reading SConscript files. > scons: Building targets ... > g++ -o src/SndRTThread.os -c -O3 -fPIC -DNO_RTIO > -Iinclude > -Iinclude/rfftw src/SndRTThread.cpp > src/SndRTThread.cpp: In constructor > 'SndRTThread::SndRTThread()': > src/SndRTThread.cpp:11: error: expected > type-specifier before 'SndRTIO' > src/SndRTThread.cpp:11: error: cannot convert 'int*' > to 'SndIO*' in assignment > src/SndRTThread.cpp:11: error: expected `;' before > 'SndRTIO' > src/SndRTThread.cpp:12: error: expected > type-specifier before 'SndRTIO' > src/SndRTThread.cpp:12: error: cannot convert 'int*' > to 'SndIO*' in assignment > src/SndRTThread.cpp:12: error: expected `;' before > 'SndRTIO' > src/SndRTThread.cpp: In member function 'void > SndRTThread::Init()': > src/SndRTThread.cpp:100: error: expected > type-specifier before 'SndRTIO' > src/SndRTThread.cpp:100: error: cannot convert > 'int*' to 'SndIO*' in assignment > src/SndRTThread.cpp:100: error: expected `;' before > 'SndRTIO' > src/SndRTThread.cpp:101: error: expected > type-specifier before 'SndRTIO' > src/SndRTThread.cpp:101: error: cannot convert > 'int*' to 'SndIO*' in assignment > src/SndRTThread.cpp:101: error: expected `;' before > 'SndRTIO' > scons: *** [src/SndRTThread.os] Error 1 > scons: building terminated because of errors. > > ALSA and OSS are installed. > > Can you help me? please! > Sorry for my english. > Thanks in advance. > > Camilo Andres > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel > ____________________________________________________________________________________ No Cost - Get a month of Blockbuster Total Access now. Sweet deal for Yahoo! users and friends. http://tc.deals.yahoo.com/tc/blockbuster/text1.com |
From: victor <Vic...@nu...> - 2008-03-30 09:07:51
|
you need to install the package alsa-devel (or something like that, I am not sure the exact name in Ubuntu...). Scons shows that it can't find the alsa headers. Victor ----- Original Message ----- From: "Camilo Andres Figueroa Barrantes" <cig...@gm...> To: <snd...@li...> Sent: Sunday, March 30, 2008 4:31 AM Subject: [Sndobj-devel] newbee - installing pysndobj in ubuntu > Hi everybody!.. i am interesting in python and sndobj, but i am a > newbee and in this moment i have a problem in ubuntu, i can't install > the pysndobj. > > I install the scons, download the sndobj library and run " scons > pythonmodule=true ALSA=true " and the command line bring me some > lines: > > $ scons pythonmodule=true ALSA=true > scons: Reading SConscript files ... > Building the Sound Object Library > Checking for Realtime IO support... > OS is Linux... > Checking for C header file alsa/asoundlib.h... (cached) no > Checking for C header file soundcard.h... (cached) no > Checking for C header file jack/jack.h... (cached) no > No alsa or OSS RT support > Host is little endian > swig doesn't exist > Python version is 2.5 > Checking for C header file m_pd.h... (cached) no > Checking for C header file ladspa.h... (cached) yes > scons: done reading SConscript files. > scons: Building targets ... > g++ -o src/SndRTThread.os -c -O3 -fPIC -DNO_RTIO -Iinclude > -Iinclude/rfftw src/SndRTThread.cpp > src/SndRTThread.cpp: In constructor 'SndRTThread::SndRTThread()': > src/SndRTThread.cpp:11: error: expected type-specifier before 'SndRTIO' > src/SndRTThread.cpp:11: error: cannot convert 'int*' to 'SndIO*' in > assignment > src/SndRTThread.cpp:11: error: expected `;' before 'SndRTIO' > src/SndRTThread.cpp:12: error: expected type-specifier before 'SndRTIO' > src/SndRTThread.cpp:12: error: cannot convert 'int*' to 'SndIO*' in > assignment > src/SndRTThread.cpp:12: error: expected `;' before 'SndRTIO' > src/SndRTThread.cpp: In member function 'void SndRTThread::Init()': > src/SndRTThread.cpp:100: error: expected type-specifier before 'SndRTIO' > src/SndRTThread.cpp:100: error: cannot convert 'int*' to 'SndIO*' in > assignment > src/SndRTThread.cpp:100: error: expected `;' before 'SndRTIO' > src/SndRTThread.cpp:101: error: expected type-specifier before 'SndRTIO' > src/SndRTThread.cpp:101: error: cannot convert 'int*' to 'SndIO*' in > assignment > src/SndRTThread.cpp:101: error: expected `;' before 'SndRTIO' > scons: *** [src/SndRTThread.os] Error 1 > scons: building terminated because of errors. > > ALSA and OSS are installed. > > Can you help me? please! > Sorry for my english. > Thanks in advance. > > Camilo Andres > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel |
From: Camilo A. F. B. <cig...@gm...> - 2008-03-30 03:32:01
|
Hi everybody!.. i am interesting in python and sndobj, but i am a newbee and in this moment i have a problem in ubuntu, i can't install the pysndobj. I install the scons, download the sndobj library and run " scons pythonmodule=true ALSA=true " and the command line bring me some lines: $ scons pythonmodule=true ALSA=true scons: Reading SConscript files ... Building the Sound Object Library Checking for Realtime IO support... OS is Linux... Checking for C header file alsa/asoundlib.h... (cached) no Checking for C header file soundcard.h... (cached) no Checking for C header file jack/jack.h... (cached) no No alsa or OSS RT support Host is little endian swig doesn't exist Python version is 2.5 Checking for C header file m_pd.h... (cached) no Checking for C header file ladspa.h... (cached) yes scons: done reading SConscript files. scons: Building targets ... g++ -o src/SndRTThread.os -c -O3 -fPIC -DNO_RTIO -Iinclude -Iinclude/rfftw src/SndRTThread.cpp src/SndRTThread.cpp: In constructor 'SndRTThread::SndRTThread()': src/SndRTThread.cpp:11: error: expected type-specifier before 'SndRTIO' src/SndRTThread.cpp:11: error: cannot convert 'int*' to 'SndIO*' in assignment src/SndRTThread.cpp:11: error: expected `;' before 'SndRTIO' src/SndRTThread.cpp:12: error: expected type-specifier before 'SndRTIO' src/SndRTThread.cpp:12: error: cannot convert 'int*' to 'SndIO*' in assignment src/SndRTThread.cpp:12: error: expected `;' before 'SndRTIO' src/SndRTThread.cpp: In member function 'void SndRTThread::Init()': src/SndRTThread.cpp:100: error: expected type-specifier before 'SndRTIO' src/SndRTThread.cpp:100: error: cannot convert 'int*' to 'SndIO*' in assignment src/SndRTThread.cpp:100: error: expected `;' before 'SndRTIO' src/SndRTThread.cpp:101: error: expected type-specifier before 'SndRTIO' src/SndRTThread.cpp:101: error: cannot convert 'int*' to 'SndIO*' in assignment src/SndRTThread.cpp:101: error: expected `;' before 'SndRTIO' scons: *** [src/SndRTThread.os] Error 1 scons: building terminated because of errors. ALSA and OSS are installed. Can you help me? please! Sorry for my english. Thanks in advance. Camilo Andres |
From: Peter G. <pe...@na...> - 2008-02-20 07:56:16
|
Problem solved! It was a version mismatch: I had installed a Python 2.4 under Tiger a long time ago and thought that this was the version that shipped with Leopard. Not so, Leopard has Python 2.5. It was troubling because OS X seems to first look in /Library/ Frameworks/ (where 2.4 lived) and thus starts the 2.4 interpreter. In the SConstruct file this order seems to be correct as well: env[] first, then /Library, then /System/Library. So I wonder whether this may be a bug that the binaries get compiled against Python 2.5 living in /System/Library when there is another Python living in /Library. Anyway, it works now. Thank you for your support even though this turned out to be more a personal Python problem in the end, sorry about that! Peter Am 19.02.2008 um 13:19 schrieb Victor Lazzarini: > I think SWIG is OK, but it might be that you have some sort of > version mismatch between interpreter and module. Make sure > the interpreter you are using is the same one for the version > you built the sndobj module. > > Victor > > At 11:04 19/02/2008, Peter Gassner wrote: >> Ah, well, it's not working yet, but it looks better now: >> >> I was able to create the missing _sndobj.so by using scons with this >> option: "scons pythonmodule=yes". >> >> But when I try to run test.py in the python directory I now get these >> error messages: >> >>> RuntimeWarning: Python C API version mismatch for module _sndobj: >>> This Python has API version 1012, module _sndobj has version 1013. >>> >>> RuntimeWarning: Python C API version mismatch for module >>> swig_runtime_data3: This Python has API version 1012, module >>> swig_runtime_data3 has version 1013. >> >> My Python version is 2.4.4. I tried it with the default OS X version >> and with a version from Macports. I also tried to run it with Python >> 2.5.1 from Macports (because it seems to need a newer version of >> Python). Then I tried to compile it with a Macports-Scons-version as >> well. To no avail. >> >> So I'm suspecting that I may have a wrong version of Swig (1.3.33), >> which seems to be central to the compiling process. Could this be the >> problem? I will try to compile it with other versions, but it's quite >> time consuming, so that may be tomorrow... >> >> David, if you could send me your _sndobj.so file to test whether that >> works, that would be swell! >> >> Thank you both for your support, >> Peter >> >> Am 18.02.2008 um 21:08 schrieb David Worrall: >> >>> Gidday, >>> FYI, my version, >>> CVS/Entries: /SConstruct/1.50/Thu Jan 25 10:35:47 2007// >>> which I last complied with py2.4 on osx10.4.x in last December, >>> imports by py2.4 under 10.5 no problems. >>> >>> David >>> >>> On 19/02/2008, at 4:24 AM, Victor Lazzarini wrote: >>> >>>> If you look in the Python subdirectory of the sources, you'll >>>> probably find >>>> _sndobj.so there. >>>> If you run the interpreter from that directory, it'll probably >>>> work. >>>> The precompiled won't work because it was built for Python2.3. >>>> >>>> Victor >>>> At 15:44 18/02/2008, Peter Gassner wrote: >>>>> Dear list, >>>>> >>>>> I tried to compile (Py)SndObj on Leopard but I can't get it to >>>>> work >>>>> because _sndobj.so is missing. Should this file be generated >>>>> automatically or will I have to create this myself. How would I do >>>>> this? >>>>> >>>>> The precompiled version of PySndObj 1.3 doesn't work either, it >>>>> throws >>>>> an error. That's why I installed Jack for OS X and now the error >>>>> is >>>>> even worse: >>>>> >>>>>> Fatal Python error: Interpreter not initialized (version >>>>>> mismatch?) >>>>>> Abort trap >>>>> >>>>> I'm a bit lost here and would appreciate any help... >>>>> >>>>> Thanks, >>>>> Peter >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------- >>>>> This SF.net email is sponsored by: Microsoft >>>>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ >>>>> Sndobj-devel mailing list >>>>> Snd...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/sndobj-devel >>>> >>>> Victor Lazzarini >>>> Music Technology Laboratory >>>> Music Department >>>> National University of Ireland, Maynooth >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> Sndobj-devel mailing list >>>> Snd...@li... >>>> https://lists.sourceforge.net/lists/listinfo/sndobj-devel >>> >>> _________________________________________________ >>> experimental polymedia: www.avatar.com.au >>> Sonic Communications Research Group, >>> University of Canberra: creative.canberra.edu.au/scrg >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> Sndobj-devel mailing list >>> Snd...@li... >>> https://lists.sourceforge.net/lists/listinfo/sndobj-devel >> >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ >> Sndobj-devel mailing list >> Snd...@li... >> https://lists.sourceforge.net/lists/listinfo/sndobj-devel > > Victor Lazzarini > Music Technology Laboratory > Music Department > National University of Ireland, Maynooth > |
From: Victor L. <Vic...@nu...> - 2008-02-19 12:20:04
|
I think SWIG is OK, but it might be that you have some sort of version mismatch between interpreter and module. Make sure the interpreter you are using is the same one for the version you built the sndobj module. Victor At 11:04 19/02/2008, Peter Gassner wrote: >Ah, well, it's not working yet, but it looks better now: > >I was able to create the missing _sndobj.so by using scons with this >option: "scons pythonmodule=yes". > >But when I try to run test.py in the python directory I now get these >error messages: > >>RuntimeWarning: Python C API version mismatch for module _sndobj: >>This Python has API version 1012, module _sndobj has version 1013. >> >>RuntimeWarning: Python C API version mismatch for module >>swig_runtime_data3: This Python has API version 1012, module >>swig_runtime_data3 has version 1013. > >My Python version is 2.4.4. I tried it with the default OS X version >and with a version from Macports. I also tried to run it with Python >2.5.1 from Macports (because it seems to need a newer version of >Python). Then I tried to compile it with a Macports-Scons-version as >well. To no avail. > >So I'm suspecting that I may have a wrong version of Swig (1.3.33), >which seems to be central to the compiling process. Could this be the >problem? I will try to compile it with other versions, but it's quite >time consuming, so that may be tomorrow... > >David, if you could send me your _sndobj.so file to test whether that >works, that would be swell! > >Thank you both for your support, >Peter > >Am 18.02.2008 um 21:08 schrieb David Worrall: > >>Gidday, >>FYI, my version, >>CVS/Entries: /SConstruct/1.50/Thu Jan 25 10:35:47 2007// >>which I last complied with py2.4 on osx10.4.x in last December, >>imports by py2.4 under 10.5 no problems. >> >>David >> >>On 19/02/2008, at 4:24 AM, Victor Lazzarini wrote: >> >>>If you look in the Python subdirectory of the sources, you'll >>>probably find >>>_sndobj.so there. >>>If you run the interpreter from that directory, it'll probably work. >>>The precompiled won't work because it was built for Python2.3. >>> >>>Victor >>>At 15:44 18/02/2008, Peter Gassner wrote: >>>>Dear list, >>>> >>>>I tried to compile (Py)SndObj on Leopard but I can't get it to work >>>>because _sndobj.so is missing. Should this file be generated >>>>automatically or will I have to create this myself. How would I do >>>>this? >>>> >>>>The precompiled version of PySndObj 1.3 doesn't work either, it >>>>throws >>>>an error. That's why I installed Jack for OS X and now the error is >>>>even worse: >>>> >>>>>Fatal Python error: Interpreter not initialized (version mismatch?) >>>>>Abort trap >>>> >>>>I'm a bit lost here and would appreciate any help... >>>> >>>>Thanks, >>>>Peter >>>> >>>> >>>> >>>> >>>>------------------------------------------------------------------------- >>>>This SF.net email is sponsored by: Microsoft >>>>Defy all challenges. Microsoft(R) Visual Studio 2008. >>>>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ >>>>Sndobj-devel mailing list >>>>Snd...@li... >>>>https://lists.sourceforge.net/lists/listinfo/sndobj-devel >>> >>>Victor Lazzarini >>>Music Technology Laboratory >>>Music Department >>>National University of Ireland, Maynooth >>> >>> >>>------------------------------------------------------------------------- >>>This SF.net email is sponsored by: Microsoft >>>Defy all challenges. Microsoft(R) Visual Studio 2008. >>>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>_______________________________________________ >>>Sndobj-devel mailing list >>>Snd...@li... >>>https://lists.sourceforge.net/lists/listinfo/sndobj-devel >> >>_________________________________________________ >>experimental polymedia: www.avatar.com.au >>Sonic Communications Research Group, >>University of Canberra: creative.canberra.edu.au/scrg >> >> >> >> >> >>------------------------------------------------------------------------- >>This SF.net email is sponsored by: Microsoft >>Defy all challenges. Microsoft(R) Visual Studio 2008. >>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>_______________________________________________ >>Sndobj-devel mailing list >>Snd...@li... >>https://lists.sourceforge.net/lists/listinfo/sndobj-devel > > > > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Microsoft >Defy all challenges. Microsoft(R) Visual Studio 2008. >http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ >Sndobj-devel mailing list >Snd...@li... >https://lists.sourceforge.net/lists/listinfo/sndobj-devel Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth |
From: Peter G. <pe...@na...> - 2008-02-19 11:04:45
|
Ah, well, it's not working yet, but it looks better now: I was able to create the missing _sndobj.so by using scons with this option: "scons pythonmodule=yes". But when I try to run test.py in the python directory I now get these error messages: > RuntimeWarning: Python C API version mismatch for module _sndobj: > This Python has API version 1012, module _sndobj has version 1013. > > RuntimeWarning: Python C API version mismatch for module > swig_runtime_data3: This Python has API version 1012, module > swig_runtime_data3 has version 1013. My Python version is 2.4.4. I tried it with the default OS X version and with a version from Macports. I also tried to run it with Python 2.5.1 from Macports (because it seems to need a newer version of Python). Then I tried to compile it with a Macports-Scons-version as well. To no avail. So I'm suspecting that I may have a wrong version of Swig (1.3.33), which seems to be central to the compiling process. Could this be the problem? I will try to compile it with other versions, but it's quite time consuming, so that may be tomorrow... David, if you could send me your _sndobj.so file to test whether that works, that would be swell! Thank you both for your support, Peter Am 18.02.2008 um 21:08 schrieb David Worrall: > Gidday, > FYI, my version, > CVS/Entries: /SConstruct/1.50/Thu Jan 25 10:35:47 2007// > which I last complied with py2.4 on osx10.4.x in last December, > imports by py2.4 under 10.5 no problems. > > David > > On 19/02/2008, at 4:24 AM, Victor Lazzarini wrote: > >> If you look in the Python subdirectory of the sources, you'll >> probably find >> _sndobj.so there. >> If you run the interpreter from that directory, it'll probably work. >> The precompiled won't work because it was built for Python2.3. >> >> Victor >> At 15:44 18/02/2008, Peter Gassner wrote: >>> Dear list, >>> >>> I tried to compile (Py)SndObj on Leopard but I can't get it to work >>> because _sndobj.so is missing. Should this file be generated >>> automatically or will I have to create this myself. How would I do >>> this? >>> >>> The precompiled version of PySndObj 1.3 doesn't work either, it >>> throws >>> an error. That's why I installed Jack for OS X and now the error is >>> even worse: >>> >>>> Fatal Python error: Interpreter not initialized (version mismatch?) >>>> Abort trap >>> >>> I'm a bit lost here and would appreciate any help... >>> >>> Thanks, >>> Peter >>> >>> >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ >>> Sndobj-devel mailing list >>> Snd...@li... >>> https://lists.sourceforge.net/lists/listinfo/sndobj-devel >> >> Victor Lazzarini >> Music Technology Laboratory >> Music Department >> National University of Ireland, Maynooth >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Sndobj-devel mailing list >> Snd...@li... >> https://lists.sourceforge.net/lists/listinfo/sndobj-devel >> > > _________________________________________________ > experimental polymedia: www.avatar.com.au > Sonic Communications Research Group, > University of Canberra: creative.canberra.edu.au/scrg > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel |
From: victor <Vic...@nu...> - 2008-02-19 08:52:19
|
VDelay, Tap and Tapi can have variable delays without memory re-allocation. VDelay specialises SetDelayTime() to do so, whereas SetMaxDelayTime() re-allocates memory. Tap and Tapi are variable taps into a DelayLine object. Victor ----- Original Message ----- From: "Paul Coccoli" <pco...@gm...> To: <snd...@li...> Sent: Tuesday, February 19, 2008 5:13 AM Subject: [Sndobj-devel] Which methods are RT-safe? > In my first experiments with SndObj, I've already come across a > stumbling block. DelayLine::SetDelayTime() frees and allocates > memory, making it unusable in an RT thread. This pretty much makes it > impossible to use them in a LADSPA plugin, right? I guess you can use > DelayLine and friends, but you can't ever change the value of the > delay time. Not very useful. > > Why is that even necessary in VDelay, when you have a maxdelaytime arg > to the constructor? Why not allocate the maximum memory there and > then avoid all other news/deletes? > > Am I missing something? > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel |
From: Paul C. <pco...@gm...> - 2008-02-19 05:13:04
|
In my first experiments with SndObj, I've already come across a stumbling block. DelayLine::SetDelayTime() frees and allocates memory, making it unusable in an RT thread. This pretty much makes it impossible to use them in a LADSPA plugin, right? I guess you can use DelayLine and friends, but you can't ever change the value of the delay time. Not very useful. Why is that even necessary in VDelay, when you have a maxdelaytime arg to the constructor? Why not allocate the maximum memory there and then avoid all other news/deletes? Am I missing something? |
From: David W. <so...@av...> - 2008-02-18 21:16:06
|
Gidday, FYI, my version, CVS/Entries: /SConstruct/1.50/Thu Jan 25 10:35:47 2007// which I last complied with py2.4 on osx10.4.x in last December, imports by py2.4 under 10.5 no problems. David On 19/02/2008, at 4:24 AM, Victor Lazzarini wrote: > If you look in the Python subdirectory of the sources, you'll > probably find > _sndobj.so there. > If you run the interpreter from that directory, it'll probably work. > The precompiled won't work because it was built for Python2.3. > > Victor > At 15:44 18/02/2008, Peter Gassner wrote: >> Dear list, >> >> I tried to compile (Py)SndObj on Leopard but I can't get it to work >> because _sndobj.so is missing. Should this file be generated >> automatically or will I have to create this myself. How would I do >> this? >> >> The precompiled version of PySndObj 1.3 doesn't work either, it >> throws >> an error. That's why I installed Jack for OS X and now the error is >> even worse: >> >>> Fatal Python error: Interpreter not initialized (version mismatch?) >>> Abort trap >> >> I'm a bit lost here and would appreciate any help... >> >> Thanks, >> Peter >> >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ >> Sndobj-devel mailing list >> Snd...@li... >> https://lists.sourceforge.net/lists/listinfo/sndobj-devel > > Victor Lazzarini > Music Technology Laboratory > Music Department > National University of Ireland, Maynooth > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel > _________________________________________________ experimental polymedia: www.avatar.com.au Sonic Communications Research Group, University of Canberra: creative.canberra.edu.au/scrg |
From: Victor L. <Vic...@nu...> - 2008-02-18 17:24:58
|
If you look in the Python subdirectory of the sources, you'll probably find _sndobj.so there. If you run the interpreter from that directory, it'll probably work. The precompiled won't work because it was built for Python2.3. Victor At 15:44 18/02/2008, Peter Gassner wrote: >Dear list, > >I tried to compile (Py)SndObj on Leopard but I can't get it to work >because _sndobj.so is missing. Should this file be generated >automatically or will I have to create this myself. How would I do this? > >The precompiled version of PySndObj 1.3 doesn't work either, it throws >an error. That's why I installed Jack for OS X and now the error is >even worse: > > > Fatal Python error: Interpreter not initialized (version mismatch?) > > Abort trap > >I'm a bit lost here and would appreciate any help... > >Thanks, >Peter > > > > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Microsoft >Defy all challenges. Microsoft(R) Visual Studio 2008. >http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ >Sndobj-devel mailing list >Snd...@li... >https://lists.sourceforge.net/lists/listinfo/sndobj-devel Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth |
From: Peter G. <pe...@na...> - 2008-02-18 15:44:48
|
Dear list, I tried to compile (Py)SndObj on Leopard but I can't get it to work because _sndobj.so is missing. Should this file be generated automatically or will I have to create this myself. How would I do this? The precompiled version of PySndObj 1.3 doesn't work either, it throws an error. That's why I installed Jack for OS X and now the error is even worse: > Fatal Python error: Interpreter not initialized (version mismatch?) > Abort trap I'm a bit lost here and would appreciate any help... Thanks, Peter |
From: Paul C. <pco...@gm...> - 2008-02-18 15:17:07
|
On Feb 18, 2008 6:39 AM, Victor Lazzarini <Vic...@nu...> wrote: > Just updated from CVS and it's building, so I am not sure what is the matter. > I am using scons 0.97. > > Victor > User error. For some reason, I had ccache installed, so `which g++` showed something like /usr/lib/ccache/g++. I assume scons couldn't find the compiler. Instead of figuring out how to fix scons, I removed ccache. Things then built normally (after deleting some dot file that must have been storing build configuration). > At 05:36 13/02/2008, Paul Coccoli wrote: > > >scons is failing but doesn't say why: > > > >[paul@boon SndObj]$ scons > >scons: Reading SConscript files ... > >Building the Sound Object Library > >Checking for Realtime IO support... > >OS is Linux... > >Checking for C header file alsa/asoundlib.h... (cached) no > >Checking for C header file soundcard.h... (cached) no > >Checking for C header file jack/jack.h... (cached) no > >No alsa or OSS RT support > >Host is little endian > >swig exists... > >Python version is 2.5 > >Checking for C header file m_pd.h... (cached) no > >Checking for C header file ladspa.h... (cached) no > >scons: done reading SConscript files. > >scons: Building targets ... > >g++ -o src/Oscil.os -c -O3 -fPIC -DNO_RTIO -Iinclude -Iinclude/rfftw > >src/Oscil.cpp > >scons: *** [src/Oscil.os] Error 1 > >scons: building terminated because of errors. > > > >If I run that g++ command on my own, it succeeds with return value 0. > >Why is scons failing? > > > I believe, in this case, scons's Error 1 means the command was not found. I'm not really sure though, and don't have time to look into it any further. The FAQ on the scons page tells you to add a piece of code to the SConstruct file that adds the standard PATH, but that's already in there. Or else I added it and it didn't help; I can't remember (I can't reach that machine right now). |
From: Victor L. <Vic...@nu...> - 2008-02-18 11:39:44
|
Just updated from CVS and it's building, so I am not sure what is the matter. I am using scons 0.97. Victor At 05:36 13/02/2008, Paul Coccoli wrote: >scons is failing but doesn't say why: > >[paul@boon SndObj]$ scons >scons: Reading SConscript files ... >Building the Sound Object Library >Checking for Realtime IO support... >OS is Linux... >Checking for C header file alsa/asoundlib.h... (cached) no >Checking for C header file soundcard.h... (cached) no >Checking for C header file jack/jack.h... (cached) no >No alsa or OSS RT support >Host is little endian >swig exists... >Python version is 2.5 >Checking for C header file m_pd.h... (cached) no >Checking for C header file ladspa.h... (cached) no >scons: done reading SConscript files. >scons: Building targets ... >g++ -o src/Oscil.os -c -O3 -fPIC -DNO_RTIO -Iinclude -Iinclude/rfftw >src/Oscil.cpp >scons: *** [src/Oscil.os] Error 1 >scons: building terminated because of errors. > >If I run that g++ command on my own, it succeeds with return value 0. >Why is scons failing? > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Microsoft >Defy all challenges. Microsoft(R) Visual Studio 2008. >http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >_______________________________________________ >Sndobj-devel mailing list >Snd...@li... >https://lists.sourceforge.net/lists/listinfo/sndobj-devel Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth |
From: Victor L. <Vic...@nu...> - 2008-02-18 10:55:35
|
Yes, I seem to have heard about problems like that with scons. I have just updated to fedora 7, so I'll take a look. Victor At 05:36 13/02/2008, Paul Coccoli wrote: >scons is failing but doesn't say why: > >[paul@boon SndObj]$ scons >scons: Reading SConscript files ... >Building the Sound Object Library >Checking for Realtime IO support... >OS is Linux... >Checking for C header file alsa/asoundlib.h... (cached) no >Checking for C header file soundcard.h... (cached) no >Checking for C header file jack/jack.h... (cached) no >No alsa or OSS RT support >Host is little endian >swig exists... >Python version is 2.5 >Checking for C header file m_pd.h... (cached) no >Checking for C header file ladspa.h... (cached) no >scons: done reading SConscript files. >scons: Building targets ... >g++ -o src/Oscil.os -c -O3 -fPIC -DNO_RTIO -Iinclude -Iinclude/rfftw >src/Oscil.cpp >scons: *** [src/Oscil.os] Error 1 >scons: building terminated because of errors. > >If I run that g++ command on my own, it succeeds with return value 0. >Why is scons failing? > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Microsoft >Defy all challenges. Microsoft(R) Visual Studio 2008. >http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >_______________________________________________ >Sndobj-devel mailing list >Snd...@li... >https://lists.sourceforge.net/lists/listinfo/sndobj-devel Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth |
From: Paul C. <pco...@gm...> - 2008-02-13 05:36:17
|
scons is failing but doesn't say why: [paul@boon SndObj]$ scons scons: Reading SConscript files ... Building the Sound Object Library Checking for Realtime IO support... OS is Linux... Checking for C header file alsa/asoundlib.h... (cached) no Checking for C header file soundcard.h... (cached) no Checking for C header file jack/jack.h... (cached) no No alsa or OSS RT support Host is little endian swig exists... Python version is 2.5 Checking for C header file m_pd.h... (cached) no Checking for C header file ladspa.h... (cached) no scons: done reading SConscript files. scons: Building targets ... g++ -o src/Oscil.os -c -O3 -fPIC -DNO_RTIO -Iinclude -Iinclude/rfftw src/Oscil.cpp scons: *** [src/Oscil.os] Error 1 scons: building terminated because of errors. If I run that g++ command on my own, it succeeds with return value 0. Why is scons failing? |
From: bosko m. <bmi...@ya...> - 2008-02-04 09:19:43
|
Hi! I finally succeed to compile it in MSYS using older MinGW installation 4.1.1 which has gcc 3.4.2 and with Scons 0.96.96. Also I used Swig to make Python module. Everything is working great. Thanks for help. Bosko --- Vic...@nu... wrote: > That looks like a gcc/g++ installation issue, some > sort of misconfigurationperhaps bits of older > installation still remained? But you can tryscons > 0.96, that is what I use.Victor----- Original > Message -----From: bosko milakovic > <bmi...@ya...>Date: Wednesday, January 30, > 2008 2:25 pmSubject: Re: [Sndobj-devel] 1st attempt > compiling (problem)To: victor > <Vic...@nu...>, sndobj-devel > <snd...@li...>> Well, I > installed gcc 3.4.2 and now the errors are> > different. Here's just a small part:)> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:647:> > error: `std::basic_istream<_CharT,> > _Traits>&std::basic_istream<> _Traits>::ignore' is > not a static member of `class> > std::basic_istream<_CharT, _Traits>'> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:647:> > error: template definition of non-template> > `std::basic_istream<> > _Traits>&std::basic_istream<_CharT, > _Traits>::ignore'> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:647:> > error: `streamsize' was not declared in this scope> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:647:> > error: expected primary-expression before "__delim"> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:648:> > error: expected `;' before '{' token> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:> > In member function `typename> > std::basic_istream<_CharT, _Traits>::i> > std::basic_istream<_CharT, _Traits>::peek()':> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:686:> > error: `_M_gcount' undeclared (first use this> > function)> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:> > At global scope:> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:708:> > error: `streamsize' has not been declared> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:> > In member function `std::basic_istream<_CharT,> > _Traits>& std::basic> m<_CharT, > _Traits>::read(_CharT*, int)':> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:710:> > error: `_M_gcount' undeclared (first use this> > function)> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:> > At global scope:> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:731:> > error: expected constructor, destructor, or type> > conversion bef> sic_istream"> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:731:> > error: expected `;' before "basic_istream"> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:> > In member function `std::basic_istream<_CharT,> > _Traits>& std::basic> m<_CharT, > _Traits>::putback(_CharT)':> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:763:> > error: `_M_gcount' undeclared (first use this> > function)> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:> > In member function `std::basic_istream<_CharT,> > _Traits>& std::basic> m<_CharT, _Traits>::unget()':> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:791:> > error: `_M_gcount' undeclared (first use this> > function)> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:> > In function `std::basic_istream<_CharT, _Traits>&> > std::operator>>(s> ic_istream<_CharT, _Traits>&, > _CharT*)':> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:955:> > error: `streamsize' undeclared (first use this> > function)> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:955:> > error: expected `;' before "__extracted"> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:963:> > error: expected `;' before "__num"> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:964:> > error: `__num' undeclared (first use this function)> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:965:> > error: template argument 1 is invalid> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:965:> > error: `max' is not a member of `<declaration > error>'> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:973:> > error: `__extracted' undeclared (first use this> > function)> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:> > In function `std::basic_istream<_CharT, _Traits>&> > std::operator>>(s> ic_istream<_CharT, _Traits>&,> > std::basic_string<_CharT, _Traits, _Alloc>&)':> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:1048:> > error: `streamsize' does not name a type> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:1049:> > error: `__w' undeclared (first use this function)> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_string.tcc:> > In member function `int std::basic_string<_CharT,> > _Traits, _Al> ompare(const _CharT*) const [with > _CharT = char,> _Traits = std::char_traits<char>, > _Alloc => std::allocator<char>]':> > src\/SndObj.h:258: instantiated from here> > c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_string.tcc:891:> > error: no type named `size_type' in `struct> > std::allocator> > > What can be wrong?> Scons > version? I'm using 0.97> Thanks> > Bosko> > > --- > victor <Vic...@nu...> wrote:> > > gcc > 3.4.2; not sure exactly what mingw version.> > > > > Victor> > ----- Original Message ----- > > From: > "bosko milakovic" <bmi...@ya...>> > To: > "victor" <Vic...@nu...>> > Sent: > Wednesday, January 30, 2008 10:21 AM> > Subject: Re: > [Sndobj-devel] 1st attempt compiling> > (problem)> > > > > > > > Hi!> > >> > > I removed latest > version(5.1.3) and installed a> > > version before > MinGW 5.1.2 and I get the same> > error.> > > Which > one do you use?> > >> > > --- victor > <Vic...@nu...> wrote:> > >> > >> I think > there is a problem with mingw and scons> > in> > >> > the latest mingw release of gcc. Try removing it> > > >> (mingw) and> > >> installing an older version > (which is what I> > use).> > >>> > >> Victor> > >>> > > >>> > >> ----- Original Message ----- > > >> From: > "bosko milakovic" <bmi...@ya...>> > >> To: > "sndobj-devel"> > >> > <snd...@li...>> > >> Sent: > Wednesday, January 30, 2008 8:49 AM> > >> Subject: > [Sndobj-devel] 1st attempt compiling> > >> > (problem)> > >>> > >>> > >> > Hi!> > >> >> > >> > I > just tried to compile sndobj and here's the> > >> > problem:> > >> >> > >> > scons: Reading SConscript > files ...> > >> > Building the Sound Object Library> > > >> > Checking for Realtime IO support...> > >> > > OS is Windows, environment is win32...> > >> > using > MINGW...> > >> > Host is little endian> > >> > swig > doesn't exist> > >> > Python version is 2.5> > >> > > Checking for C header file m_pd.h... no> > >> > > Checking for C header file ladspa.h... no> > >> > > scons: done reading SConscript files.> > >> > scons: > Building targets ...> > >> > g++ -o src\Oscil.o -c > -O3 -DWIN -DGCC> > >> > -DUSE_WIN32THREADS -Iinclude > -Iinclude\rff> > >> > tw src\Oscil.cpp> > >> >> > >> > > This application has requested the Runtime to> > > >> > terminate it in an unusual way.> > >> > Please > contact the application's support team> > for> > >> > more> > >> > information.> > >> > scons: *** > [src\Oscil.o] Error 3> > >> > scons: building > terminated because of errors.> > >> >> > >> > Do I > need Swig?> > >> > Thanks> > >> >> > >> > Bosko> > > >> >> > >> >> > >> >> > >> >> > >>> > >> >> > ____________________________________________________________________________________> > > >> > Be a better friend, newshound, and> > >> > > know-it-all with Yahoo! Mobile. Try it now.> > >> > >> > >>> > >> >> > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ> > > >> >> > >> >> > >> >> > >>> > >> >> > -----------------------------------------------------------------> > --------> > >> > This SF.net email is sponsored by: > Microsoft> > >> > Defy all challenges. Microsoft(R) > Visual Studio> > >> 2008.> > >> >> > >>> > >> >> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/> > > >> > > _______________________________________________> > > >> > Sndobj-devel mailing list> > >> > > Snd...@li...> > >> >> > >>> > > >> >> > https://lists.sourceforge.net/lists/listinfo/sndobj-devel> > > >>> > >>> > >>> > >> > >> > >> > > > > >> >> > ____________________________________________________________________________________> > > > Looking for last minute shopping deals?> > > > Find them fast with Yahoo! Search. > > >> >> > http://tools.search.yahoo.com/newsearch/category.php?category=shopping> > > > > > > > > > > > > ____________________________________________________________________________________Be > a better friend, newshound, and > know-it-all with > Yahoo! Mobile. Try it now. > > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > > ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |
From: <Vic...@nu...> - 2008-01-30 14:46:34
|
That looks like a gcc/g++ installation issue=2C some sort of misconfigur= ationperhaps bits of older installation still remained=3F But you can tr= yscons 0=2E96=2C that is what I use=2EVictor----- Original Message -----= From=3A bosko milakovic =3Cbmilakovic=40yahoo=2Ecom=3EDate=3A Wednesday=2C= January 30=2C 2008 2=3A25 pmSubject=3A Re=3A =5BSndobj-devel=5D 1st att= empt compiling (problem)To=3A victor =3CVictor=2ELazzarini=40nuim=2Eie=3E= =2C sndobj-devel =3Csndobj-devel=40lists=2Esourceforge=2Enet=3E=3E Well=2C= I installed gcc 3=2E4=2E2 and now the errors are=3E different=2E Here=27= s just a small part=3A)=3E c=3A/MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E= 2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/include/c++/3=2E4=2E2/bits/istream=2Etcc=3A= 647=3A=3E error=3A =60std=3A=3Abasic=5Fistream=3C=5FCharT=2C=3E =5FTrait= s=3E=26std=3A=3Abasic=5Fistream=3C=3E =A0=5FTraits=3E=3A=3Aignore=27 is = not a static member of =60class=3E std=3A=3Abasic=5Fistream=3C=5FCharT=2C= =5FTraits=3E=27=3E c=3A/MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E2/=2E=2E= /=2E=2E/=2E=2E/=2E=2E/include/c++/3=2E4=2E2/bits/istream=2Etcc=3A647=3A=3E= error=3A template definition of non-template=3E =60std=3A=3Abasic=5Fist= ream=3C=3E =A0=5FTraits=3E=26std=3A=3Abasic=5Fistream=3C=5FCharT=2C =5FT= raits=3E=3A=3Aignore=27=3E c=3A/MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E= 2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/include/c++/3=2E4=2E2/bits/istream=2Etcc=3A= 647=3A=3E error=3A =60streamsize=27 was not declared in this scope=3E c=3A= /MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/= include/c++/3=2E4=2E2/bits/istream=2Etcc=3A647=3A=3E error=3A expected p= rimary-expression before =22=5F=5Fdelim=22=3E c=3A/MinGW/bin/=2E=2E/lib/= gcc/mingw32/3=2E4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/include/c++/3=2E4=2E2/= bits/istream=2Etcc=3A648=3A=3E error=3A expected =60=3B=27 before =27=7B= =27 token=3E c=3A/MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E2/=2E=2E/=2E=2E= /=2E=2E/=2E=2E/include/c++/3=2E4=2E2/bits/istream=2Etcc=3A=3E In member = function =60typename=3E std=3A=3Abasic=5Fistream=3C=5FCharT=2C =5FTraits= =3E=3A=3Ai=3E =A0std=3A=3Abasic=5Fistream=3C=5FCharT=2C =5FTraits=3E=3A=3A= peek()=27=3A=3E c=3A/MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E2/=2E=2E/=2E= =2E/=2E=2E/=2E=2E/include/c++/3=2E4=2E2/bits/istream=2Etcc=3A686=3A=3E e= rror=3A =60=5FM=5Fgcount=27 undeclared (first use this=3E function)=3E c= =3A/MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E=2E= /include/c++/3=2E4=2E2/bits/istream=2Etcc=3A=3E At global scope=3A=3E c=3A= /MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/= include/c++/3=2E4=2E2/bits/istream=2Etcc=3A708=3A=3E error=3A =60streams= ize=27 has not been declared=3E c=3A/MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E= 4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/include/c++/3=2E4=2E2/bits/istream=2Et= cc=3A=3E In member function =60std=3A=3Abasic=5Fistream=3C=5FCharT=2C=3E= =5FTraits=3E=26 std=3A=3Abasic=3E m=3C=5FCharT=2C =5FTraits=3E=3A=3Area= d(=5FCharT*=2C int)=27=3A=3E c=3A/MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E4= =2E2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/include/c++/3=2E4=2E2/bits/istream=2Etc= c=3A710=3A=3E error=3A =60=5FM=5Fgcount=27 undeclared (first use this=3E= function)=3E c=3A/MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E2/=2E=2E/=2E= =2E/=2E=2E/=2E=2E/include/c++/3=2E4=2E2/bits/istream=2Etcc=3A=3E At glob= al scope=3A=3E c=3A/MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E2/=2E=2E/=2E= =2E/=2E=2E/=2E=2E/include/c++/3=2E4=2E2/bits/istream=2Etcc=3A731=3A=3E e= rror=3A expected constructor=2C destructor=2C or type=3E conversion bef=3E= sic=5Fistream=22=3E c=3A/MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E2/=2E= =2E/=2E=2E/=2E=2E/=2E=2E/include/c++/3=2E4=2E2/bits/istream=2Etcc=3A731=3A= =3E error=3A expected =60=3B=27 before =22basic=5Fistream=22=3E c=3A/Min= GW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/incl= ude/c++/3=2E4=2E2/bits/istream=2Etcc=3A=3E In member function =60std=3A=3A= basic=5Fistream=3C=5FCharT=2C=3E =5FTraits=3E=26 std=3A=3Abasic=3E m=3C=5F= CharT=2C =5FTraits=3E=3A=3Aputback(=5FCharT)=27=3A=3E c=3A/MinGW/bin/=2E= =2E/lib/gcc/mingw32/3=2E4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/include/c++/3=2E= 4=2E2/bits/istream=2Etcc=3A763=3A=3E error=3A =60=5FM=5Fgcount=27 undecl= ared (first use this=3E function)=3E c=3A/MinGW/bin/=2E=2E/lib/gcc/mingw= 32/3=2E4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/include/c++/3=2E4=2E2/bits/istr= eam=2Etcc=3A=3E In member function =60std=3A=3Abasic=5Fistream=3C=5FChar= T=2C=3E =5FTraits=3E=26 std=3A=3Abasic=3E m=3C=5FCharT=2C =5FTraits=3E=3A= =3Aunget()=27=3A=3E c=3A/MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E2/=2E=2E= /=2E=2E/=2E=2E/=2E=2E/include/c++/3=2E4=2E2/bits/istream=2Etcc=3A791=3A=3E= error=3A =60=5FM=5Fgcount=27 undeclared (first use this=3E function)=3E= c=3A/MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E= =2E/include/c++/3=2E4=2E2/bits/istream=2Etcc=3A=3E In function =60std=3A= =3Abasic=5Fistream=3C=5FCharT=2C =5FTraits=3E=26=3E std=3A=3Aoperator=3E= =3E(s=3E ic=5Fistream=3C=5FCharT=2C =5FTraits=3E=26=2C =5FCharT*)=27=3A=3E= c=3A/MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E= =2E/include/c++/3=2E4=2E2/bits/istream=2Etcc=3A955=3A=3E error=3A =60str= eamsize=27 undeclared (first use this=3E function)=3E c=3A/MinGW/bin/=2E= =2E/lib/gcc/mingw32/3=2E4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/include/c++/3=2E= 4=2E2/bits/istream=2Etcc=3A955=3A=3E error=3A expected =60=3B=27 before = =22=5F=5Fextracted=22=3E c=3A/MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E2= /=2E=2E/=2E=2E/=2E=2E/=2E=2E/include/c++/3=2E4=2E2/bits/istream=2Etcc=3A= 963=3A=3E error=3A expected =60=3B=27 before =22=5F=5Fnum=22=3E c=3A/Min= GW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/incl= ude/c++/3=2E4=2E2/bits/istream=2Etcc=3A964=3A=3E error=3A =60=5F=5Fnum=27= undeclared (first use this function)=3E c=3A/MinGW/bin/=2E=2E/lib/gcc/m= ingw32/3=2E4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/include/c++/3=2E4=2E2/bits/= istream=2Etcc=3A965=3A=3E error=3A template argument 1 is invalid=3E c=3A= /MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/= include/c++/3=2E4=2E2/bits/istream=2Etcc=3A965=3A=3E error=3A =60max=27 = is not a member of =60=3Cdeclaration error=3E=27=3E c=3A/MinGW/bin/=2E=2E= /lib/gcc/mingw32/3=2E4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/include/c++/3=2E4= =2E2/bits/istream=2Etcc=3A973=3A=3E error=3A =60=5F=5Fextracted=27 undec= lared (first use this=3E function)=3E c=3A/MinGW/bin/=2E=2E/lib/gcc/ming= w32/3=2E4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/include/c++/3=2E4=2E2/bits/ist= ream=2Etcc=3A=3E In function =60std=3A=3Abasic=5Fistream=3C=5FCharT=2C =5F= Traits=3E=26=3E std=3A=3Aoperator=3E=3E(s=3E ic=5Fistream=3C=5FCharT=2C = =5FTraits=3E=26=2C=3E std=3A=3Abasic=5Fstring=3C=5FCharT=2C =5FTraits=2C= =5FAlloc=3E=26)=27=3A=3E c=3A/MinGW/bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E= 2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/include/c++/3=2E4=2E2/bits/istream=2Etcc=3A= 1048=3A=3E error=3A =60streamsize=27 does not name a type=3E c=3A/MinGW/= bin/=2E=2E/lib/gcc/mingw32/3=2E4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/include= /c++/3=2E4=2E2/bits/istream=2Etcc=3A1049=3A=3E error=3A =60=5F=5Fw=27 un= declared (first use this function)=3E c=3A/MinGW/bin/=2E=2E/lib/gcc/ming= w32/3=2E4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/include/c++/3=2E4=2E2/bits/bas= ic=5Fstring=2Etcc=3A=3E In member function =60int std=3A=3Abasic=5Fstrin= g=3C=5FCharT=2C=3E =5FTraits=2C =5FAl=3E ompare(const =5FCharT*) const =5B= with =5FCharT =3D char=2C=3E =5FTraits =3D std=3A=3Achar=5Ftraits=3Cchar= =3E=2C =5FAlloc =3D=3E std=3A=3Aallocator=3Cchar=3E=5D=27=3A=3E src=5C/S= ndObj=2Eh=3A258=3A=A0=A0 instantiated from here=3E c=3A/MinGW/bin/=2E=2E= /lib/gcc/mingw32/3=2E4=2E2/=2E=2E/=2E=2E/=2E=2E/=2E=2E/include/c++/3=2E4= =2E2/bits/basic=5Fstring=2Etcc=3A891=3A=3E error=3A no type named =60siz= e=5Ftype=27 in =60struct=3E std=3A=3Aallocator=3E =3E =3E What can be wr= ong=3F=3E Scons version=3F I=27m using 0=2E97=3E Thanks=3E =3E Bosko=3E = =3E =3E --- victor =3CVictor=2ELazzarini=40nuim=2Eie=3E wrote=3A=3E =3E = =3E gcc 3=2E4=2E2=3B not sure exactly what mingw version=2E=3E =3E =3E =3E= Victor=3E =3E ----- Original Message ----- =3E =3E From=3A =22bosko mil= akovic=22 =3Cbmilakovic=40yahoo=2Ecom=3E=3E =3E To=3A =22victor=22 =3CVi= ctor=2ELazzarini=40nuim=2Eie=3E=3E =3E Sent=3A Wednesday=2C January 30=2C= 2008 10=3A21 AM=3E =3E Subject=3A Re=3A =5BSndobj-devel=5D 1st attempt = compiling=3E =3E (problem)=3E =3E =3E =3E =3E =3E =3E Hi!=3E =3E =3E=3E = =3E =3E I removed latest version(5=2E1=2E3) and installed a=3E =3E =3E v= ersion before MinGW 5=2E1=2E2 and I get the same=3E =3E error=2E=3E =3E = =3E Which one do you use=3F=3E =3E =3E=3E =3E =3E --- victor =3CVictor=2E= Lazzarini=40nuim=2Eie=3E wrote=3A=3E =3E =3E=3E =3E =3E=3E I think there= is a problem with mingw and scons=3E =3E in=3E =3E =3E=3E the latest mi= ngw release of gcc=2E Try removing it=3E =3E =3E=3E (mingw) and=3E =3E =3E= =3E installing an older version (which is what I=3E =3E use)=2E=3E =3E =3E= =3E=3E =3E =3E=3E Victor=3E =3E =3E=3E=3E =3E =3E=3E=3E =3E =3E=3E -----= Original Message ----- =3E =3E =3E=3E From=3A =22bosko milakovic=22 =3C= bmilakovic=40yahoo=2Ecom=3E=3E =3E =3E=3E To=3A =22sndobj-devel=22=3E =3E= =3E=3E =3Csndobj-devel=40lists=2Esourceforge=2Enet=3E=3E =3E =3E=3E Sen= t=3A Wednesday=2C January 30=2C 2008 8=3A49 AM=3E =3E =3E=3E Subject=3A = =5BSndobj-devel=5D 1st attempt compiling=3E =3E =3E=3E (problem)=3E =3E = =3E=3E=3E =3E =3E=3E=3E =3E =3E=3E =3E Hi!=3E =3E =3E=3E =3E=3E =3E =3E=3E= =3E I just tried to compile sndobj and here=27s the=3E =3E =3E=3E probl= em=3A=3E =3E =3E=3E =3E=3E =3E =3E=3E =3E scons=3A Reading SConscript fi= les =2E=2E=2E=3E =3E =3E=3E =3E Building the Sound Object Library=3E =3E= =3E=3E =3E Checking for Realtime IO support=2E=2E=2E=3E =3E =3E=3E =3E = OS is Windows=2C environment is win32=2E=2E=2E=3E =3E =3E=3E =3E using M= INGW=2E=2E=2E=3E =3E =3E=3E =3E Host is little endian=3E =3E =3E=3E =3E = swig doesn=27t exist=3E =3E =3E=3E =3E Python version is 2=2E5=3E =3E =3E= =3E =3E Checking for C header file m=5Fpd=2Eh=2E=2E=2E no=3E =3E =3E=3E = =3E Checking for C header file ladspa=2Eh=2E=2E=2E no=3E =3E =3E=3E =3E = scons=3A done reading SConscript files=2E=3E =3E =3E=3E =3E scons=3A Bui= lding targets =2E=2E=2E=3E =3E =3E=3E =3E g++ -o src=5COscil=2Eo -c -O3 = -DWIN -DGCC=3E =3E =3E=3E =3E -DUSE=5FWIN32THREADS -Iinclude -Iinclude=5C= rff=3E =3E =3E=3E =3E tw src=5COscil=2Ecpp=3E =3E =3E=3E =3E=3E =3E =3E=3E= =3E This application has requested the Runtime to=3E =3E =3E=3E =3E ter= minate it in an unusual way=2E=3E =3E =3E=3E =3E Please contact the appl= ication=27s support team=3E =3E for=3E =3E =3E=3E more=3E =3E =3E=3E =3E= information=2E=3E =3E =3E=3E =3E scons=3A *** =5Bsrc=5COscil=2Eo=5D Err= or 3=3E =3E =3E=3E =3E scons=3A building terminated because of errors=2E= =3E =3E =3E=3E =3E=3E =3E =3E=3E =3E Do I need Swig=3F=3E =3E =3E=3E =3E= Thanks=3E =3E =3E=3E =3E=3E =3E =3E=3E =3E Bosko=3E =3E =3E=3E =3E=3E =3E= =3E=3E =3E=3E =3E =3E=3E =3E=3E =3E =3E=3E =3E=3E =3E =3E=3E=3E =3E =3E= =3E =3E=3E =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=3E =3E =3E=3E =3E Be a bet= ter friend=2C newshound=2C and=3E =3E =3E=3E =3E know-it-all with Yahoo!= Mobile=2E=A0 Try it now=2E=3E =3E =3E=3E =3E=3E =3E =3E=3E=3E =3E =3E=3E= =3E=3E http=3A//mobile=2Eyahoo=2Ecom/=3B=5Fylt=3DAhu06i62sR8HDtDypao8Wc= j9tAcJ=3E =3E =3E=3E =3E=3E =3E =3E=3E =3E=3E =3E =3E=3E =3E=3E =3E =3E=3E= =3E =3E =3E=3E =3E=3E --------------------------------------------------= ---------------=3E --------=3E =3E =3E=3E =3E This SF=2Enet email is spo= nsored by=3A Microsoft=3E =3E =3E=3E =3E Defy all challenges=2E Microsof= t(R) Visual Studio=3E =3E =3E=3E 2008=2E=3E =3E =3E=3E =3E=3E =3E =3E=3E= =3E =3E =3E=3E =3E=3E http=3A//clk=2Eatdmt=2Ecom/MRT/go/vse0120000070mrt= /direct/01/=3E =3E =3E=3E =3E =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=3E =3E =3E=3E =3E Sndobj-devel mailing list=3E= =3E =3E=3E =3E Sndobj-devel=40lists=2Esourceforge=2Enet=3E =3E =3E=3E =3E= =3E =3E =3E=3E=3E =3E =3E=3E =3E=3E https=3A//lists=2Esourceforge=2Enet/= lists/listinfo/sndobj-devel=3E =3E =3E=3E=3E =3E =3E=3E=3E =3E =3E=3E=3E= =3E =3E=3E =3E =3E=3E =3E =3E=3E =3E =3E =3E =3E =3E=3E =3E=3E =5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=3E =3E =3E Looking for last minute shopping = deals=3F=3E =3E =3E Find them fast with Yahoo! Search=2E =3E =3E =3E=3E = =3E=3E http=3A//tools=2Esearch=2Eyahoo=2Ecom/newsearch/category=2Ephp=3F= category=3Dshopping=3E =3E =3E =3E =3E =3E =3E =3E =3E =3E =A0=A0=A0=A0=A0= =3E =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5FBe a better friend=2C newshound=2C= and =3E know-it-all with Yahoo! Mobile=2E=A0 Try it now=2E=A0 =3E http=3A= //mobile=2Eyahoo=2Ecom/=3B=5Fylt=3DAhu06i62sR8HDtDypao8Wcj9tAcJ =3E |
From: bosko m. <bmi...@ya...> - 2008-01-30 14:24:03
|
Well, I installed gcc 3.4.2 and now the errors are different. Here's just a small part:) c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:647: error: `std::basic_istream<_CharT, _Traits>&std::basic_istream< _Traits>::ignore' is not a static member of `class std::basic_istream<_CharT, _Traits>' c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:647: error: template definition of non-template `std::basic_istream< _Traits>&std::basic_istream<_CharT, _Traits>::ignore' c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:647: error: `streamsize' was not declared in this scope c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:647: error: expected primary-expression before "__delim" c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:648: error: expected `;' before '{' token c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc: In member function `typename std::basic_istream<_CharT, _Traits>::i std::basic_istream<_CharT, _Traits>::peek()': c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:686: error: `_M_gcount' undeclared (first use this function) c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc: At global scope: c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:708: error: `streamsize' has not been declared c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic m<_CharT, _Traits>::read(_CharT*, int)': c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:710: error: `_M_gcount' undeclared (first use this function) c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc: At global scope: c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:731: error: expected constructor, destructor, or type conversion bef sic_istream" c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:731: error: expected `;' before "basic_istream" c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic m<_CharT, _Traits>::putback(_CharT)': c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:763: error: `_M_gcount' undeclared (first use this function) c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc: In member function `std::basic_istream<_CharT, _Traits>& std::basic m<_CharT, _Traits>::unget()': c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:791: error: `_M_gcount' undeclared (first use this function) c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc: In function `std::basic_istream<_CharT, _Traits>& std::operator>>(s ic_istream<_CharT, _Traits>&, _CharT*)': c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:955: error: `streamsize' undeclared (first use this function) c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:955: error: expected `;' before "__extracted" c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:963: error: expected `;' before "__num" c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:964: error: `__num' undeclared (first use this function) c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:965: error: template argument 1 is invalid c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:965: error: `max' is not a member of `<declaration error>' c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:973: error: `__extracted' undeclared (first use this function) c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc: In function `std::basic_istream<_CharT, _Traits>& std::operator>>(s ic_istream<_CharT, _Traits>&, std::basic_string<_CharT, _Traits, _Alloc>&)': c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:1048: error: `streamsize' does not name a type c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/istream.tcc:1049: error: `__w' undeclared (first use this function) c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_string.tcc: In member function `int std::basic_string<_CharT, _Traits, _Al ompare(const _CharT*) const [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]': src\/SndObj.h:258: instantiated from here c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_string.tcc:891: error: no type named `size_type' in `struct std::allocator What can be wrong? Scons version? I'm using 0.97 Thanks Bosko --- victor <Vic...@nu...> wrote: > gcc 3.4.2; not sure exactly what mingw version. > > Victor > ----- Original Message ----- > From: "bosko milakovic" <bmi...@ya...> > To: "victor" <Vic...@nu...> > Sent: Wednesday, January 30, 2008 10:21 AM > Subject: Re: [Sndobj-devel] 1st attempt compiling > (problem) > > > > Hi! > > > > I removed latest version(5.1.3) and installed a > > version before MinGW 5.1.2 and I get the same > error. > > Which one do you use? > > > > --- victor <Vic...@nu...> wrote: > > > >> I think there is a problem with mingw and scons > in > >> the latest mingw release of gcc. Try removing it > >> (mingw) and > >> installing an older version (which is what I > use). > >> > >> Victor > >> > >> > >> ----- Original Message ----- > >> From: "bosko milakovic" <bmi...@ya...> > >> To: "sndobj-devel" > >> <snd...@li...> > >> Sent: Wednesday, January 30, 2008 8:49 AM > >> Subject: [Sndobj-devel] 1st attempt compiling > >> (problem) > >> > >> > >> > Hi! > >> > > >> > I just tried to compile sndobj and here's the > >> problem: > >> > > >> > scons: Reading SConscript files ... > >> > Building the Sound Object Library > >> > Checking for Realtime IO support... > >> > OS is Windows, environment is win32... > >> > using MINGW... > >> > Host is little endian > >> > swig doesn't exist > >> > Python version is 2.5 > >> > Checking for C header file m_pd.h... no > >> > Checking for C header file ladspa.h... no > >> > scons: done reading SConscript files. > >> > scons: Building targets ... > >> > g++ -o src\Oscil.o -c -O3 -DWIN -DGCC > >> > -DUSE_WIN32THREADS -Iinclude -Iinclude\rff > >> > tw src\Oscil.cpp > >> > > >> > This application has requested the Runtime to > >> > terminate it in an unusual way. > >> > Please contact the application's support team > for > >> more > >> > information. > >> > scons: *** [src\Oscil.o] Error 3 > >> > scons: building terminated because of errors. > >> > > >> > Do I need Swig? > >> > Thanks > >> > > >> > Bosko > >> > > >> > > >> > > >> > > >> > > > ____________________________________________________________________________________ > >> > Be a better friend, newshound, and > >> > know-it-all with Yahoo! Mobile. Try it now. > >> > > >> > > > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > >> > > >> > > >> > > >> > > > ------------------------------------------------------------------------- > >> > This SF.net email is sponsored by: Microsoft > >> > Defy all challenges. Microsoft(R) Visual Studio > >> 2008. > >> > > >> > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >> > _______________________________________________ > >> > Sndobj-devel mailing list > >> > Snd...@li... > >> > > >> > > > https://lists.sourceforge.net/lists/listinfo/sndobj-devel > >> > >> > >> > > > > > > > > > > > ____________________________________________________________________________________ > > Looking for last minute shopping deals? > > Find them fast with Yahoo! Search. > > > http://tools.search.yahoo.com/newsearch/category.php?category=shopping > > > ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |
From: victor <Vic...@nu...> - 2008-01-30 09:23:59
|
I think there is a problem with mingw and scons in the latest mingw release of gcc. Try removing it (mingw) and installing an older version (which is what I use). Victor ----- Original Message ----- From: "bosko milakovic" <bmi...@ya...> To: "sndobj-devel" <snd...@li...> Sent: Wednesday, January 30, 2008 8:49 AM Subject: [Sndobj-devel] 1st attempt compiling (problem) > Hi! > > I just tried to compile sndobj and here's the problem: > > scons: Reading SConscript files ... > Building the Sound Object Library > Checking for Realtime IO support... > OS is Windows, environment is win32... > using MINGW... > Host is little endian > swig doesn't exist > Python version is 2.5 > Checking for C header file m_pd.h... no > Checking for C header file ladspa.h... no > scons: done reading SConscript files. > scons: Building targets ... > g++ -o src\Oscil.o -c -O3 -DWIN -DGCC > -DUSE_WIN32THREADS -Iinclude -Iinclude\rff > tw src\Oscil.cpp > > This application has requested the Runtime to > terminate it in an unusual way. > Please contact the application's support team for more > information. > scons: *** [src\Oscil.o] Error 3 > scons: building terminated because of errors. > > Do I need Swig? > Thanks > > Bosko > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel |
From: bosko m. <bmi...@ya...> - 2008-01-30 08:49:40
|
Hi! I just tried to compile sndobj and here's the problem: scons: Reading SConscript files ... Building the Sound Object Library Checking for Realtime IO support... OS is Windows, environment is win32... using MINGW... Host is little endian swig doesn't exist Python version is 2.5 Checking for C header file m_pd.h... no Checking for C header file ladspa.h... no scons: done reading SConscript files. scons: Building targets ... g++ -o src\Oscil.o -c -O3 -DWIN -DGCC -DUSE_WIN32THREADS -Iinclude -Iinclude\rff tw src\Oscil.cpp This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. scons: *** [src\Oscil.o] Error 3 scons: building terminated because of errors. Do I need Swig? Thanks Bosko ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |
From: bosko m. <bmi...@ya...> - 2008-01-28 07:23:08
|
Ok, thanks, works like a charm. Bosko --- victor <Vic...@nu...> wrote: > No, SndTable is for any SndFIO object, which SndWave > is. > > Victor > ----- Original Message ----- > From: "bosko milakovic" <bmi...@ya...> > To: "sndobj-devel" > <snd...@li...> > Sent: Saturday, January 26, 2008 8:19 PM > Subject: [Sndobj-devel] Wav to table > > > > Hi! > > > > How can I put wav file into table so I can read it > > with lookup? Which object to use? SndTable is for > raw > > files. So which one is for wav? > > > > Thanks > > > > Bosko > > > > > > > > > ____________________________________________________________________________________ > > Be a better friend, newshound, and > > know-it-all with Yahoo! Mobile. Try it now. > > > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio > 2008. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Sndobj-devel mailing list > > Snd...@li... > > > https://lists.sourceforge.net/lists/listinfo/sndobj-devel > > > ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |
From: victor <Vic...@nu...> - 2008-01-27 11:09:59
|
No, SndTable is for any SndFIO object, which SndWave is. Victor ----- Original Message ----- From: "bosko milakovic" <bmi...@ya...> To: "sndobj-devel" <snd...@li...> Sent: Saturday, January 26, 2008 8:19 PM Subject: [Sndobj-devel] Wav to table > Hi! > > How can I put wav file into table so I can read it > with lookup? Which object to use? SndTable is for raw > files. So which one is for wav? > > Thanks > > Bosko > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel |