Youhoo! I have solved the compiler problem, using a combination of Arduino, VS Code, PlatformIO + reconfiguring some compiling flags. Also one should add the ElapsedMillis.h to a few libs.
If You guys have any interest on ESP32 , I can share.
Now I can compile and upload it. I can read the mpu...