在C++Test中进行Read symbols出现以下错误Compiler GNU GCC 2.9.x used in project configuration cannot be found.Please be sure that directory containing GNU GCC 2.9.x compiler,is included inthe $PATH environmental variable.---------------------
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/20 11:29:46
在C++Test中进行Read symbols出现以下错误Compiler GNU GCC 2.9.x used in project configuration cannot be found.Please be sure that directory containing GNU GCC 2.9.x compiler,is included inthe $PATH environmental variable.---------------------
在C++Test中进行Read symbols出现以下错误
Compiler GNU GCC 2.9.x used in project configuration cannot be found.
Please be sure that directory containing GNU GCC 2.9.x compiler,is included in
the $PATH environmental variable.
------------------------
Precompiling D:\Program Files\Parasoft\C++Test\examples\cpptest_demo.cpp
Working directory:D:\Program Files\Parasoft\C++Test\examples
g++.exe -ftemplate-depth-35 -xc++ "D:\\Program Files\\Parasoft\\C++Test\\examples\\cpptest_demo.cpp" -o "C:\\Documents and Settings\\Administrator\\C++TestFiles\\Temp\\project5040TmpDir\\Product\\cpptest_demo.cpp_0\\cpptest_demo.o" -c -g -w
Error:Precompile failed for:
D:\Program Files\Parasoft\C++Test\examples\cpptest_demo.cpp.
------------------------
The following problem(s) occured during reading symbols:
Error:Precompile failed for:
D:\Program Files\Parasoft\C++Test\examples\cpptest_demo.cpp.
而且在家里可以用,但是到公司就用不了(安装方式都一样,环境也一样),其他帖子说需要增加系统变量,到底应该怎么加?具体方法谁可以说一下?
在C++Test中进行Read symbols出现以下错误Compiler GNU GCC 2.9.x used in project configuration cannot be found.Please be sure that directory containing GNU GCC 2.9.x compiler,is included inthe $PATH environmental variable.---------------------
Please be sure that directory containing GNU GCC 2.9.x compiler, is included in
the $PATH environmental variable.
这句提示,请将gcc所在目录添加到环境变量中,
右键我的电脑->属性->高级->环境变量,
在下面的系统变量中找到Path, 选中,点编辑,在最后边加一个分好";"然后填上gcc的全路径