Depending on your compiler you need to have the linker "export all symbols" as well as "export dynamic". The dll has to be compiled and linked with the same tools as your PD. These are some of the things I have run into in the past.
Martin
enrico_groups@libero.it wrote:
Thanks for your reply Piotr,
the problem is that because pd cannot load the OSC library, then I cannot use any of it, so for example, if I try to create the OSCroute object, I get:
tried C:\Program\OSCroute.dll and failed tried C:\Program Files\pd\extra\OSCroute.dll and failed
tried C:\Program\OSCroute\OSCroute.dll and failed tried C:\Program Files\pd\extra\OSCroute\OSCroute.dll and failed tried C:\Program\OSCroute.pd and failed tried C:\Program Files\pd\extra\OSCroute.pd and failed tried C:\Program\OSCroute.pat and failed tried C:\Program Files\pd\extra\OSCroute.pat and failed OSCroute ... couldn't create
I looked at the source for OSC and osc_setup is a function. it seems that on my machine PD cannot access it in the dll. I do not understand though why.. and how to fix this. I tried a few different releases, but no luck.
Has anyone seen anything similar (even with other externals)?
Any suggestion is welcome.
Thanks, Enrico
---------- Initial Header -----------
From : "Piotr Majdak" piotr@majdak.com
To : "enrico_groups@libero.it" enrico_groups@libero.it Cc : "pd-list" pd-list@iem.at Date : Mon, 08 Aug 2005 17:25:33 +0200
Subject : Re: [PD] problems with OSC in windows
Hi Enrico,
enrico_groups@libero.it wrote:
I am trying to use the osc extra. load_object: Symbol "osc_setup" not found osc: can't load library
any suggestion?
I'm not sure if there is osc_setup at all.
I use objects dumpOSC and OSCroute - it works fine...
Peter
-- Piotr Majdak Institut für Schallforschung Österreichische Akademie der Wissenschaften Reichsratsstr. 17 A-1010 Wien Tel.: +43-1-4277-29511 Fax: +43-1-4277-9296 E-Mail: piotr@majdak.com WWW: http://www.kfs.oeaw.ac.at
6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list