You beat my last edit:
Do the build in the "QB64pe-4.0.0" folder. If successful you can then move the shiny new PE files into a good (and EMPTY!!!) home of their very own.
Reading your compilelog.txt, it looks like some essential files got clobbered, like you may have installed 4.0.0 onto an older version of PE.
QB64PE on Windows is -->2<-- compilers with many thousands of files built to work with other files of the same version. Even if the names don't change, the contents of many of those files change from one PE version to the next, so lose that idea about merging directories. That's, NEVER a good idea when updating software suite like PE. Most software updates remove or isolate the old before cleanly installing the new, and that's the way we should do it. Unless the author explicitly says a new-over-old update is safe, assume it's not.
I recommend trying a COMPLETELY FRESH extraction of the .7z archive.
Do the build in the "QB64pe-4.0.0" folder. If successful you can then move the shiny new PE files into a good (and EMPTY!!!) home of their very own.
Reading your compilelog.txt, it looks like some essential files got clobbered, like you may have installed 4.0.0 onto an older version of PE.
QB64PE on Windows is -->2<-- compilers with many thousands of files built to work with other files of the same version. Even if the names don't change, the contents of many of those files change from one PE version to the next, so lose that idea about merging directories. That's, NEVER a good idea when updating software suite like PE. Most software updates remove or isolate the old before cleanly installing the new, and that's the way we should do it. Unless the author explicitly says a new-over-old update is safe, assume it's not.
I recommend trying a COMPLETELY FRESH extraction of the .7z archive.