Some news :
In fact, it’s not a compiler error but an error window which is displaying.
I’m using the SDK sources from github and more precisely, the hello_xr sample.
With breakpoints, I can see with CHECK_XRCMD a XR_ERROR_PATH_UNSUPPORTED.
However, I wrote the same path that it is written in the doc :
/interaction_profiles/htc/vive_cosmos_controller
That’s why I don’t understand…