Samsung / rlottie

A platform independent standalone library that plays Lottie Animation.
Other
1.15k stars 223 forks source link

Compile error while porting on bare metal #557

Open B2B-Rohit opened 5 months ago

B2B-Rohit commented 5 months ago

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?