User forums > Help

#include <iostream> NO such File or Directory

<< < (11/11)

hundred4ever:

--- Quote from: Okaya on April 08, 2010, 04:57:27 pm ---I set the directory to the standalone MinGW's location, in my case C:/MinGW

However, I find that the problem is equally solved by setting it to the MinGW directory found in CodeBLocks own installation folder, and that's perhaps the preferred solution.

In my case, it would be C:\Program Files\CodeBlocks\MinGW  . Once this directory is set, the header files are located without problems.
Settings > Compiler > Toolchain Executables > Compiler's Installation Directory


--- End quote ---

Your solution worked for me. Thanks. :)

In my case I was using 16.01mingwsetup.exe, and my compiler was set to C:\MinGW and wasn't working.

Changing the compiler's installation directory to link to CodeBlocks' MinGW worked for me.
I changed it to -- C:\Program Files (x86)\CodeBlocks\MinGW

Navigation

[0] Message Index

[*] Previous page

Go to full version