Unsolved Project ERROR: Cannot run compiler 'g++'. Output (centos7)
-
I installed Qt5.12.3 on centos7.When i create Qt Application project first time and build it,a bug occurs 'Project ERROR: Cannot run compiler 'g++'. Output'.
Before this,i upgrade my gcc/g++ from 4.8.5 to 9.3.0 and set the soft link for /usr/bin.gcc/g++ 93.0 is valid.
Does anyone know how this is caused? -
@lyyaozi Can you run the compiler from command line and compile a simple C++ program?
Is the Kit configured properly in QtCreator? -
@jsulm yes,i try to compile a demo cpp with command line,it works.I configure a new compiler in kit,and i set it's path to /usr/bin
-
@lyyaozi said in Project ERROR: Cannot run compiler 'g++'. Output (centos7):
path to /usr/bin
Including the executable? Like /usr/bin/gcc?
-
@jsulm yes,i configure the C Compiler "/usr/bin/gcc" and C++ Compiler "/usr/bin/g++buzh"
-
@lyyaozi said in Project ERROR: Cannot run compiler 'g++'. Output (centos7):
/usr/bin/g++buzh
What is buzh? Is it a typo or part of the file name?
Before you wrote: /usr/bin.gcc/g++ 93.0
Can you please post what exactly the symbolic links look like and to what do they point? -