title: Mingw error 2 codelite
body: <p>When compiling my c++ code in the Codelite IDE, I got this build output:</p>
  
  <pre><code>32\cmd.exe /C C:/TDM-GCC-64/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f  
  
  Makefile
  "----------Building project:[ source - Debug ]----------"
  mingw32-make.exe[1]: Entering directory 'C:/Users/sprv6/Desktop/codelite workspaces/Competitive neural networks/source'
  C:/TDM-GCC-64/bin/g++.exe -o ./Debug/source ./Debug/main.cpp.o   -L.
  C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file ./Debug/source.exe: Permission denied
  collect2.exe: error: ld returned 1 exit status
  mingw32-make.exe[1]: *** [Debug/source] Error 1
  source.mk:78: recipe for target 'Debug/source' failed
  mingw32-make.exe[1]: Leaving directory 'C:/Users/sprv6/Desktop/codelite workspaces/Competitive neural networks/source'
  mingw32-make.exe: *** [All] Error 2
  Makefile:4: recipe for target 'All' failed
  ====1 errors, 0 warnings====
  </code></pre>
  
  <p>I have tried deselecting the option "pass object list to the linker via file", but that was unsuccessful. I also tried re-installing my compilers, with no success. I am not sure what else to do. All I know about the source of the problem is it started occurring after I mistakenly wrote some code that was trying to get values off the end of a list.</p>
  
  <p>Note: I understand questions similar to this have been asked, but their solutions are not working for me.</p>