
乐派·


0 访问量
0 原创专栏
0 资料
0 粉丝
个性签名:此E友还没有留下个性签名哦~
加入易百纳时间:2016-12-14
-
我在使用arm-hisiv500-linux-gcc编译opencv3.2.0的时候,报出了很多错误,按照网上可以找到的办法已经做了修改,但是还是有下面的错误出来,请大家帮助一下,谢谢! [ 23%] Linking C static library ../lib/liblibpng.a [ 23%] Built target libpng [ 23%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/Half/half.cpp.obj In file included from /opt/hisi-linux/x86-arm/arm-hisiv500-linux/arm-hisiv500-linux-uclibcgnueabi/include/c++/4.9.4/bits/locale_facets.h:41:0, from /opt/hisi-linux/x86-arm/arm-hisiv500-linux/arm-hisiv500-linux-uclibcgnueabi/include/c++/4.9.4/bits/basic_ios.h:37, from /opt/hisi-linux/x86-arm/arm-hisiv500-linux/arm-hisiv500-linux-uclibcgnueabi/include/c++/4.9.4/ios:44, from /opt/hisi-linux/x86-arm/arm-hisiv500-linux/arm-hisiv500-linux-uclibcgnueabi/include/c++/4.9.4/ostream:38, from /opt/hisi-linux/x86-arm/arm-hisiv500-linux/arm-hisiv500-linux-uclibcgnueabi/include/c++/4.9.4/iostream:39, from /home/lele/Desktop/OpenCV/opencv/opencv-3.2.0/3rdparty/openexr/Half/half.h:88, from /home/lele/Desktop/OpenCV/opencv/opencv-3.2.0/3rdparty/openexr/Half/half.cpp:48: /opt/hisi-linux/x86-arm/arm-hisiv500-linux/arm-hisiv500-linux-uclibcgnueabi/include/c++/4.9.4/arm-hisiv500-linux-uclibcgnueabi/bits/ctype_base.h:46:19: error: ‘__ctype_touplow_t’ does not name a type typedef const __ctype_touplow_t* __to_type; /opt/hisi-linux/x86-arm/arm-hisiv500-linux/arm-hisiv500-linux-uclibcgnueabi/include/c++/4.9.4/arm-hisiv500-linux-uclibcgnueabi/bits/ctype_base.h:50:13: error: ‘__ctype_mask_t’ does not name a type typedef __ctype_mask_t mask; ^ /opt/hisi-linux/x86-arm/arm-hisiv500-linux/arm-hisiv500-linux-uclibcgnueabi/include/c++/4.9.4/arm-hisiv500-linux-uclibcgnueabi/bits/ctype_base.h:51:18: error: ‘mask’ does not name a type static const mask upper = _ISupper; ^ /opt/hisi-linux/x86-arm/arm-hisiv500-linux/arm-hisiv500-linux-uclibcgnueabi/include/c++/4.9.4/arm-hisiv500-linux-uclibcgnueabi/bits/ctype_base.h:52:18: error: ‘mask’ does not name a type static const mask lower = _ISlower; ……………………………………………… 我该怎样修改一下呢,谢谢2017-12-060 0 3170
-
本人将开始深入探索hi3516平台,欢迎有兴趣的一块交流学习!2016-12-202 0 2380
-
static void get_zimo(char *str, char *buffer) { printf("str=%s,buffer=%p\n",str,buffer); int len; int i = 0; char *p; signed char c1, *str_; p = buffer; len = strlen(str); str_ = (signed char *)str; while(i < len) { c1 = str_; if(c1 >= 0)//asiic { if(c1<0x20) { memset(p,0x00,16); } else { memcpy(p, &ASC_MSK[(c1-0x1f)*16], 16); } p = p + 16; } else { getHzKCode(&str_, p); p = p + 32; i++; } i++; } } 我已经将错误定位到是这个函数的原因,第一个printf函数执行之后就出现错误,定义变量也不能成功,经过测试在int len,之后加入打印信息也不能执行下去,但是第一个printf是可以正常执行的,函数传入参数是正确的,我可以在第一局之前加入将传入的参数打印出来,也是没问题的。该怎么办呢 ?有没有相似的,我运行的是例程啊,这让我如何是好?:'(:'(:'(:'(2016-12-2011 0 3732

共3条