Libraw/dcraw as external library

The problem isn’t API/ABI. The problem is that camera support is a feature of the program, not the used library. So at any given time there is more or less a single version of rawspeed that has the right feature set: all cameras it’s supposed to support are supported, but none else. And that might very well be different for different programs using rawspeed. So having it as a shared library is basically not possible. I’d go as far as saying that librawspeed.so shouldn’t be a thing but only librawspeed.a should be built and linked.

2 Likes