[PD] compiling external examples in VS.net

IOhannes m zmoelnig zmoelnig at iem.at
Wed Jan 25 17:32:41 CET 2006


G Quested wrote:
> Hi,
> I am trying to compile and run the example externals bundled with Pd
> 39.1 (the pre-compiled for windows version).
> 
> I can compile the obj1.c file and create a dll which i place in the
> extras directory but Pd doesn't like it:
> -------------------------------------------
> load_object: Symbol "obj1_setup" not found
> obj1
> ... could not create
> -------------------------------------------
> 
> I exported obj1_setup using __declspec(dllexport)

all my knowledge is vc6-based, so i might talk nonsense.
however, i think you also have to tell the linker that you want to 
export the setup-function via the "/export:obj1_setup" flag. (i think 
that "__declspec(dllexport)" is just for the compiler)

mfg.asd.r
IOhannes




More information about the Pd-list mailing list