armink / EasyLogger

An ultra-lightweight(ROM<1.6K, RAM<0.3k), high-performance C/C++ log library. | 一款超轻量级(ROM<1.6K, RAM<0.3k)、高性能的 C/C++ 日志库
MIT License
3.78k stars 1.17k forks source link

EasyLogger Error: no such instruction: `wfi' #114

Open sychen12345 opened 2 years ago

sychen12345 commented 2 years ago

你好,博主,能否提供一个集成到cmake,自己的Linux项目的示例呀,我把你的.h 和.cpp都复制到我自己的项目里,然后用cmake编译就出现这种问题了。 Error: no such instruction: wfi' /home/chen/libevent_server/third_party/include/core_cm3.h:1212: Error: no such instruction:wfe' third_party/CMakeFiles/easylogger.dir/build.make:989: recipe for target 'third_party/CMakeFiles/easylogger.dir/src/stm32f10x_pwr.c.o' failed make[2]: *** [third_party/CMakeFiles/easylogger.dir/src/stm32f10x_pwr.c.o] Error 1 CMakeFiles/Makefile2:205: recipe for target 'third_party/CMakeFiles/easylogger.dir/all' failed

armink commented 2 years ago

linux 有现成的 demo 哈,你对着 Makefile 看下,文件很少的

sychen12345 commented 2 years ago

不是那个的问题

------------------ 原始邮件 ------------------ 发件人: "armink/EasyLogger" @.>; 发送时间: 2022年4月26日(星期二) 下午5:58 @.>; @.**@.>; 主题: Re: [armink/EasyLogger] EasyLogger Error: no such instruction: `wfi' (Issue #114)

linux 有现成的 demo 哈,你对着 Makefile 看下,文件很少的

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

sychen12345 commented 2 years ago

大佬,看错了,以为是我同事哈哈。。 请问下,我这边执行了文件之后,不输出到日志文件,这个问题应该怎么定位呀

------------------ 原始邮件 ------------------ 发件人: "armink/EasyLogger" @.>; 发送时间: 2022年4月26日(星期二) 下午5:58 @.>; @.**@.>; 主题: Re: [armink/EasyLogger] EasyLogger Error: no such instruction: `wfi' (Issue #114)

linux 有现成的 demo 哈,你对着 Makefile 看下,文件很少的

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>