Here's what I see : https://freeimage.host/i/Jk78STX
Compiled on Windows 10 using latest and MSVC 2022 compiler.
I can see the same problem when I run ubuntu on Windows 10 under windows subsystem for Linux (WSL)
I do not see any issue when I run a freshly compiled program on my Ubuntu machine.
It's more likely a FG issue I think, have you tried other aircraft?
yes. I tried 747-400, 787 and default Cessna. Outside scenery is messed up in all cases but internal flight deck is rendered correctly in them.
I guess that's what you'd expect when you have no scenery, otherwise currently I really have no idea of what/where the issue is, sorry. Maybe try fixing your scenery issue first and see if anything changes?
Kind regards,
Sidi