I build Gazebo, but it crash immediately, no error shown


I manage to build Gazebo and its dependencies.

But it does not run, Gazebo show splash screen and crash right away. No error log in terminal either.
How can I debug this?


flatpak run -vvv xx.xx.gazebo

flatpak run --command=bash xx.xx.gazebo


Unfortunately, I tried both, and it does not produce any log for me. If this does not work, It mean the apps does not produce log in the first place?