|
发表于 2012-12-31 10:33:04
|
显示全部楼层
EMCV求助
我用的是合众达公司的SEED—VPM642,ccs3.3,编译选项是-g -q -i"$(Proj_dir)\\include" -d"_DEBUG" -d"CHIP_DM642" -d"_LOOP2_" -mv6400
我按照论坛里chai2010的方法,将video_loopback例程按成C++工程,编译通过,功能可以正常实现。将EMCV的头文件和.cpp文件加入工程之后编译产生这个的警告
warning: missing DW_AT_name attribute
>> warning: function definitions in CSU declarations are not supported
Build Complete,
0 Errors, 40 Warnings, 0 Remarks.
在主函数中加入EMCV调用的任何函数就会出现一个错误
line 53: fatal error: could not open source file "../cxcore/cxmisc.h"
因为我已经将这个头文件加入工程目录下的include文件夹中的,所以将这个包含语句改成#include "cxmisc.h"
编译之后仍然会产生 line 53: fatal error: could not open source file "../cxcore/cxmisc.h"这个错误,即使把这个语句注释掉或者删除还是会显示这个错误 ,求牛人帮助
关于第一个问题,参见下面连接里面的方法,在Build Option--Linker链接选项中添加--no_sym_merge。
<!-- l --><a class=\"postlink-local\" href=\"http://www.opencv.org.cn/forum/viewtopic.php?f=9&t=23704\">viewtopic.php?f=9&t=23704</a><!-- l --> |
|