[PD]neewbe external's build

Martin Peach martinrp at vax2.concordia.ca
Mon Dec 19 22:05:12 CET 2005


Gonzague DDR wrote:
>  Hi all .
> I want/try/need to buid an external with vc++6 and the dll is created 
> without any error nor warning, but pd's console says :
> 
> # tried D:\\obj1\\Debug\\obj1.dll and succeeded
> # load_object: Symbol "obj1_setup" not found
> #  newpd
> # ... couldn't create
> 
> i'm not a developer but i'm sure it's nothing important
> can someone help ?

You probably forgot to put this magic incantation in front of the
declaration of obj1_setup:

__declspec(dllexport)

This tells vc to export the name. Other compilers seem to do this
automatically or with flags like -shared and -export_dynamic.

Martin





More information about the Pd-list mailing list