I tried to set up nob for the RGFW portableGL example and every time I try to run it after adding NOB_GO_REBUILD_URSELF I just get this error:
$ ./nob
[INFO] renaming ./nob -> ./nob.old
[INFO] CMD: cc -o ./nob nob.c
0 [main] nob 30863 dofork: child -1 - CreateProcessW failed for 'C:\programming\gamedev\c\desktop\projects\portableGL\nob.exe', errno 2
[ERROR] Could not fork child process: No such file or directory
[INFO] renaming ./nob.old -> ./nob
This is being run from the msys2 CLANG64 shell. I tried export cc=clang to see if that would help but it didn't. If I copy and paste the file path it gives into the shell it does run the nob exe I initially created (but obviously still doesn't work), and I can manually do clang -o nob ./nob.c and it always works but that's not rebuilding from within nob itself...