[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-audio-dev
Subject: Re: [linux-audio-dev] LADSPA Writing Tutorial
From: Kai Vehmanen <kai.vehmanen () wakkanet ! fi>
Date: 2002-02-12 20:40:49
[Download RAW message or body]
On Tue, 12 Feb 2002, Paul Davis wrote:
>> 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.
From dlopen() man page: "External references in the library are resolved
using the libraries in that library's dependency list and any other
libraries previously opened with the RTLD_GLOBAL flag."
So no need to limit the set of C++ features.
--
http://www.eca.cx
Audio software for Linux!
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic