[英]Program “g++” not found in PATH
i have problem when add openCV native C, to my project. 将openCV本机C添加到我的项目时,我遇到了问题。 first it just say 首先它只是说
"Program "g++" not found in PATH" "Program "gcc" not found in PATH" “在PATH中找不到程序” g ++“”“在PATH中找不到程序” gcc“
but when I right click on my project --> Android Tools --> Add Native, I got more error, this is the error: 但是当我右键单击项目-> Android工具->添加本机时,出现了更多错误,这是错误:
and this is what the console say: 这就是控制台所说的:
I have no idea what should I do? 我不知道该怎么办? someone can help me? 有人可以帮助我吗?
And This the program that I use: - OS Windows 7 - Eclipse Juno - OpenCV 2.4.5 我使用的程序是:-OS Windows 7-Eclipse Juno-OpenCV 2.4.5
If your IDE is eclipse,you must reset to the default settings. 如果您的IDE是eclipse,则必须重置为默认设置。 You can do it as following: 您可以按照以下步骤进行操作:
1- open Eclipse-> Windows->Preferences->C/C++->Build->Settings 1-打开Eclipse-> Windows-> Preferences-> C / C ++-> Build-> Settings
2- You will find, under the ' Discovery ' tab, two options: [ reset ] or [ restore defaults ] the 'CDT GCC Build in Complier Settings [Shared]' or all settings. 2-您将在“ 发现 ”选项卡下找到两个选项:[ 重置 ]或[ 恢复默认值 ],“ CDT GCC构建于编译器设置[共享]”或所有设置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.