FlexCel and XData on Linux

Hi,
I have a XData based apache module that runs on linux.
I added now support for xls files but as soon as I add SKIA.FlexCel.Core to the uses the apache fails to load the module...
When I do it like this:
uses FlexCel.Core
the module loads, but when I try to open a xls file I get the error that FlexCel is not properly initialized and that I need to add SKIA.FlexCel.Core to my uses statment.
any Ideas?

Hi,
For most cases, you do need to use SKIA.FlexCel.Core at least once. (for the rest of the code it is better to just use FlexCel.Core so the code can run in Windows too without having to replace SKIA.FlexCel.Core to VCL.FlexCel.Core).

Without graphics support, functionality is very limited, and you will likely find the message you got about using SKIA.FlexCel.Core

But about the issue, my guess is that it is not finding libflexskia.so
Have you deployed it as described here:
https://doc.tmssoftware.com/flexcel/vcl/guides/linux-guide.html#deploying-libflexskiaso
You don't need to deploy it with the Deployment manager, but you need to have libflexskia.so in a place where it can be found by the OS.
You also need to install fontconfig, as mentioned in the next section of the docs.

If that is not the problem, let me know and we will dig further

1 Like

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.