Skip to content

Compile error while porting on bare metal #557

@B2B-Rohit

Description

@B2B-Rohit

I get following errors while porting the rlottie library for IMXRT1050 on :

../rlottie/src/vector/vdrawhelper.cpp:66:34: error: 'mutex' is not a member of 'std'
66 | std::lock_guardstd::mutex guard(mMutex);
|

I am currenly trying to compile it for NXP IMXRT1050 using the MCUXpresso IDE
I tried with multiple versions of C++ 11, C++ 14 and C++ 17.
I have one demo code which has precompiled "librlottie.a" which works fine but I want to rebuild the library from the source code
I am new to rlottie and has no experience in cross compilation? So can you atleast tell me how to integrate it?

Along with that I have one more question is it possible to run the rlottie on bare metal alone? or if not how can I add threading support to the toolchain?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions