AXERA-TECH/ax-samples

error of make(make的时候报错__float128)

Lennox7746 opened this issue · 0 comments

make
Consolidate compiler generated dependencies of target ax_imgproc
[ 1%] Building CXX object examples/ax650/CMakeFiles/ax_imgproc.dir/ax_imgproc_steps.cc.o
In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h:67,
from /opt/rh/devtoolset-7/root/usr/include/c++/7/numeric:61,
from /work/home/ysuanap86/project/ax-samples/examples/ax650/ax_imgproc_steps.cc:23:
/opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits:347:39: error: ‘__float128’ was not declared in this scope; did you mean ‘__Float16x8_t’?
347 | struct __is_floating_point_helper<__float128>
| ^~~~~~~~~~
| __Float16x8_t
/opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits:347:49: error: template argument 1 is invalid
347 | struct __is_floating_point_helper<__float128>
| ^
In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib:77,
from /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h:41,
from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h:6349,
from /opt/rh/devtoolset-7/root/usr/include/c++/7/string:52,
from /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept:39,
from /opt/rh/devtoolset-7/root/usr/include/c++/7/array:39,
from /work/home/ysuanap86/project/ax-samples/3rdparty/opencv-aarch64-linux/include/opencv4/opencv2/core/cvdef.h:781,
from /work/home/ysuanap86/project/ax-samples/3rdparty/opencv-aarch64-linux/include/opencv4/opencv2/core.hpp:52,
from /work/home/ysuanap86/project/ax-samples/3rdparty/opencv-aarch64-linux/include/opencv4/opencv2/opencv.hpp:52,
from /work/home/ysuanap86/project/ax-samples/examples/ax650/ax_imgproc_steps.cc:25:
/opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h:101:3: error: ‘__float128’ does not name a type; did you mean ‘_Float128’?
101 | __float128
| ^~~~~~~~~~
| _Float128
/work/home/ysuanap86/project/ax-samples/examples/ax650/ax_imgproc_steps.cc: In function ‘int main(int, char**)’:
/work/home/ysuanap86/project/ax-samples/examples/ax650/ax_imgproc_steps.cc:128:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
128 | for (size_t i = 0; i < repeat; i++)
| ~~^~~~~~~~
/work/home/ysuanap86/project/ax-samples/examples/ax650/ax_imgproc_steps.cc:148:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
148 | for (size_t i = 0; i < repeat; i++)
| ~~^~~~~~~~
/work/home/ysuanap86/project/ax-samples/examples/ax650/ax_imgproc_steps.cc:177:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
177 | for (size_t i = 0; i < repeat; i++)
| ~~^~~~~~~~
/work/home/ysuanap86/project/ax-samples/examples/ax650/ax_imgproc_steps.cc:207:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
207 | for (size_t i = 0; i < repeat; i++)
| ~~^~~~~~~~
/work/home/ysuanap86/project/ax-samples/examples/ax650/ax_imgproc_steps.cc:59:10: warning: unused variable ‘input_size_flag’ [-Wunused-variable]
59 | auto input_size_flag = utilities::parse_string(input_size_string, input_size);
| ^~~~~~~~~~~~~~~
make[2]: *** [examples/ax650/CMakeFiles/ax_imgproc.dir/build.make:76: examples/ax650/CMakeFiles/ax_imgproc.dir/ax_imgproc_steps.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:191: examples/ax650/CMakeFiles/ax_imgproc.dir/all] Error 2
make: *** [Makefile:136: all] Error 2