问题描述
我有问题,当添加OpenCV的原生C,我的项目。首先,它只是说
i have problem when add openCV native C, to my project. first it just say
程序G ++中找不到路径
纲要海湾合作委员会不是在PATH中找到
"Program "g++" not found in PATH""Program "gcc" not found in PATH"
但是当我右键单击我的项目 - > Android的工具 - >添加本机,我得到了更多的错误,这是错误:
but when I right click on my project --> Android Tools --> Add Native, I got more error, this is the error:
而这正是控制台说:
and this is what the console say:
我不知道我该怎么办?有人能帮助我吗?
I have no idea what should I do? someone can help me?
这是我使用的程序:
- 操作系统Windows 7
- Eclipse的朱诺
- OpenCV的2.4.5
And This the program that I use:- OS Windows 7- Eclipse Juno- OpenCV 2.4.5
推荐答案
如果您的IDE是日食,必须重置为默认设置。你可以做到如下:
If your IDE is eclipse,you must reset to the default settings. You can do it as following:
1打开Eclipse - > 窗口 - > preferences-> C / C ++ - >建设 - >设置
1- open Eclipse->Windows->Preferences->C/C++->Build->Settings
2 - 你会发现,在发现选项卡下,有两个选项:[重置]或[恢复默认值]的'在编者设置CDT GCC编译[共享]或所有设置。
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.
这篇关于计划与QUOT; G ++"在未找到路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!