I'm trying to build and run a C++ source file with 2 header files in Codeblocks (Windows). I built a Codeblocks project to do so (this is the 1st time). I have also looked online for solutions on settings but I keep getting same message. This is the build log:
cannot find C:\Users\cs106: Permission denied collect2.exe: error: ld returned 1 exit status
search directories/compiler: "C:\MinGW\bin" search directories/linker: "C:\MinGW\bin" search directories/resource compiler: "C:\MinGW\bin"
I attach a picture of my project as well. In what field do I specify where to find this *.exe file?


My latest build log is the following:
-------------- Build: Debug in CS106v3.2 (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -LC:\MinGW\bin -LC:\MinGW\bin -o bin\Debug\CS106v3.exe obj\Debug\main.o "C:\Users\E\Documents\Algorithm\C++ S\cs106" C:\MinGW mingw32-g++.exe: error: C:\Users\E\Documents\Algorithm\C++ S\cs106: No such file or directory Process terminated with status 1 (0 minute(s), 0 second(s)) 1 error(s), 0 warning(s) (0 minute(s), 0 second(s))
Yet I do not refer anywhere to "C:\Users\E\Documents\Algorithm\C++ S\cs106". Why is it looking in that folder?
C:\Users\C++Lib\cs106even exist? Does the path contain spaces? - rubenvb