Hello everybody,
I'm successfully running C::B with MinGW compiler thru Cygwin environment. I can compile many projects without a single problem.
But there's a conundrum when Windows resources are required and windres has to be used.
When I compile I see this windres command in the Build log:
x86_64-w64-mingw32-windres.exe -IC:\_DEV\wx312_64\include -J rc -O coff -i C:\_DEV_PRJ\WX_TEST\resource.rc -o obj\Release\resource.res
That returns this error:
x86_64-w64-mingw32-gcc: error: C:_DEV_PRJWX_TEST1resource.rc: No such file or directory
I assume that Cygwin, as a Posix system is interpreting backslash symbols as escape codes (hence pruning the file path) but I'm quit puzzled since all other commands shown in the Build log related to gcc or g++ also have backslash paths but conversely, these compiles perfectly.
I've researched but I couldn't find a solution by myself to run windres properly. Having these routes inside quotes or just using slash symbols could fix it but I don't know whether C::B can be configured to write the paths that way.
I ask for your help.
Thank you.