(C++) g++: error: CreateProcess no such file or directory
February 24, 2017 · View on GitHub
(C++) g++: error: CreateProcess no such file or directory
Install error that can occur when installing Qwt under Windows 7.
After doing the following, the error pops up:
cd D:\Projects\Libraries\qwt-6.1.0 C:\Qt\5.1.1\mingw48_32\bin\qmake qwt.pro
The error message:
g++: error: CreateProcess no such file or directory
Solution
Add the folder with cc1plus.exe to the path. For me this was 'C:\Qt\Tools\mingw48_32\libexec\gcc\i686-w64-mingw32\4.8.0'. Also add the folder with g++.exe to the path. For me this was 'C:\Qt\Tools\mingw48_32\bin'. Reflecting upon this solution, perhaps only the latter is needed.