Joined: 02 May 2011
|Posted: Fri Mar 28, 2014 11:04 am Post subject:
This error can pop up for a variety of reasons. Usually it indicates that the linker cannot write out the output file hello.exe for some reason. There are a variety of reasons as to why this could happen - for example:
- Insufficient permission to write 'hello.exe' to the directory
- Another process has a lock on creating the file 'hello.exe'
- Anti-virus software may inhibit creating new executables
This list is not exhaustive, but should give you some ideas of things to try. Check file permissions, reboot your system, and try disabling anti-virus checking on the directory where you are compiling hello.exe.
Hope this helps,