Re: [linux-audio-dev] LADSPA Writing Tutorial

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] LADSPA Writing Tutorial
From: Paul Davis (pbd_AT_Op.Net)
Date: Tue Feb 12 2002 - 22:57:37 EET


>>> Is it possible to use C++ to write LADSPA plugins? Especially since
>>> the host might only have a C runtime?
>> in general, no its not possible. the (implicit) rule is that the host
>> will only load the shared object containing the plugin(s), so if they
>> require any other symbols to be linked, they will not work. C++
>> plugins that use any STL features, RTTI or other C++ runtime library
>> stuff will simply fail to load in non-C++ hosts.
>
>Actually if linked properly, dlopen() will open plugins written in C++
>just fine.

thats true. i take that back.

alsa, "properly linked" means either learning quite a lot about the
linker or using libtool, neither one of which i relish :)

--p


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Feb 12 2002 - 22:52:37 EET