Well, due to a similar error-googling-fixing loop for an unrelated software, I’ve tested and perfected a new trick. If you’re having trouble with the static folder or static images, or permissions errors, this is what worked for me:
- Open your antivirus software.
- Turn it off. (For extra safety, you might want to disconnect from the internet and/or do sandboxing while you do this).
- Open command line but “Run as Administrator”.
- Compile stuff.
- Turn antivirus back on.