[PD] [PD-dev] Error when crosscompiling pdlua
Patrice Colet
pat at mamalala.org
Tue Dec 11 16:43:04 CET 2007
Martin Peach a écrit :
> Frank Barknecht wrote:
>> Hallo,
>> 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).
>
> Martin
by the way, what is sys_loader() or what it is supposed to be? !There
is no such thing like this in pd source, maybe it is "sys_loaded()" in
s_loader.c?
More information about the Pd-list
mailing list