sychen
sychen
你好,博主,能否提供一个集成到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
When I try to use this example https://developers.eos.io/welcome/v2.0/tutorials/tic-tac-toe-game-smart-contract-single-node $ cleos wallet list Wallets: [ "local *" ] Excuse me, what is the reason
char *buf ; // test CURL *curl_handle = NULL; curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, buf); What should I write in this case ( curlpp ) Because I want to use the "buf" buffer