{"id":3324,"date":"2023-12-21T14:05:13","date_gmt":"2023-12-21T05:05:13","guid":{"rendered":"https:\/\/www.kdel.org\/wp\/?p=3324"},"modified":"2023-12-24T14:52:44","modified_gmt":"2023-12-24T05:52:44","slug":"warning_protobuf_comm","status":"publish","type":"post","link":"https:\/\/www.kdel.org\/wp\/?p=3324","title":{"rendered":"warning_protobuf_comm"},"content":{"rendered":"<p><mark><a href=\"https:\/\/www.kdel.org\/wp\/?p=3316\">Ubuntu 20.04\u3067\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\uff082023\/12\/20\u7248\uff09<\/a><\/mark>\u306b\u3066\uff0csrc\/libs \u306e\u3068\u3053\u308d\u3067warning_protobuf_comm \u306e\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u6b62\u307e\u308a\u307e\u3059\uff0e<br \/>\n\u904e\u53bb\u306ercll-refbox \u306e\u30bd\u30fc\u30b9\u3060\u3068\u901a\u308b\uff0e<\/p>\n<p>\u3088\u304f\u3088\u304f\u898b\u3066\u307f\u308b\u3068\uff0csrc\/libs \u306e\u4e0b\u306b\u3042\u3063\u305fprotobuf_comm \u304c\u306a\u304f\u306a\u3063\u3066\u3044\u308b\u2026\uff0e<br \/>\n\u3068\u3059\u308b\u3068\uff0c\u89e3\u306f\u4e8c\u3064\u8003\u3048\u3089\u308c\u3066\uff0c\u300cprotobuf_comm\u300d\u3092\u524a\u9664\u3057\u305f\u3051\u3069\uff0c\u3044\u304f\u3064\u304b\u306e\u5834\u6240\u306b\u4f9d\u5b58\u30c1\u30a7\u30c3\u30af\u306e\u30b4\u30df\u304c\u6b8b\u3063\u3066\u3044\u308b\u306e\u304b\uff0c\u9593\u9055\u3048\u3066protobuf_comm\u3092\u524a\u9664\u3057\u305f\u304b\u3089\u5fa9\u6d3b\u3055\u305b\u308b\u306e\u304b\u3000\u306b\u306a\u308b\u304b\u3068\u601d\u3044\u307e\u3059\uff0e<\/p>\n<p>\u307e\u305a\u306f\uff0cprotobuf_comm \u3092\u30b3\u30d4\u30fc\u3057\u3066\uff0cmake\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u304b\uff0e<br \/>\n\u2192\u3000\u307e\u3060\u30a8\u30e9\u30fc\u304c\u51fa\u308b\uff0e<\/p>\n<p>\/etc\/buildsys\/protobuf.mk \u3092\u6bd4\u8f03\u3057\u3066\u307f\u3088\u3046\u304b\uff0e<br \/>\n\u65b0\u3057\u3044\u65b9<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nPROTOBUF_PROTOC = protoc\r\n\r\nifneq ($(PKGCONFIG),)\r\n  HAVE_PROTOBUF_LIB = $(if $(shell $(PKGCONFIG) --exists 'protobuf'; echo $${?\/1\/}),1,0)\r\n  HAVE_PROTOBUF_COMP = $(if $(shell type -p $(PROTOBUF_PROTOC); echo $${?\/1\/}),1,0)\r\n  ifeq ($(HAVE_PROTOBUF_LIB)$(HAVE_PROTOBUF_COMP),11)\r\n    HAVE_PROTOBUF = 1\r\n  endif\r\nendif\r\n\r\nifeq ($(HAVE_PROTOBUF),1)\r\n  CFLAGS_PROTOBUF  = -DHAVE_PROTOBUF $(shell $(PKGCONFIG) --cflags 'protobuf')\r\n  LDFLAGS_PROTOBUF = $(shell $(PKGCONFIG) --libs 'protobuf')\r\n  HAVE_PROTOBUF_COMM = $(if $(shell $(PKGCONFIG) --exists 'protobuf_comm'; echo $${?\/1\/}),1,0)\r\n  CFLAGS_PROTOBUF_COMM = $(shell $(PKGCONFIG) --cflags 'protobuf_comm')\r\n  LDFLAGS_PROTOBUF_COMM = $(shell $(PKGCONFIG) --libs 'protobuf_comm')\r\n\r\n  PROTOBUF_LIBDIR = $(LIBDIR)\/protobuf\r\n  LIBDIRS_BASE += $(PROTOBUF_LIBDIR)\r\n\r\n<\/pre>\n<p>\u53e4\u3044\u65b9<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nifneq ($(PKGCONFIG),)\r\n  HAVE_PROTOBUF = $(if $(shell $(PKGCONFIG) --exists 'protobuf'; echo $${?\/1\/}),1,0)\r\nendif\r\n\r\nifeq ($(HAVE_PROTOBUF),1)\r\n  CFLAGS_PROTOBUF  = -DHAVE_PROTOBUF $(shell $(PKGCONFIG) --cflags 'protobuf')\r\n  LDFLAGS_PROTOBUF = $(shell $(PKGCONFIG) --libs 'protobuf')\r\n\r\n  PROTOBUF_PROTOC = protoc\r\n  PROTOBUF_LIBDIR = $(LIBDIR)\/protobuf\r\n  LIBDIRS_BASE += $(PROTOBUF_LIBDIR)\r\n<\/pre>\n<p>\u306a\u3093\u304b\uff0c\u9055\u3044\u307e\u3059\u306d\u3047\uff0e<br \/>\n\u53e4\u3044\u65b9\u306e\u74b0\u5883\u3067\u3082\uff0cpkg-config &#8211;cflags protobuf \u306f\u53cd\u5fdc\u3057\u307e\u3059\u304c\uff0cpkg-config &#8211;cflags protobuf_comm \u306f\uff0cnot found\u306b\u306a\u308a\u307e\u3059\u306d\uff0e<br \/>\n\u3068\u3059\u308b\u3068\uff0c\u4e0a\u8a18\u306eHAVE_PROTOBUF_COMM \u306e\u30d5\u30e9\u30b0\u306f\u4e0d\u8981\u304b\u306a\u3041\uff0e<br \/>\n\u53e4\u3044\u65b9\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066\u307f\u305f\u3051\u3069\uff0c\u3084\u3063\u3071\u308a\u6b62\u307e\u308a\u307e\u3059\u306d\uff0e<\/p>\n<p>\u3068\u3059\u308b\u3068\uff0cwarning_protobuf_comm \u3067\u6b62\u3081\u3066\u3044\u308b\u3068\u3053\u308d\u3092\u3064\u3076\u3057\u3066\u3044\u304f\u3068\u3057\u307e\u3059\u304b\uff0e<br \/>\n\u307e\u305a\u306f\uff0csrc\/libs\/logging\/Makefile<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n  ifneq ($(HAVE_PROTOBUF_COMM),1)\r\n    # WARN_TARGETS += warning_protobuf_comm\r\n  endif\r\n<\/pre>\n<p>\u3064\u3044\u3067\uff0c\/src\/libs\/protobuf_clips\u3082\u540c\u69d8\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n--&gt; Entering sub-directory mps_comm ---\r\n   --- Compiling opcua\/opc_utils.cpp (C++)\r\n\/home\/robotino\/rcll-refbox\/src\/libs\/mps_comm\/opcua\/opc_utils.cpp: In static member function \u2018static bool llsfrb::mps_comm::OpcUtils::logNodeInfo(OpcUa::Node, std::shared_ptr&lt;spdlog::logger&gt;, int, int)\u2019:\r\n\/home\/robotino\/rcll-refbox\/src\/libs\/mps_comm\/opcua\/opc_utils.cpp:606:56: error: \u2018streamed\u2019 is not a member of \u2018fmt\u2019\r\n  606 |   logger-&gt;info(&quot;{}&gt;{}&quot;, std::string(lvl&#x5B;0], ' '), fmt::streamed(node));\r\n      |                                                        ^~~~~~~~\r\n<\/pre>\n<p>\u3053\u306e\u30a8\u30e9\u30fc\u306f\uff0c<mark><a href=\"https:\/\/www.kdel.org\/wp\/?p=3229\">btr2023\u306e\u6e96\u5099\uff08gazebo\u3092\u52d5\u304b\u3059\u307e\u3067\u306e\u624b\u9806\uff09<\/a><\/mark>\u306b\u3042\u3063\u305f\u306e\u3067\uff0c\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n         === Linking lib libllsfrbwebview ---\r\n\/usr\/bin\/ld: cannot find -lllsfrblogging\r\n<\/pre>\n<p>\u3093\uff0e\u306a\u3093\u3060\u308d\uff0e\u3055\u3063\u304d\u306eloggin\u306e\u3068\u3053\u308d\u304b\u306a\u3041\uff0e<\/p>\n<p>\u4ed5\u65b9\u304c\u306a\u3044\uff0e\u9806\u756a\u306b\u8ffd\u3044\u304b\u3051\u3066\u307f\u308b\u304b\u2026\uff0e<br \/>\n\u3068\u308a\u3042\u3048\u305a\uff0c\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u53d6\u3063\u3066\u304d\u305f\u3089\uff0cmake\u306f\u901a\u308a\u307e\u3057\u305f\uff0e<br \/>\n\u624b\u5143\u306e\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\uff0c<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nryukoku@kwkm-System-Product-Name:~\/rcll-refbox$ git show\r\ncommit 1e90fa408a0c889f44aa9b635a1c6cd288b68474 (HEAD -&gt; master, origin\/master, origin\/HEAD)\r\nMerge: 051ba416 c87dc82c\r\nAuthor: Daniel Swoboda &lt;swoboda@kbsg.rwth-aachen.de&gt;\r\nDate:   Sat Apr 8 10:30:06 2023 +0200\r\n<\/pre>\n<p>\u3068\u306e\u3053\u3068\uff0e<br \/>\nCommits on Oct 30, 2023 \u306e 7f6e2d49de15023eed4abbef7abdc9f817fa5858 \u306f\uff0cmake\u304c\u901a\u3063\u305f\uff0e<br \/>\n\u305d\u306e\u6b21\u3042\u305f\u308a\u304b\u3089\u304cprotobuf\u95a2\u4fc2\u306e\u5909\u66f4\u3063\u307d\u3044\uff0e<br \/>\n\u3093\uff0e\u306a\u3093\u304b\uff0c\u6700\u65b0\u7248\u306e4\u3064\u624b\u524d\u307e\u3067\u30bb\u30fc\u30d5\u3063\u307d\u3044\uff1f<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncd ~\/rcll-refbox\r\ngit checkout d0bcd590ab140691645fe8b651a3d00afad39151\r\nmake clean all -j4\r\n<\/pre>\n<p>\u305d\u306e\u6b21\u306ea85a6806946a579460bd2b9c845ed3b56113340f \u3067\u30c0\u30e1\u306b\u306a\u3063\u305f\u3063\u307d\u3044\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nMerge pull request #179 from robocup-logistics\/tviehmann\/system-protobuf_comm\r\n\r\nswitch to system protobuf_comm\r\n@TarikViehmann\r\nTarikViehmann committed last month\r\n<\/pre>\n<p>\u3053\u308c\u3067\u3059\u306d\uff0e\u78ba\u304b\u306b\uff0c\u30b3\u30e1\u30f3\u30c8\u3082\u305d\u3093\u306a\u611f\u3058\u3067\u3059\u306d\uff0e\u30b7\u30b9\u30c6\u30e0\u306eprotobuf_comm\u306b\u5909\u66f4\u3057\u305f\u3063\u3066\u3055\u2026\uff0e<br \/>\nFedora\u3060\u3068\u3044\u3051\u308b\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3051\u3069\uff0cUbuntu 20.04\u3060\u3068\u30c0\u30e1\u3063\u3066\u3053\u3068\u304b\u306a\u3041\uff0e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu 20.04\u3067\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\uff082023\/12\/20\u7248\uff09\u306b\u3066\uff0csrc\/ &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.kdel.org\/wp\/?p=3324\"> <span class=\"screen-reader-text\">warning_protobuf_comm<\/span> \u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[3,2,26,9,24,6,8],"tags":[],"class_list":["post-3324","post","type-post","status-publish","format-standard","hentry","category-logistics-league","category-robocup","category-robotino-2","category-robotino-3","category-robotino-4","category-setting","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3324","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3324"}],"version-history":[{"count":6,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3324\/revisions"}],"predecessor-version":[{"id":3330,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3324\/revisions\/3330"}],"wp:attachment":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}