Dear list,
I had several questions to put:
subpatch, the send/receive pair or a the cable/inlet?
each object, and a comparation between objects?
objects interferes in their order of processing (from l to r). Does in linux the vertical position counts as well? (like in max)
I made one of my own, which I include here (although a bit basic, I think it works). I hope it might be useful for someone. Does anybody know if there is a public library, where people can add and download utilities (like this) or other more "serious" stuff?
Jo�o Miguel Pais
Hi , I'm trying to compile the simple example externals foo1 , foo2 but am having problems. I seem to be having troubles with the Linker. I'm getting lots of "undefined reference to ... " messages . Also for anyone who is using it ,do you set up your project as a DLL file. or Empty Project? Johannes article http://iem.kug.ac.at/pd/externals-HOWTO/ is great for writing externals but I was wondering if there is any further info. on compiling,linking and integrating them into PD.Thanks. Jim
Hi Jim,
reading your mail, I assume, you're looking for information concerning te NT version. In case you don't:
I got an excellent tutorial book on programming for the linux environment. Its aimed at people with C programming language experience, who want to write applications for linux and covers linking, debugging, using RCS, makefile, error handling, creating and using shared libraries, semaphores, message qeues, signals, client/server applications and so on. Its called
Warren Gay: Sams Teach Yourself Linux Programming in 24 hours Sams Publishing 1999, ISBN 0-672-31582-3
A CD with examples is included. It also got lots of funny gizmos on the cover including the label "When you only have time for the answers"
gruezi Orm
Am Donnerstag, den 17. Januar 2002 um 16:55:21 Uhr (-0500) schrieb Jim Ruxton:
hi,
I think it is better not to use vc projects for building, but rather
directly invoke nmake, preferably running a batch file. This could
be a generic batch, which would contain at least set PATH=...'',
set INCLUDE=...'', set LIB=...'', and
nmake''. Then, what
may come handy is associating a .pif file with the batch, in order
to extend environment space, set a working folder etc. Finally,
there need to be (in a working folder) a simple makefile, just like
the one in doc/6.externs.
Krzysztof
Jim Ruxton wrote: ...
Hi Jim,
Please use my workspace and project files whenever you like. Try to challenge yourself!
Akira Abe
-----Original Message----- From: Jim Ruxton [mailto:cinetron@passport.ca] Sent: Friday, January 18, 2002 6:55 AM To: pd-list@iem.kug.ac.at Subject: [PD] Anyone compiling externals with Dev-C++ IDE??
Hi , I'm trying to compile the simple example externals foo1 , foo2 but am having problems. I seem to be having troubles with the Linker. I'm getting lots of "undefined reference to ... " messages . Also for anyone who is using it ,do you set up your project as a DLL file. or Empty Project? Johannes article http://iem.kug.ac.at/pd/externals-HOWTO/ is great for writing externals but I was wondering if there is any further info. on compiling,linking and integrating them into PD.Thanks. Jim
Thank you everyone for offering me help with VC++ but I'm actually using Dev-C++ http://www.bloodshed.net/devcpp.html This is an open source IDE containing a WIN32 port of the GNU GCC.
From their site:
"Dev-C++ is a full-featured integrated development environment (IDE), which is able to create Windows or console-based C/C++ programs using the Mingw compiler system (version MSCVRT 2.95.2-1 included with this package), or the Cygwin compiler. It can also handle the Insight Debugger, which you can also download here. - C and C++ compiler for Win32 (Mingw)"
Jim
----- Original Message ----- From: "Akira Abe" akiraa181@yahoo.co.jp To: "Jim Ruxton" cinetron@passport.ca Cc: "Pd-List" pd-list@iem.kug.ac.at Sent: Saturday, January 19, 2002 1:51 PM Subject: RE: [PD] Anyone compiling externals with Dev-C++ IDE??
I'm sorry that I have gone off half-cocked. And then I have bad news for you.
You can not directly link in libraries from MS VC++ to another compilers such as Cygwin or Mingw.
The library file formats are specific to particular compilers and can not be used portably with different compilers unless the compiler provides support for it. You need to rebuild a import library(pd.lib or libpd.a) to link against. In order to make a import library, you can use any of the following methods:
In the case of Cygwin: Create a def file.
echo EXPORTS > pd.def
nm pd.dll | grep ' T _' | sed 's/.* T _//' >> pd.def
Once you have the .def file, you can create an import library from it.
dlltool --def pd.def --dllname pd.dll --output-lib libpd.a
In the case of The Free Borland C++Builder Compiler: You can use command "implib.exe" to make an import library.
implib.exe -a pd.lib pd.dll
Either way, you probably will be able to link a dll.
Akira Abe
-----Original Message----- From: Jim Ruxton [mailto:cinetron@passport.ca] Sent: Sunday, January 20, 2002 5:12 PM To: Akira Abe Cc: Pd-List Subject: Re: [PD] Anyone compiling externals with Dev-C++ IDE??
Thank you everyone for offering me help with VC++ but I'm actually using Dev-C++ http://www.bloodshed.net/devcpp.html This is an open source IDE containing a WIN32 port of the GNU GCC.
From their site:
"Dev-C++ is a full-featured integrated development environment (IDE), which is able to create Windows or console-based C/C++ programs using the Mingw compiler system (version MSCVRT 2.95.2-1 included with this package), or the Cygwin compiler. It can also handle the Insight Debugger, which you can also download here. - C and C++ compiler for Win32 (Mingw)"
Jim
----- Original Message ----- From: "Akira Abe" akiraa181@yahoo.co.jp To: "Jim Ruxton" cinetron@passport.ca Cc: "Pd-List" pd-list@iem.kug.ac.at Sent: Saturday, January 19, 2002 1:51 PM Subject: RE: [PD] Anyone compiling externals with Dev-C++ IDE??
Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/
On 1/17/02 4:24 PM, jmmmpl@netcabo.pt @ jmmmpl@netcabo.pt wrote:
The simplest way is to select menu "Help"->"Load Meter" to test the cpu usage. But it's overall usage of the current open patch.
PD, and max for that matter, computes in the right-to-left order. But there's sometimes some quirk with the objects creation order especially in the audio domain (the [~] objects).
go through these links and I'm sure you'll find some interesting items: http://gige.xdv.org/pages/pd/pages/links
and of course: http://iem.kug.ac.at/pdwiki/
HTH ./MiS
jmmmpl@netcabo.pt wrote:
the processing-order of one pd-objects that is connected to more than one other object, doesn't work like in max. it's "last come ,first served". so the patch-cord you connected last will be the first to operate. so , for being absolutely sure about the working order, you have to deal a lot more with "triggers". if it worked in a "left-to-right"-sense for you, i assume it was good luck...
there's one in the GEM-library, although, if this is the only use you'd make out of it, it's not worth including the whole library. for most of my purposes, building a rudimental counter myself, is easier.
also you might check out "for++"-object, which is a timing-counter, like a combination of max's "metro" and "counter". you can also use it like max's "uzi". you can find it within the "zexy"-library (a very useful one, btw...)
Does anybody know if there is a public library, where people can add and download utilities (like this) or other more "serious" stuff?
just take a look at www.pure-data.org. i heard it will be updated soon...
also you might check out "for++"-object, which is a timing-counter, like a combination of max's "metro" and "counter". you can also use it like max's "uzi". you can find it within the "zexy"-library (a very useful one, btw...)
just to avoid confusion: "for++" is part of the "iemlib"-library
mfg.cdas.dr IOhannes
Hi all,
any progress to report on OSX + PD?
just curious...
Dr Nick Fells, Music Department, University of Glasgow, Tel: +44 (0) 141-330 4096 Glasgow G12 8QQ Fax: +44 (0) 141-330 3518 UK. http://www.music.gla.ac.uk/~nick
Nothing recent, no... I've been hoping they'd come out with an updated, pre-compiled TK I could use. But I alsa have to worry about audio latency and get MIDI in and out... but until the TK scene gets a bit more hospitable it doesn't look like it will be too usable...
cheers Miller
On Tue, Jan 22, 2002 at 03:38:40PM +0000, Nick Fells wrote: