Author Topic: can't find compiler executable in your configured search path  (Read 10104 times)

Offline kees

  • Single posting newcomer
  • *
  • Posts: 2
can't find compiler executable in your configured search path
« on: November 27, 2015, 06:15:24 pm »
Hi,

I searched this forum for this topic, but cannot solve this.

I installed mingw gcc 5.2 x86_64 on windows 8.1 64
The compiiler is in the PATH and I can compile c++ files
I installed code::blocks
In Setting > Compiler I entered the following:
In Search directories for Compiler/Linker/Resource compiler I entered:
- C:\Program Files\mingw-w64\x86_64-5.2.0-posix-seh-rt_v4-rev1\mingw64\bin
In Toolchain executables, I navigated to the executables for
- C Compiler:             x86_64-w64-mingw32-gcc.exe
- C++ Compiler:         x86_64-w64-mingw32-g++.exe
- Linker dynamic:       x86_64-w64-mingw32-g++.exe
- Linker static:           x86_64-w64-mingw32-gcc-ar.exe
- Resource compiler: windres.exe
- make program:      mingw32-make.exe

But still I keep getting this error.

Any tips?

Thanks in advance,

Kees

Offline raynebc

  • Almost regular
  • **
  • Posts: 217
Re: can't find compiler executable in your configured search path
« Reply #1 on: November 27, 2015, 07:25:13 pm »
http://www.mingw.org/node/24/revisions/278/view
Quote from: MinGW install instructions
The default installation directory, as pre-configured within the installer, is C:\MinGW. Unless you are very sure you know what you are doing, you should not change this; in particular: never install MinGW into any directory which includes spaces in its absolute path name.

Offline kees

  • Single posting newcomer
  • *
  • Posts: 2
Re: can't find compiler executable in your configured search path
« Reply #2 on: November 27, 2015, 08:38:14 pm »
Okay, that did the trick, I installed it in a directory without spaces in the path  :)

Thanx!