hi
The uni i am collaborating with has an engineer that did a image analisys tool on C couple of years ago. Now they want to port parts of it to PD creating an external. The engineer that does the job is checking the documentation about externals but he was getting some error.
He doesnt have internet at home, doesnt like it. And does not use email much, on top of this he does not speak english ... :( so this might end up like japanese whispers ...
As far as I understood he was trying to do a "hello world" example and was able to compile but the PD was not able to create the object despite of being placed into a folder within the PD path. He is using Visual Studio to compile. He was checking Flext as well. He was confused and he was asking which is the best way to go about creating externals under windows. I think he is using Visual Studio to compile.
Sorry for such a stupid and basic question but I dont have a clue about externals so i cannot help him much directly.
thanks for any tip!
enrike
altern wrote:
hi
The uni i am collaborating with has an engineer that did a image analisys tool on C couple of years ago. Now they want to port parts of it to PD creating an external. The engineer that does the job is checking the documentation about externals but he was getting some error.
He doesnt have internet at home, doesnt like it. And does not use email much, on top of this he does not speak english ... :( so this might end up like japanese whispers ...
As far as I understood he was trying to do a "hello world" example and was able to compile but the PD was not able to create the object despite of being placed into a folder within the PD path. He is using Visual Studio to compile. He was checking Flext as well. He was confused and he was asking which is the best way to go about creating externals under windows. I think he is using Visual Studio to compile.
the externals-howto (if he is referring to that) is pretty complete as far as it goes to writing externals. it does say nothing about compiling externals though.
most likely this is the problem your engineer is experiencing.
so here some tips:
with Pd (pd/extra/makefile), it has a relevant esection for building with M$VC (but only using commandline tools)
into CVS (./doc/tutorials/externals-howto/), and there you will find Makefiles (still: using cmdline tools, also for M$VC)
tools), they could also have a look at the M$VC project for zexy. (this is shameless self-advertising i admit; but it is the simplest M$VC project i know well); just use zexy.dsw / zexy.dsp (or whatever is there) and upgrade to their version of M$VC (the IDE should handle this automatically); then build from this project (rename the probject; remove all files from the project; add your own files)
if they want to create the project on their own:
when you create a new project)
this one is obligatory): "void <externalname>_setup(void)" use
myobj_setup() (entry point)
mfgas.dr IOhannes
On Mon, 2007-12-10 at 09:27 +0100, IOhannes m zmoelnig wrote:
altern wrote:
hi
The uni i am collaborating with has an engineer that did a image analisys tool on C couple of years ago. Now they want to port parts of it to PD creating an external. The engineer that does the job is checking the documentation about externals but he was getting some error.
He doesnt have internet at home, doesnt like it. And does not use email much, on top of this he does not speak english ... :( so this might end up like japanese whispers ...
As far as I understood he was trying to do a "hello world" example and was able to compile but the PD was not able to create the object despite of being placed into a folder within the PD path. He is using Visual Studio to compile. He was checking Flext as well. He was confused and he was asking which is the best way to go about creating externals under windows. I think he is using Visual Studio to compile.
the externals-howto (if he is referring to that) is pretty complete as far as it goes to writing externals. it does say nothing about compiling externals though.
Last summmer, I wrote a small how-to about this, for people using Dev-C ++. Maybe that can help. It can be found on:
http://youngmusic.org/wiki/index.php/PD-linking-tutorial
There is also one about compiling a library of externals:
http://youngmusic.org/wiki/index.php/PD-library-tutorial
yvan vander sanden