https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105522
--- Comment #2 from Sergey Fedorov <vital.had at gmail dot com> --- (In reply to Iain Sandoe from comment #1) > I am not going to be able to make any progress on this without a .i file (it > is not an error that I've seen in any testing). > > ==== > > > CMakeFiles/SDL2.dir/src/hidapi/SDL_hidapi.c.i: No such file or directory > > Perhaps that directory has not been created at the time you are trying to > run the command... > > please take the -save-temps command and see if you can simplify it to just > get it to produce output in the current directory. I am sorry, I stupidly ran command from a wrong directory. I produced the file now.