[PD-dev] new pd autobuild

2012-02-18 Thread patrick

fresh from today:
linux mint 12 - 64bit (had to use the r33p debian sqeeze amd 64 version 
--force-dep because of libquicktime):


when creating a new patch with [adc~] - [dac~]

(Tcl) INVALID COMMAND NAME: invalid command name []post
while executing
[]post {} 1 {JackError: JackActivationCount::Signal value = 0 ref = 4}
 (uplevel body line 2)
invoked from within
uplevel #0 $cmds_from_pdJACKerror: JackActivationCount::Signal value = 
0 ref = 4


___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] new pd autobuild

2012-02-18 Thread patrick

hi hans,

Pd-0.43.1-extended-debian-testing-amd64.deb 18-Feb-2012 06:53   1.8K

there's surely a problem with the autobuild system
thank for all the work


___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] Xcode 4: Debug pd-external

2011-08-31 Thread Patrick Gampp
Hi .hc,

  Pd is two processes 'pd-gui' and 'pd'.  

That was the problem, I attached the debugger to the gui-process of pd. After I 
attached to the other pd-process, it worked.
I will add this to the pd-wiki.

Thanks, 
Patrick
___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


[PD-dev] Xcode 4: Debug pd-external

2011-08-30 Thread Patrick Gampp
Hi,
I tried to debug my puredata external with Xcode4.

What I did so far is:

1) In the 'edit scheme'-menu, I added in the 'Executable'-list: 
Pd-extended.app. 
2) Build configuration is Debug
3) Debugger is GDB.
4) I set some breakpoints in my source file.

When I hit Run, pd starts and I open my patch, where the external is, which I 
want to debug. The patch runs, but Xcode does not stop at the given 
breakpoints. 

Do you know what I am doing wrong here?

Thanks, 
Patrick
___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] external on windows

2010-10-07 Thread Patrick Boivin
No luck, I have put both GUIDOEngine.framework and libmusicxml2.framework in
/Library/Frameworks/ and I am still getting this error when trying to load
guido.pd_darwin:

/Users/pboivin/Desktop/guido/guido.pd_darwin:
dlopen(/Users/pboivin/Desktop/guido/guido.pd_darwin, 10): no suitable image
found.  Did find:
/Users/pboivin/Desktop/guido/guido.pd_darwin: unknown required load command
0x8022
guido
... couldn't create


Patrick

On Thu, Oct 7, 2010 at 4:27 AM, Dominique Fober fo...@grame.fr wrote:
 Hi Patrick,
 You are supposed to put the GUIDOEngine.framework  in any standard
location
 :
 ~/Library/Frameworks
 /Library/Frameworks
 /System/Library/Frameworks
 then the system should find it, whatever location is given by otool.
 However, when you want to change the location given by otool,
 using install_name_tool, the syntax is:
 install_name_tool -change old new
 where old is the path given by otool -L
 and new is a path to a Mach-O binary
 e.g. /Library/Frameworks/GUIDOEngine/Versions/B/GUIDOEngine
 the framework should be installed at the new location when you
 call install_name_tool.
 Does it solves the problem ?
 --
 Dominique


 Le 6 oct. 2010 à 18:22, Patrick Boivin a écrit :

 Hi Dominique,

 I can't get your external to load on mac osx:


 /Users/pboivin/Downloads/guido-pd-mac-1.00/guido.pd_darwin:
 dlopen(/Users/pboivin/Downloads/guido-pd-mac-1.00/guido.pd_darwin, 10): no
 suitable image found.  Did find:
 /Users/pboivin/Downloads/guido-pd-mac-1.00/guido.pd_darwin: unknown
 required load command 0x8022
  guido
 ... couldn't create


 otool tells me that the path for GUIDOEngine.framework hardcoded in
 guido.pd_darwin is wrong:


 $ otool -L guido.pd_darwin
 guido.pd_darwin:
 guido.pd_darwin (compatibility version 0.0.0, current version 0.0.0)
 /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version
 7.9.0)
 /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version
 125.2.0)


/Users/fober/src/guido/svn/guidosf/branches/mapping/cmake/Release/GUIDOEngine.framework/Versions/B/GUIDOEngine
 (compatibility version 0.0.0, current version 1.40.0)


 and when I try to change it, I get:


 $ install_name_tool -change

/Users/fober/src/guido/svn/guidosf/branches/mapping/cmake/Release/GUIDOEngine.framework/Versions/B/GUIDOEngine
 /Library/Frameworks/GUIDOEngine guido.pd_darwin
 install_name_tool: object: guido.pd_darwin malformed object (unknown load
 command 5)


 osx 10.5.8, intel
 pd-extended 42.5


 Patrick

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] external on windows

2010-10-06 Thread Patrick Boivin
Hi Dominique,

I can't get your external to load on mac osx:


/Users/pboivin/Downloads/guido-pd-mac-1.00/guido.pd_darwin:
dlopen(/Users/pboivin/Downloads/guido-pd-mac-1.00/guido.pd_darwin, 10): no
suitable image found.  Did find:
/Users/pboivin/Downloads/guido-pd-mac-1.00/guido.pd_darwin: unknown
required load command 0x8022
 guido
... couldn't create


otool tells me that the path for GUIDOEngine.framework hardcoded in
guido.pd_darwin is wrong:


$ otool -L guido.pd_darwin
guido.pd_darwin:
guido.pd_darwin (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version
7.9.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
125.2.0)

/Users/fober/src/guido/svn/guidosf/branches/mapping/cmake/Release/GUIDOEngine.framework/Versions/B/GUIDOEngine
(compatibility version 0.0.0, current version 1.40.0)


and when I try to change it, I get:


$ install_name_tool -change
/Users/fober/src/guido/svn/guidosf/branches/mapping/cmake/Release/GUIDOEngine.framework/Versions/B/GUIDOEngine
/Library/Frameworks/GUIDOEngine guido.pd_darwin
install_name_tool: object: guido.pd_darwin malformed object (unknown load
command 5)


osx 10.5.8, intel
pd-extended 42.5


Patrick

On Wed, Oct 6, 2010 at 2:37 AM, Dominique Fober fo...@grame.fr wrote:

 Thanks, it solves my problem.
 Thanks also to Hans-Christoph Steiner who helped with my GUI external
 question.
 I have now a 'guido' pd external to display music scores based on the Guido
 Engine (http://guidolib.sourceforge.net) running on linux, mac os and
 windows. It works but could become very slow in drawing the music score,
 depending on the drawing area size and on your platform (windows seems not
 to be very efficient).
 This is due to the way to give the score image to Tcl/Tk.

 Now I have a 'newbie in externals dev' question: what is the best place to
 share that with Pd users? I can build binaries for Mac OS and windows but
 it's a little bit more complex for linux, or is there a main target platform
 to build binaries for (for example Ubuntu 10.04 32 or 64 bits).

 Dominique



 Le 4 oct. 2010 à 16:58, martin.pe...@sympatico.ca 
 martin.pe...@sympatico.ca a écrit :

 
  I usually use the pd.lib from one of Miller's builds, as he uses MSVC:
  http://crca.ucsd.edu/~msp/Software/pd-0.42-5.msw.ziphttp://crca.ucsd.edu/%7Emsp/Software/pd-0.42-5.msw.zip
  The c interface is different between MS and gcc; some things just crash,
 for example opening a file in code linked with MSVCRT80 and accessing it
 from code linked against libc.
 
  Martin
 
 
  Dominique wrote:
 
  I'm developing a GUI external that compiles on linux, mac os x... but
 not yet on windows.
  I've tried to use the Visual C++ tools : due to the missing pd.lib file,
 the dll generation is forced at link time using the /FORCE:UNRESOLVED flag.
 My problem is that when I try to use this external, I get a missing
 MSVCRT80.dll error, and when I put this dll with my external, then I get the
 following error message An application has made an attempt to load the C
 runtime incorrectly.
  Note that since I'm not fond of the MS tools, I've first tried to use
 gcc (via MingW) to compile. However, then the trouble is with gdiplus since
 it isn't included in the mingw distribution (missing gdiplus.h and
 gdiplus.lib).
  Does anybody know how to (quickly) solve this problem.
  --
  Dominique
 
 
  ___
  Pd-dev mailing list
  Pd-dev@iem.at
  http://lists.puredata.info/listinfo/pd-dev
 


 ___
 Pd-dev mailing list
 Pd-dev@iem.at
 http://lists.puredata.info/listinfo/pd-dev

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


[PD-dev] -nogui with alsa on linux

2010-07-25 Thread patrick

hi,

would it be possible to fix this bug:
http://sourceforge.net/tracker/index.php?func=detailaid=2724318group_id=55736atid=478070 
http://sourceforge.net/tracker/index.php?func=detailaid=2724318group_id=55736atid=478070


when trying to start pdextended with -nogui

snd_pcm_open (input): Device or resource busy
snd_pcm_open (output): Device or resource busy

thx!
pat

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] pd file format: color settings

2010-02-15 Thread Patrick Boivin
Hi,

there's also [#to_iem] in gridflow 0.9.7 (svn) that does rgb to iemgui
color conversion.


 Date: Sun, 14 Feb 2010 12:26:51 -0500
 From: Hans-Christoph Steiner h...@at.or.at
 Subject: Re: [PD-dev] pd file format: color settings
 To: reduzie...@yahoo.de
 Cc: Martin Peach martin.pe...@sympatico.ca, pd-dev@iem.at
 Message-ID: 425fda03-43cb-40c8-8f0e-68e55236e...@at.or.at
 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
        delsp=yes


 Also, there are some conversion objects around, I think in pdmtl for
 example.

 .hc

 On Feb 14, 2010, at 12:15 PM, Roman Haefeli wrote:

 I assume, this is because a 24bit integer cannot be saved with full
 precision with Pd, since Pd seems to strip off some bits when saving a
 floating point value (or when printing or displaying it). If the color
 would be encoded as RGB 8bpp, it would look different after saving and
 restoring it. So a smaller range had to be used.

 When sending 'color' messages to the iemguis directly, the full 24bit
 resolution can be used.

 Roman



 On Sat, 2010-02-13 at 18:32 -0500, Martin Peach wrote:
 Ah yes, in g_all_guis.c line 281:

 void iemgui_all_colfromload(t_iemgui *iemgui, int *bflcol)
 {
     if(bflcol[0]  0)
     {
         bflcol[0] = -1 - bflcol[0];
         iemgui-x_bcol = ((bflcol[0]  0x3f000)  6)|((bflcol[0] 
 0xfc0)  4)|
             ((bflcol[0]  0x3f)  2);
     }
     else
     {
         bflcol[0] = iemgui_modulo_color(bflcol[0]);
         iemgui-x_bcol = iemgui_color_hex[bflcol[0]];
     }

 ...so if the colour is negative it's a negated (all bits flipped)
 18-bit
 rgb value and if it's positive it's an indexed colour from the iemgui
 palette.
 11RRGGBB
 is bit-flipped to get:
 00rrggbb
 which is shifted into this:
 rr00gg00bb00
 so the 2 LSBs of each colour are set to 0. I don't know why.

 Martin

 Robert Schwarz wrote:
 Thanks for the quick answer.

 The concept of embedding three 8 bit components in one integer was
 clear
 to me, but I think that pd doesn't really use all 8 bits for the
 colors.
 Or maybe there is some issue with 2-complements or something.

 For example, if I want to create three bang objects, in red
 (#ff),
 green (#00ff00) and blue (#ff), your formula gives values of:
 16711680, 65280, 255 for the three colors.

 But I insert them in a patch, like:

 #N canvas 825 10 450 300 10;
 #X obj 0 0 bng 15 200 50 0 target empty empty 0 0 0 8 16711680 0 0 ;
 #X obj 0 15 bng 15 200 50 0 target empty empty 0 0 0 8 65280 0 0 ;
 #X obj 0 30 bng 15 200 50 0 target empty empty 0 0 0 8 255 0 0 ;

 I see the colors white, white, yellow.

 Now, when I change the colors by hand, to really get red, blue and
 green
 on the bang objects and save the file, it reads:

 #N canvas 825 10 450 300 10;
 #X obj 0 0 bng 15 200 50 0 target empty empty 0 0 0 8 -258049 -1
 -1 ;
 #X obj 0 15 bng 15 200 50 0 target empty empty 0 0 0 8 -4033 -1 -1 ;
 #X obj 0 30 bng 15 200 50 0 target empty empty 0 0 0 8 -64 -1 -1 ;

 So it uses negative numbers, and -64 means full blue.
 Now, when I re-open the same file and look at the properties of
 the blue
 bang object, the color now reads: #fc instead of the #ff I
 entered just before saving.

 That's why I suspect some lower resolution going on. I tried to
 browse
 this part in the sources, but all the GUI code confuses me.

 For your interest, this patch results for colors of #04,
 #000400 and
 #04 set by hand in the properties window:

 #X obj 0 0 bng 15 200 50 0 target empty empty 0 0 0 8 -4097 -1 -1;
 #X obj 0 15 bng 15 200 50 0 target empty empty 0 0 0 8 -65 -1 -1;
 #X obj 0 30 bng 15 200 50 0 target empty empty 0 0 0 8 -2 -1 -1;

 Setting colors to lower values, like #01 results in getting them
 rounded down to #00.

 So, the resolution is apparently 256/4 = 64 values, or 6 bits.

 Indeed, if I replace the formula with:

 color = (-([red]+1)/4*64*64) - (([green]+1)/4*64) - ([blue]+1)/4

 I get the same values that Pure Data produces.
 Hm, I might just have solved my problem.

 It's still weird and some developer could check this our or change
 the
 documentation.

 Cheers, Robert

 On 02/13/2010 11:08 PM, Martin Peach wrote:
 That formula should read:
 color = ([red] * 65536) + ([green] * 256) + ([blue])
 In binary the idea is to shift the 8 'red' bits 16 to the left,
 then add
 8 'green' bits shifted 8 bits, and finally 8 'blue' bits, so in
 all 24
 bits are occupied.
 Multiplying the blue value by -1 in the original formula has the
 effect
 of setting the 16 bits to the left of it to 1, so you get different
 shades of pure blue.

 Martin

 Robert Schwarz wrote:
 Hi all,

 I recently tried writing patches in a text editor (or from
 scripts) and
 had problems getting the color settings right, for bang elements.

 There is some documentation at
 http://puredata.info/docs/developer/fileformat
 with the explanation:

 Color: Some graphical elements have color attributes. Per color
 only
 one signed 

Re: [PD-dev] [PD] pd-extended build on 9.10

2009-11-01 Thread patrick

thank you very much Hans,
everything is working (only Bitstream Vera is missing).

pat

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


[PD-dev] compiling pd-extended for ubuntu 9.10

2009-10-31 Thread patrick

hi,

i have this error when compiling pd-extended for ubuntu 9.10:

make -C /home/psc/src/pd/externals/gem2pdp
make[3]: Entering directory `/home/psc/src/pd/externals/gem2pdp'
g++ -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math -Wall 
-W -Wno-unused -Wno-parentheses -Wno-switch -DGEM2PDP_VERSION=\0.7\ -g 
-g -O2 -I/home/psc/src/pd/pd/src -I. 
-I/home/psc/src/pd/externals/pdp/include -I/home/psc/src/pd/Gem/src -o 
gem2pdp.o -c gem2pdp.cpp

In file included from /home/psc/src/pd/Gem/src/Base/CPPExtern.h:20,
from /home/psc/src/pd/Gem/src/Base/GemBase.h:20,
from gem2pdp.h:13,
from gem2pdp.cpp:11:
/home/psc/src/pd/Gem/src/Base/GemVersion.h:13: warning: type qualifiers 
ignored on function return type

In file included from /home/psc/src/pd/externals/pdp/include/pdp.h:41,
from gem2pdp.h:15,
from gem2pdp.cpp:11:
/home/psc/src/pd/externals/pdp/include/pdp_types.h:50: error: 
redeclaration of C++ built-in type ‘bool’

make[3]: *** [gem2pdp.o] Error 1
make[3]: Leaving directory `/home/psc/src/pd/externals/gem2pdp'
make[2]: *** [gem2pdp] Error 2
make[2]: Leaving directory `/home/psc/src/pd/externals'
make[1]: *** [externals_install] Error 2
make[1]: Leaving directory `/home/psc/src/pd/packages'
make: *** [install] Error 2

also i had to modified:

char * extension = strrchr(filename, '.');

for
char * extension = strrchr(const_castchar*(filename), '.');

as reported by ClaudiusMaximus
http://www.mail-archive.com/gem-...@iem.at/msg00236.html

pat

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] compiling pd-extended for ubuntu 9.10

2009-10-31 Thread patrick

oups, sorry (same report as olsen)...

fixed with:

pd/externals/pdp/opengl/include/pdp_texture.h

- bool pdp_packet_texture_isvalid(int packet);
+ int pdp_packet_texture_isvalid(int packet);


pat

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] [PD] pd-extended build on 9.10

2009-10-31 Thread patrick

using svn, then rm -rf pd and:
svn co 
https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-extended/0.42/pd


i am getting this error:
fakeroot dpkg-deb --build /home/psc/src/pd/packages/linux_make/build/ 
/home/psc/src/pd/packages/linux_make/Pd-0.42.5-extended.deb

dpkg-deb - error: Debian revision (`extended') doesn't contain any digits
dpkg-deb: 1 errors in control file
make: *** [deb] Error 2

pat

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


[PD-dev] pd-extended on windows -open patch

2008-08-25 Thread patrick
hi,

i am making a video tutorial on how to install and use pd-extended  / 
pdmtl on windows. i want to load a patch when opening puredata. i've 
installed puredata extended in C:/Program Files/pd (default). the patch 
that i want to load is located in C:/Program 
Files/pd/extra/pdmtl/1.browser.pd

i did modify the startup box by adding -open C:/Program 
Files/pd/extra/pdmtl/1.browser.pd (after -helppath), but it's crashing 
pd (had to reinstall it). putting the patch in C:/ and -open 
C:/1.browser.pd is working. anyone can help me?

pat


___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] pd-extended on windows -open patch

2008-08-25 Thread patrick
hi martin,

it's not working -open C:\Program Files\pd\extra\pdmtl\1.browser.pd, 
it's not crashing pd anymore, but i cannot reopen the Startup window... 
is it supposed to work?

patrick





Martin Peach wrote:
 patrick wrote:
 hi,

 i am making a video tutorial on how to install and use pd-extended  / 
 pdmtl on windows. i want to load a patch when opening puredata. i've 
 installed puredata extended in C:/Program Files/pd (default). the 
 patch that i want to load is located in C:/Program 
 Files/pd/extra/pdmtl/1.browser.pd

 i did modify the startup box by adding -open C:/Program 
 Files/pd/extra/pdmtl/1.browser.pd (after -helppath), but it's 
 crashing pd (had to reinstall it). putting the patch in C:/ and -open 
 C:/1.browser.pd is working. anyone can help me?

 Did you try putting the path in quotes like:
 C:/Program Files/pd/extra/pdmtl/1.browser.pd?

 Martin




___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] recording the overall state of a patch

2008-08-18 Thread patrick
hi,

pdmtl abstractions have a solution for state-saving, auto-gui creation, 
midi mapping, osc mapping. you need to install pdmtl abstractions, add 
it to your path and open 1.browser.pd

http://www.workinprogress.ca/pd/pdmtl/browser.ogg (theora video (vlc))
http://wikifarm.koumbit.net/dataflow/PdMtlAbstractions


pat




forwind wrote:
 Hello Everybody,

 Apologies if this is not the correct place to post this but could
 someone point me towards ways to record/save the overall state of a
 patch. What solutions do people generally use ? I was considering
 writing something in python which would save/recall a patch's state via
 OSC. Each patch would have to define an 'API' to facilitate this but
 would work well considering hooking up python and pd via OSC is pretty
 straight forward using something like pickle to serialize/deserialize a
 patches state. 

 Best regards
 Conor



 ___
 Pd-dev mailing list
 Pd-dev@iem.at
 http://lists.puredata.info/listinfo/pd-dev


   


___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


[PD-dev] flext / py - autobuild

2008-07-15 Thread patrick
hi,

using the autobuild with pd version 0.42 (how can it be (good news)) and 
installing flext successfully, i cannot compile py against python 2.5 
using this config.txt:

# what is the base prefix of the Python installation?
PYTHONPREFIX=/usr

# which Python version do you want to compile against?
PYTHONVERSION=2.5

# uncomment if numpy/numarray/numeric support should be compiled in
# for info see http://numeric.scipy.org
#PY_NUMPY=1
#PY_NUMARRAY=1
#PY_NUMERIC=1

# use thread-safe GIL functionality (do this for python version = 2.3!)
PY_USE_GIL=1

# use inofficial (pure data) functionality
# PY_USE_INOFFICIAL=1


doing bash ../flext/build.sh
bash ../flext/build.sh pd gcc
make -f ../flext/buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd 
COMPILER=gcc BUILDPATH=../flext/buildsys/ PKGINFO=package.txt 
BUILDCLASS=ext USRCONFIG=config.txt USRMAKE=build/gnumake-lnx-gcc.inc 
TARGETMODE=release TARGETTYPE=multi THREADED=1 _build_
make[1]: Entering directory `/home/pat/src/pure-data/externals/grill/py'
mkdir -p pd-linux/release-multi/
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -pthread -fPIC 
-DPY_EXPORTS -DPY_USE_GIL -DNDEBUG -DFLEXT_THREADS -DFLEXT_SYS=2 -DPD 
-I/usr/include/python2.5 -I/usr/local/src/pd/src 
-I/usr/local/include/stk -I/usr/local/include/sndobj 
-I/usr/local/include/flext source/main.cpp -o 
pd-linux/release-multi/main.opp
In file included from source/pybase.h:16,
from source/main.cpp:13:
source/main.h:34: error: expected class-name before ‘{’ token
In file included from source/main.cpp:13:
/usr/local/include/flext/flcontainers.h: In member function ‘void 
TypedFifoT::Put(T*) [with T = FifoEl]’:
source/pybase.h:181: instantiated from here
/usr/local/include/flext/flcontainers.h:456: error: no matching function 
for call to ‘TypedFifoFifoEl::Put(FifoEl*)’
/usr/local/include/flext/flcontainers.h:405: note: candidates are: void 
Fifo::Put(Lifo::Cell*)
/usr/local/include/flext/flcontainers.h: In member function ‘T* 
TypedLifoT::Pop() [with T = FifoEl]’:
/usr/local/include/flext/flcontainers.h:466: instantiated from ‘T* 
PooledFifoT, M, O::New() [with T = FifoEl, int M = 2, int O = 1]’
source/pybase.h:179: instantiated from here
/usr/local/include/flext/flcontainers.h:380: error: invalid static_cast 
from type ‘Lifo::Cell*’ to type ‘FifoEl*’
make[1]: *** [pd-linux/release-multi/main.opp] Error 1
make[1]: Leaving directory `/home/pat/src/pure-data/externals/grill/py'
make: *** [build-release-multi] Error 2

knowing that i run linux / 32 bits / intel and that i use python 2.5 
would it be possible to use a compiled version of a friend? of maybe 
thomas if you have the time to help me with this.

thanks!!
pat

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] pdmtl abstractions in trunk/abstractions

2008-03-04 Thread patrick
hi IOhannes,

  why not just use an external reference?

we would like to include pdmtl abstractions in the auto-build. would it 
be possible with an external reference?

pat

___
PD-dev mailing list
PD-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] pdmtl abstractions in trunk/abstractions

2008-03-04 Thread patrick
excellent solution!
how to make this happen?

trunk/abstractions/pdmtl/ (already there, but very old)

to sync with :

*svn co https://devel.goto10.org/svn/pdmtl/trunk/pdmtl 
https://devel.goto10.org/svn/pdmtl/trunk


*of course, i can ask alexandre quessy if you are too busy (alex have a 
developer account on pd-svn i think).

pat


___
PD-dev mailing list
PD-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


[PD-dev] pdmtl abstractions in trunk/abstractions

2008-03-03 Thread patrick
hi all,

would it be possible to implement a repository mirroring in 
trunk/abstractions/pdmtl for pdmtl abstractions:

At the bottom of http://subversion.tigris.org/ :

Repository mirroring

Subversion supplies a utility, svnsync for synchronizing (via either
push or pull) a read-only slave repository with a master repository.

pat





___
PD-dev mailing list
PD-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] grill/py with python 2.5

2008-02-22 Thread patrick
hi thomas,

i am using the latest SVN versions of both. but lets wait, maybe it's 
only my problem. for now i am using 
http://www.workinprogress.ca/pd/py.pd_linux that i compiled some time 
ago for python 2.5

thank you for keeping this external alive. it's really useful and i see 
a great future for it :)

pat

___
PD-dev mailing list
PD-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] how to checkout svn

2008-02-16 Thread patrick
hi marius,

not sure (didn't test) but you want only trunk (not branches, import or 
tags):
svn co https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk 
pd-extended

my question is: inside trunk, there's a folder named pd. is it the very 
last version of miller (0.41.2 stable)?

pat

___
PD-dev mailing list
PD-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


[PD-dev] grill/py with python 2.5

2008-02-14 Thread patrick
i cannot compile py against python 2.5 on linux:

bash ../flext/build.sh pd gcc
make -f ../flext/buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd 
COMPILER=gcc BUILDPATH=../flext/buildsys/ PKGINFO=package.txt 
BUILDCLASS=ext USRCONFIG=config.txt USRMAKE=build/gnumake-lnx-gcc.inc 
TARGETMODE=release TARGETTYPE=multi THREADED=1 _build_
make[1]: Entering directory 
`/home/pat/src/pdmtlpd/pure-data/trunk/externals/grill/py'
mkdir -p pd-linux/release-multi/
g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -pthread -fPIC 
-DPY_EXPORTS -DPY_USE_GIL -DNDEBUG -DFLEXT_THREADS -DFLEXT_SYS=2 -DPD 
-I/usr/include/python2.5 -I/home/pat/src/pdmtlpd/pure-data/trunk/pd/src 
-I/usr/local/include/stk -I/usr/local/include/sndobj 
-I/usr/local/include/flext source/main.cpp -o 
pd-linux/release-multi/main.opp
source/main.h:34: error: expected class-name before ‘{’ token
/usr/local/include/flext/flcontainers.h: In member function ‘void 
TypedFifoT::Put(T*) [with T = FifoEl]’:
source/pybase.h:181: instantiated from here
/usr/local/include/flext/flcontainers.h:456: error: no matching function 
for call to ‘TypedFifoFifoEl::Put(FifoEl*)’
/usr/local/include/flext/flcontainers.h:405: note: candidates are: void 
Fifo::Put(Lifo::Cell*)
/usr/local/include/flext/flcontainers.h: In member function ‘T* 
TypedLifoT::Pop() [with T = FifoEl]’:
/usr/local/include/flext/flcontainers.h:466: instantiated from ‘T* 
PooledFifoT, M, O::New() [with T = FifoEl, int M = 2, int O = 1]’
source/pybase.h:179: instantiated from here
/usr/local/include/flext/flcontainers.h:380: error: invalid static_cast 
from type ‘Lifo::Cell*’ to type ‘FifoEl*’
make[1]: *** [pd-linux/release-multi/main.opp] Error 1
make[1]: Leaving directory 
`/home/pat/src/pdmtlpd/pure-data/trunk/externals/grill/py'
make: *** [build-release-multi] Error 2

it worked some months ago. my setup is almost the same (ubuntu 7.10).

pat

___
PD-dev mailing list
PD-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] pd-extended loadlib request

2008-01-24 Thread patrick
hi hans,

 What's wrong with adding [declare]/[import] to the patch?
 Or [tof/blahblah]?

if we code tof/blahblah in our abstractions, then people who compile tof 
from scratch and make install it in extra folder = Can't create.

right now there's +-40 externals loaded in pd-extended.
i understand your point about not adding all externals, so i will have a 
look at declare / import.

thanks,
pat

___
PD-dev mailing list
PD-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


[PD-dev] pd-extended loadlib request

2008-01-15 Thread patrick
hi hans,

would it be possible to add tof to default.pdsettings in the 
auto-build (for mac os x too).

pat

___
PD-dev mailing list
PD-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev