ziyanmomo

ziyanmomo

0个粉丝

4

问答

0

专栏

0

资料

ziyanmomo  发布于  2015-11-10 10:40:56
采纳率 0%
4个问答
5453

【已解决】海思编译器编译opencv出错,请帮忙看看

本帖最后由 9crk 于 2016-9-9 11:05 编辑

opencv版本:opencv2.4.9
海思编译器:arm-hisiv100nptl-linux-gcc    arm-hisiv100nptl-linux-g++
请问是海思版本问题吗?
出错信息如下:
[ 18%] Generating opencv_highgui_pch_dephelp.cxx
Scanning dependencies of target opencv_highgui_pch_dephelp
[ 19%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui_pch_dephelp.dir/opencv_highgui_pch_dephelp.cxx.obj
cc1plus: warning: include location "/usr/local/include" is unsafe for cross-compilation [-Wpoison-system-directories]
cc1plus: warning: include location "/usr/include" is unsafe for cross-compilation [-Wpoison-system-directories]
In file included from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:43,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/basic_ios.h:39,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/ios:45,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/istream:40,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/sstream:39,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/complex:47,
                 from /home/xh/opencv-2.4.9/modules/core/include/opencv2/core/core.hpp:59,
                 from /home/xh/opencv-2.4.9/modules/highgui/include/opencv2/highgui/highgui.hpp:46,
                 from /home/xh/opencv-2.4.9/modules/highgui/src/precomp.hpp:47,
                 from /home/xh/opencvbuild/modules/highgui/opencv_highgui_pch_dephelp.cxx:1:
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:45: error: expected ';' before '*' token
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:49: error: '__ctype_mask_t' does not name a type
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:50: error: 'mask' does not name a type
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:51: error: 'mask' does not name a type
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:52: error: 'mask' does not name a type
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:53: error: 'mask' does not name a type
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:54: error: 'mask' does not name a type
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:55: error: 'mask' does not name a type
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:56: error: 'mask' does not name a type
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:57: error: 'mask' does not name a type
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:58: error: 'mask' does not name a type
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:59: error: 'mask' does not name a type
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_base.h:60: error: 'mask' does not name a type
In file included from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/basic_ios.h:39,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/ios:45,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/istream:40,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/sstream:39,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/complex:47,
                 from /home/xh/opencv-2.4.9/modules/core/include/opencv2/core/core.hpp:59,
                 from /home/xh/opencv-2.4.9/modules/highgui/include/opencv2/highgui/highgui.hpp:46,
                 from /home/xh/opencv-2.4.9/modules/highgui/src/precomp.hpp:47,
                 from /home/xh/opencvbuild/modules/highgui/opencv_highgui_pch_dephelp.cxx:1:
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:162: error: 'mask' has not been declared
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:179: error: 'mask' has not been declared
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:195: error: expected ';' before '(' token
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:210: error: expected ';' before 'const'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:211: error: expected ';' before '(' token
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:224: error: expected ';' before 'char_type'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:371: error: 'mask' has not been declared
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:391: error: 'mask' has not been declared
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:409: error: 'do_scan_is' declared as a 'virtual' field
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:409: error: expected ';' before '(' token
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:428: error: 'do_scan_not' declared as a 'virtual' field
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:428: error: expected ';' before '(' token
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:685: error: '__to_type' does not name a type
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:686: error: '__to_type' does not name a type
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:687: error: expected ';' before '*' token
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:711: error: expected ',' or '...' before '*' token
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:724: error: expected ',' or '...' before '*' token
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:737: error: 'mask' has not been declared
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:752: error: 'mask' has not been declared
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:766: error: 'scan_is' declared as an 'inline' field
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:766: error: expected ';' before '(' token
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:780: error: 'scan_not' declared as an 'inline' field
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:780: error: expected ';' before '(' token
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:973: error: expected ';' before '*' token
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:978: error: expected ';' before 'static'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:978: error: expected ';' before '*' token
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:1192: error: 'mask' does not name a type
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:1223: error: expected ',' or '...' before '__m'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:1243: error: 'mask' has not been declared
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:1262: error: 'mask' has not been declared
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:1280: error: 'do_scan_is' declared as a 'virtual' field
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:1280: error: expected ';' before '(' token
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:1298: error: 'do_scan_not' declared as a 'virtual' field
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:1298: error: expected ';' before '(' token
In file included from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:1510,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/basic_ios.h:39,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/ios:45,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/istream:40,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/sstream:39,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/complex:47,
                 from /home/xh/opencv-2.4.9/modules/core/include/opencv2/core/core.hpp:59,
                 from /home/xh/opencv-2.4.9/modules/highgui/include/opencv2/highgui/highgui.hpp:46,
                 from /home/xh/opencv-2.4.9/modules/highgui/src/precomp.hpp:47,
                 from /home/xh/opencvbuild/modules/highgui/opencv_highgui_pch_dephelp.cxx:1:
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:41: error: 'bool std::ctype::is' is not a static member of 'class std::ctype'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:41: error: 'mask' was not declared in this scope
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:41: error: expected primary-expression before 'char'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:41: error: initializer expression list treated as compound expression [-fpermissive]
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:41: error: expected ',' or ';' before 'const'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:46: error: 'mask' has not been declared
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h: In member function 'const char* std::ctype::is(const char*, const char*, int*) const':
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:49: error: '_M_table' was not declared in this scope
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h: At global scope:
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:55: error: 'const char* std::ctype::scan_is' is not a static member of 'class std::ctype'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:55: error: 'mask' was not declared in this scope
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:55: error: expected primary-expression before 'const'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:55: error: expected primary-expression before 'const'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:55: error: initializer expression list treated as compound expression [-fpermissive]
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:55: error: expected ',' or ';' before 'const'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:65: error: 'const char* std::ctype::scan_not' is not a static member of 'class std::ctype'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:65: error: 'mask' was not declared in this scope
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:65: error: expected primary-expression before 'const'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:65: error: expected primary-expression before 'const'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:65: error: initializer expression list treated as compound expression [-fpermissive]
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/arm-hisiv100-linux-uclibcgnueabi/bits/ctype_inline.h:65: error: expected ',' or ';' before 'const'
In file included from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/basic_ios.h:39,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/ios:45,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/istream:40,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/sstream:39,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/complex:47,
                 from /home/xh/opencv-2.4.9/modules/core/include/opencv2/core/core.hpp:59,
                 from /home/xh/opencv-2.4.9/modules/highgui/include/opencv2/highgui/highgui.hpp:46,
                 from /home/xh/opencv-2.4.9/modules/highgui/src/precomp.hpp:47,
                 from /home/xh/opencvbuild/modules/highgui/opencv_highgui_pch_dephelp.cxx:1:
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h: In function 'bool std::isspace(_CharT, const std::locale&)':
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:2522: error: 'space' is not a member of 'std::ctype_base'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h: In function 'bool std::isprint(_CharT, const std::locale&)':
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:2528: error: 'print' is not a member of 'std::ctype_base'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h: In function 'bool std::iscntrl(_CharT, const std::locale&)':
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:2534: error: 'cntrl' is not a member of 'std::ctype_base'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h: In function 'bool std::isupper(_CharT, const std::locale&)':
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:2540: error: 'upper' is not a member of 'std::ctype_base'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h: In function 'bool std::islower(_CharT, const std::locale&)':
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:2546: error: 'lower' is not a member of 'std::ctype_base'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h: In function 'bool std::isalpha(_CharT, const std::locale&)':
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:2552: error: 'alpha' is not a member of 'std::ctype_base'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h: In function 'bool std::isdigit(_CharT, const std::locale&)':
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:2558: error: 'digit' is not a member of 'std::ctype_base'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h: In function 'bool std::ispunct(_CharT, const std::locale&)':
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:2564: error: 'punct' is not a member of 'std::ctype_base'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h: In function 'bool std::isxdigit(_CharT, const std::locale&)':
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:2570: error: 'xdigit' is not a member of 'std::ctype_base'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h: In function 'bool std::isalnum(_CharT, const std::locale&)':
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:2576: error: 'alnum' is not a member of 'std::ctype_base'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h: In function 'bool std::isgraph(_CharT, const std::locale&)':
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/locale_facets.h:2582: error: 'graph' is not a member of 'std::ctype_base'
In file included from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/istream:830,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/sstream:39,
                 from /opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/complex:47,
                 from /home/xh/opencv-2.4.9/modules/core/include/opencv2/core/core.hpp:59,
                 from /home/xh/opencv-2.4.9/modules/highgui/include/opencv2/highgui/highgui.hpp:46,
                 from /home/xh/opencv-2.4.9/modules/highgui/src/precomp.hpp:47,
                 from /home/xh/opencvbuild/modules/highgui/opencv_highgui_pch_dephelp.cxx:1:
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/istream.tcc: In constructor 'std::basic_istream<_CharT, _Traits>::sentry::sentry(std::basic_istream<_CharT, _Traits>&, bool)':
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/istream.tcc:62: error: 'space' is not a member of 'std::ctype_base'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/istream.tcc: In function 'std::basic_istream<_CharT, _Traits>& std:perator>>(std::basic_istream<_CharT, _Traits>&, _CharT2*)':
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/istream.tcc:913: error: 'space' is not a member of 'std::ctype_base'
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/istream.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::ws(std::basic_istream<_CharT, _Traits>&)':
/opt/hisi-linux-nptl/arm-hisiv100-linux/bin/../lib/gcc/arm-hisiv100-linux-uclibcgnueabi/4.4.1/../../../../arm-hisiv100-linux-uclibcgnueabi/include/c++/4.4.1/bits/istream.tcc:959: error: 'space' is not a member of 'std::ctype_base'
make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui_pch_dephelp.dir/opencv_highgui_pch_dephelp.cxx.obj] 错误 1
make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui_pch_dephelp.dir/all] 错 误 2
make: *** [all] 错误 2
我来回答
回答6个
时间排序
认可量排序

david

39个粉丝

368

问答

253

专栏

229

资料

david 2015-11-10 19:57:51
认可0
arm-hisiv100nptl-linux-g++  
用这个。

ziyanmomo

0个粉丝

4

问答

0

专栏

0

资料

ziyanmomo 2016-02-01 15:28:38
认可0
问题出在Kernel版本太老,更新Kernel就编译过去了

Jiarong

0个粉丝

3

问答

0

专栏

0

资料

Jiarong 2016-08-23 11:25:20
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=25179&ptid=9241]ziyanmomo 发表于 2016-2-1 15:28[/url]
问题出在Kernel版本太老,更新Kernel就编译过去了[/quote]

您好,我也遇到了同样的问题,请问您的内核版本是多少呢,我是用虚拟机交叉编译的,是不是需要更新虚拟机的内核呢?

ziyanmomo

0个粉丝

4

问答

0

专栏

0

资料

ziyanmomo 2016-09-09 10:44:10
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=36500&ptid=9241]Jiarong 发表于 2016-8-23 11:25[/url]
您好,我也遇到了同样的问题,请问您的内核版本是多少呢,我是用虚拟机交叉编译的,是不是需要更新虚拟机 ...[/quote]


问题出在Kernel版本太老,更新Kernel就编译过去了

a554142589

0个粉丝

0

问答

0

专栏

0

资料

a554142589 2016-10-10 18:19:36
认可0
请问
这个编译器支持C++11吗

gc5218112

0个粉丝

0

问答

0

专栏

0

资料

gc5218112 2016-11-17 20:12:22
认可0
是不是opencv的版本太高??小白一枚
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区