PaddlePaddle / Paddle-Lite

PaddlePaddle High Performance Deep Learning Inference Engine for Mobile and Edge (飞桨高性能深度学习端侧推理引擎)
https://www.paddlepaddle.org.cn/lite
Apache License 2.0
6.92k stars 1.6k forks source link

Intel NUC error #7564

Closed qdd1234 closed 6 months ago

qdd1234 commented 2 years ago

Hi, when I compile PaddleLite on Intel NUC device, I meet an error shown in the following picture, How can I solve it?

Error:

/home/robo/Paddle-Lite/lite/core/optimizer/mir/x86_int8_attribute_pass.cc: In member function ‘virtual void paddle::lite::mir::X86Int8AttributePass::Apply(const std::unique_ptr&)’: /home/robo/Paddle-Lite/lite/utils/log/logging.h:117:41: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 117 | #define CHECK_EQ(x, y) _CHECK_BINARY(x, ==, y) /home/robo/Paddle-Lite/lite/utils/log/logging.h:109:9: note: in definition of macro ‘CHECK’ 109 | if (!(x)) \ | ^ /home/robo/Paddle-Lite/lite/utils/log/logging.h:117:24: note: in expansion of macro ‘_CHECK_BINARY’ 117 | #define CHECK_EQ(x, y) _CHECK_BINARY(x, ==, y) | ^~~~~ /home/robo/Paddle-Lite/lite/core/optimizer/mir/x86_int8_attribute_pass.cc:62:9: note: in expansion of macro ‘CHECK_EQ’ 62 | CHECK_EQ(weight_scale.size(), out_channel) | ^~~~ [ 67%] Building CXX object lite/core/CMakeFiles/core.dir/optimizer/mir/xpu_pattern_matcher.cc.o [ 67%] Building CXX object lite/core/CMakeFiles/core.dir/optimizer/mir/xpu_pattern_matcher_high_api.cc.o [ 67%] Building CXX object lite/core/CMakeFiles/core.dir/optimizer/optimizer.cc.o [ 68%] Linking CXX static library libcore.a [ 68%] Built target core make[1]: [CMakeFiles/Makefile2:1955:lite/CMakeFiles/publish_inference.dir/rule] 错误 2 make: [Makefile:339:publish_inference] 错误 2

paddle-bot-old[bot] commented 2 years ago

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网文档常见问题历史Issue来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQ and Github Issue to get the answer.Have a nice day!