The code in cef_export.h should have the #ifdef OS_WIN condition, something like this: #elif defined (COMPILER_GCC) #define CEF_EXPORT __attribute__ ( (visibility ("default"))) #ifdef OS_WIN #define ...
I try to cross-compile opentelemetry-cpp 1.21.0 with MinGW GCC 13.2 for Windows on Linux. The underlying problem is still present on "main". Hard to tell generically, because the Opentelemetry-cpp's ...