plugincpp icon indicating copy to clipboard operation
plugincpp copied to clipboard

记录一下编译过程,给其他人做个参考

Open camel007 opened this issue 4 years ago • 0 comments

gcc: 9.4 boost 1.75.0 ubuntu 14.04

改了几个地方:

  1. CMakeLists.txt 中target_link_libraries(plugin_app ${Boost_LIBRARIES}) 改为 target_link_libraries(plugin_app ${Boost_LIBRARIES} dl) 不然会出现dlopen系列为定义
  2. rest_rpc中 ./include/rest_rpc/rpc_client.hpp 207行
    ./include/rest_rpc/client_utls.hpp 3行
    ./include/rest_rpc/use_asio.hpp 34行 __cplusplus > 201402L 改为__cplusplus > 201703L

不同编译器可能有所不同

camel007 avatar Dec 21 '21 03:12 camel007