Looks like two issues:1) The missing directory deliminator indicate a Unix ("/") V's Windows ("\") directory deliminator problem somewhere.
2) The tilda's indicate there may be a problem with 32 V 64 bit tools or a tool used that does not like windows directories with names longer than 8 characters.
Some questions:
1) What version of Code::Blocks are you using?2) What GCC environment are you using and what version is it? MinGw64, MSYS2, TDM etc
3) Where did you download the GCC environment from?4) Do you have a small project that shows the problem that you can upload for so devs can try to see what is going on?5) Have you tried the latest nightly build to see if the issue is resolved in it?
My hunch at the moment without allot of info would be that the windres.exe program could be the culprit.