[PD-dev] Error when crosscompiling pdlua

Frank Barknecht fbar at footils.org
Tue Dec 11 16:56:28 CET 2007


Hallo,
Martin Peach hat gesagt: // Martin Peach wrote:

> Frank Barknecht wrote:
> > Martin Peach hat gesagt: // Martin Peach wrote:
> >   
> >> With dlls you have to export symbols using a def file or /export: statement 
> >> on the command line (or __declspec(dllexport) in the code with MSVC). On 
> >> linux all symbols in a shared library are visible by default, it's about 
> >> the structure of a windows dll versus that of a unix shared library, not 
> >> gcc.
> >>     
> >
> > So unless pd.dll is built with sys_loader exposed, I won't be able to
> > build a loader-external, right? If so, then I'll let the
> > MS-Windows-people take over building pdlua.
> >
> >   
> Usually on Windows you link against pd.lib, not pd.dll, so it ought to 
> work. You will need to include the header file containing sys_loader 
> (except I can't find sys_loader anywhere in the pd source).

Sorry, it's "sys_register_loader" in s_loader.c, but not in any
header. HCS did a bug report regarding this already.

Ciao
-- 
 Frank Barknecht                                     _ ______footils.org__




More information about the Pd-dev mailing list