Kiara Patani
unread,Jun 2, 2023, 8:29:18 AM6/2/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to skia-discuss
Hii team,
I am getting linking errors while using skia and the reason being that my project uses C++14 and skia uses C++17.
Errors :-
ld.lld: error: undefined symbol: std::cout
ld.lld: error: undefined symbol: std::basic_ostream<char, std::char_traits<char>>& std::operator<<<std::char_traits<char>>(std::basic_ostream<char, std::char_traits<char>>&, char const*)
ld.lld: error: undefined symbol: std::filesystem::status(std::filesystem::__cxx11::path const&)
To upgrade my project to C++17 will require lot more changes, so I am trying a alternative solution in which I have built a static wrapper library over skia and now if I embed C++ standard library in it and then finally link this new custom wrapper library with my project , I was thinking it should work properly. But still it gives some errors.
Is there any other solution out there for C++ version mismatch issue ?
Thanks and Regards,
Kiara Patani.