How compile with LibXml?

Hey everybody,

Someones have already used libxml ?

With the command ldprog -p we can know that libxml is installed about device.

But I can’t compile a project due to an error of “cross compilation”.

I would be grateful if someone have an example or an explanation how use libxml on legato.

Best Regards,

Did you see this: https://docs.legato.io/latest/defFilesCdef.html#defFilesCdef_requiresLib

It looks like you need to put this in your Component.cdef:

requires:
{
    lib:
    {
        xml
    }
}