{"action":"created","issue":{"url":"https://api.github.com/repos/eProsima/Micro-XRCE-DDS/issues/14","repository_url":"https://api.github.com/repos/eProsima/Micro-XRCE-DDS","labels_url":"https://api.github.com/repos/eProsima/Micro-XRCE-DDS/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/eProsima/Micro-XRCE-DDS/issues/14/comments","events_url":"https://api.github.com/repos/eProsima/Micro-XRCE-DDS/issues/14/events","html_url":"https://github.com/eProsima/Micro-XRCE-DDS/issues/14","id":375658376,"node_id":"MDU6SXNzdWUzNzU2NTgzNzY=","number":14,"title":"Problem building on Ubuntu 18.04 ","user":{"login":"KurtE","id":1558080,"node_id":"MDQ6VXNlcjE1NTgwODA=","avatar_url":"https://avatars0.githubusercontent.com/u/1558080?v=4","gravatar_id":"","url":"https://api.github.com/users/KurtE","html_url":"https://github.com/KurtE","followers_url":"https://api.github.com/users/KurtE/followers","following_url":"https://api.github.com/users/KurtE/following{/other_user}","gists_url":"https://api.github.com/users/KurtE/gists{/gist_id}","starred_url":"https://api.github.com/users/KurtE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KurtE/subscriptions","organizations_url":"https://api.github.com/users/KurtE/orgs","repos_url":"https://api.github.com/users/KurtE/repos","events_url":"https://api.github.com/users/KurtE/events{/privacy}","received_events_url":"https://api.github.com/users/KurtE/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-30T19:35:12Z","updated_at":"2018-10-31T06:53:20Z","closed_at":null,"author_association":"NONE","body":"I have tried installing/building with the instructions up at:\r\nhttps://micro-xrce-dds.readthedocs.io/en/latest/installation.html\r\n\r\nIf I try building for both agent and client, the build fails with compile error. \r\n```\r\nkurt@kurt-Linux:~$ git clone --recursive https://github.com/eProsima/micro-XRCE-DDS.git\r\nCloning into 'micro-XRCE-DDS'...\r\nremote: Enumerating objects: 35, done.\r\nremote: Counting objects: 100% (35/35), done.\r\nremote: Compressing objects: 100% (27/27), done.\r\nremote: Total 152 (delta 13), reused 24 (delta 8), pack-reused 117\r\nReceiving objects: 100% (152/152), 284.11 KiB | 1020.00 KiB/s, done.\r\nResolving deltas: 100% (52/52), done.\r\nSubmodule 'agent' (https://github.com/eProsima/Micro-XRCE-DDS-Agent.git) registered for path 'agent'\r\nSubmodule 'client' (https://github.com/eProsima/Micro-XRCE-DDS-Client.git) registered for path 'client'\r\nSubmodule 'gen' (https://github.com/eProsima/Micro-XRCE-DDS-Gen.git) registered for path 'gen'\r\nCloning into '/home/kurt/micro-XRCE-DDS/agent'...\r\nremote: Enumerating objects: 59, done.        \r\nremote: Counting objects: 100% (59/59), done.        \r\nremote: Compressing objects: 100% (45/45), done.        \r\nremote: Total 5308 (delta 26), reused 33 (delta 12), pack-reused 5249        \r\nReceiving objects: 100% (5308/5308), 1.35 MiB | 927.00 KiB/s, done.\r\nResolving deltas: 100% (2999/2999), done.\r\nCloning into '/home/kurt/micro-XRCE-DDS/client'...\r\nremote: Enumerating objects: 216, done.        \r\nremote: Counting objects: 100% (216/216), done.        \r\nremote: Compressing objects: 100% (129/129), done.        \r\nremote: Total 6486 (delta 92), reused 143 (delta 63), pack-reused 6270        \r\nReceiving objects: 100% (6486/6486), 1.56 MiB | 935.00 KiB/s, done.\r\nResolving deltas: 100% (3751/3751), done.\r\nCloning into '/home/kurt/micro-XRCE-DDS/gen'...\r\nremote: Enumerating objects: 173, done.        \r\nremote: Counting objects: 100% (173/173), done.        \r\nremote: Compressing objects: 100% (78/78), done.        \r\nremote: Total 722 (delta 45), reused 139 (delta 27), pack-reused 549        \r\nReceiving objects: 100% (722/722), 245.23 KiB | 951.00 KiB/s, done.\r\nResolving deltas: 100% (276/276), done.\r\nSubmodule path 'agent': checked out '20241ba7709c5de663fc40a8bc7fa4e4140cf55c'\r\nSubmodule 'thirdparty/asio' (https://github.com/chriskohlhoff/asio.git) registered for path 'agent/thirdparty/asio'\r\nSubmodule 'thirdparty/fastcdr' (https://github.com/eProsima/Fast-CDR.git) registered for path 'agent/thirdparty/fastcdr'\r\nSubmodule 'thirdparty/fastrtps' (https://github.com/eProsima/Fast-RTPS.git) registered for path 'agent/thirdparty/fastrtps'\r\nCloning into '/home/kurt/micro-XRCE-DDS/agent/thirdparty/asio'...\r\nremote: Enumerating objects: 4, done.        \r\nremote: Counting objects: 100% (4/4), done.        \r\nremote: Total 45510 (delta 3), reused 3 (delta 3), pack-reused 45506        \r\nReceiving objects: 100% (45510/45510), 15.40 MiB | 930.00 KiB/s, done.\r\nResolving deltas: 100% (30520/30520), done.\r\nCloning into '/home/kurt/micro-XRCE-DDS/agent/thirdparty/fastcdr'...\r\nremote: Enumerating objects: 5, done.        \r\nremote: Counting objects: 100% (5/5), done.        \r\nremote: Compressing objects: 100% (5/5), done.        \r\nremote: Total 3370 (delta 0), reused 0 (delta 0), pack-reused 3365        \r\nReceiving objects: 100% (3370/3370), 3.45 MiB | 924.00 KiB/s, done.\r\nResolving deltas: 100% (1652/1652), done.\r\nCloning into '/home/kurt/micro-XRCE-DDS/agent/thirdparty/fastrtps'...\r\nremote: Enumerating objects: 1179, done.        \r\nremote: Counting objects: 100% (1179/1179), done.        \r\nremote: Compressing objects: 100% (526/526), done.        \r\nremote: Total 51049 (delta 696), reused 957 (delta 563), pack-reused 49870        \r\nReceiving objects: 100% (51049/51049), 68.72 MiB | 598.00 KiB/s, done.\r\nResolving deltas: 100% (34013/34013), done.\r\nSubmodule path 'agent/thirdparty/asio': checked out '230c0d2ae035c5ce1292233fcab03cea0d341264'\r\nSubmodule path 'agent/thirdparty/fastcdr': checked out 'c690b15e6670de46104ebacad7a2cb067b996c6c'\r\nSubmodule path 'agent/thirdparty/fastrtps': checked out 'd52a4a94e29cf50033bb74ae9d49cb4d1a98acee'\r\nSubmodule 'thirdparty/android-ifaddrs' (https://github.com/michalsrb/android-ifaddrs.git) registered for path 'agent/thirdparty/fastrtps/thirdparty/android-ifaddrs'\r\nSubmodule 'thirdparty/asio' (https://github.com/chriskohlhoff/asio.git) registered for path 'agent/thirdparty/fastrtps/thirdparty/asio'\r\nSubmodule 'thirdparty/fastcdr' (https://github.com/eProsima/Fast-CDR.git) registered for path 'agent/thirdparty/fastrtps/thirdparty/fastcdr'\r\nSubmodule 'thirdparty/idl' (https://github.com/eProsima/IDL-Parser.git) registered for path 'agent/thirdparty/fastrtps/thirdparty/idl'\r\nSubmodule 'thirdparty/tinyxml2' (https://github.com/leethomason/tinyxml2.git) registered for path 'agent/thirdparty/fastrtps/thirdparty/tinyxml2'\r\nCloning into '/home/kurt/micro-XRCE-DDS/agent/thirdparty/fastrtps/thirdparty/android-ifaddrs'...\r\nremote: Enumerating objects: 40, done.        \r\nremote: Total 40 (delta 0), reused 0 (delta 0), pack-reused 40        \r\nCloning into '/home/kurt/micro-XRCE-DDS/agent/thirdparty/fastrtps/thirdparty/asio'...\r\nremote: Enumerating objects: 4, done.        \r\nremote: Counting objects: 100% (4/4), done.        \r\nremote: Total 45510 (delta 3), reused 3 (delta 3), pack-reused 45506        \r\nReceiving objects: 100% (45510/45510), 15.40 MiB | 475.00 KiB/s, done.\r\nResolving deltas: 100% (30520/30520), done.\r\nCloning into '/home/kurt/micro-XRCE-DDS/agent/thirdparty/fastrtps/thirdparty/fastcdr'...\r\nremote: Enumerating objects: 5, done.        \r\nremote: Counting objects: 100% (5/5), done.        \r\nremote: Compressing objects: 100% (5/5), done.        \r\nremote: Total 3370 (delta 0), reused 0 (delta 0), pack-reused 3365        \r\nReceiving objects: 100% (3370/3370), 3.45 MiB | 460.00 KiB/s, done.\r\nResolving deltas: 100% (1652/1652), done.\r\nCloning into '/home/kurt/micro-XRCE-DDS/agent/thirdparty/fastrtps/thirdparty/idl'...\r\nremote: Enumerating objects: 57, done.        \r\nremote: Counting objects: 100% (57/57), done.        \r\nremote: Compressing objects: 100% (45/45), done.        \r\nremote: Total 1317 (delta 17), reused 24 (delta 1), pack-reused 1260        \r\nReceiving objects: 100% (1317/1317), 326.41 KiB | 471.00 KiB/s, done.\r\nResolving deltas: 100% (514/514), done.\r\nCloning into '/home/kurt/micro-XRCE-DDS/agent/thirdparty/fastrtps/thirdparty/tinyxml2'...\r\nremote: Enumerating objects: 9, done.        \r\nremote: Counting objects: 100% (9/9), done.        \r\nremote: Compressing objects: 100% (9/9), done.        \r\nremote: Total 3596 (delta 2), reused 4 (delta 0), pack-reused 3587        \r\nReceiving objects: 100% (3596/3596), 2.65 MiB | 501.00 KiB/s, done.\r\nResolving deltas: 100% (2325/2325), done.\r\nSubmodule path 'agent/thirdparty/fastrtps/thirdparty/android-ifaddrs': checked out '7b1ce82817226e481d3cda0a5d06b66ebcc211f8'\r\nSubmodule path 'agent/thirdparty/fastrtps/thirdparty/asio': checked out 'b3d2ab7255fabe46a49b24a584c9fd797c8248e5'\r\nSubmodule path 'agent/thirdparty/fastrtps/thirdparty/fastcdr': checked out 'd998f853376bce42f15f10e565fca6d5e1839bdd'\r\nSubmodule path 'agent/thirdparty/fastrtps/thirdparty/idl': checked out '5256a902ffc94617480a5f769849f12deed06e79'\r\nSubmodule path 'agent/thirdparty/fastrtps/thirdparty/tinyxml2': checked out '8c8293ba8969a46947606a93ff0cb5a083aab47a'\r\nSubmodule path 'client': checked out 'c4dc2190103a01a64824f3f96197aa7fb835023e'\r\nSubmodule 'thirdparty/microcdr' (https://github.com/eProsima/micro-CDR.git) registered for path 'client/thirdparty/microcdr'\r\nCloning into '/home/kurt/micro-XRCE-DDS/client/thirdparty/microcdr'...\r\nremote: Enumerating objects: 44, done.        \r\nremote: Counting objects: 100% (44/44), done.        \r\nremote: Compressing objects: 100% (33/33), done.        \r\nremote: Total 1369 (delta 17), reused 23 (delta 7), pack-reused 1325        \r\nReceiving objects: 100% (1369/1369), 618.58 KiB | 467.00 KiB/s, done.\r\nResolving deltas: 100% (739/739), done.\r\nSubmodule path 'client/thirdparty/microcdr': checked out '2f438e2faf08da12a6481efd164020fc33a7e559'\r\nSubmodule path 'gen': checked out '2df753e10b0397bdac556729861e5a4de6043bf9'\r\nSubmodule 'thirdparty/IDL-Parser' (https://github.com/eProsima/IDL-Parser.git) registered for path 'gen/thirdparty/IDL-Parser'\r\nCloning into '/home/kurt/micro-XRCE-DDS/gen/thirdparty/IDL-Parser'...\r\nremote: Enumerating objects: 57, done.        \r\nremote: Counting objects: 100% (57/57), done.        \r\nremote: Compressing objects: 100% (45/45), done.        \r\nremote: Total 1317 (delta 17), reused 24 (delta 1), pack-reused 1260        \r\nReceiving objects: 100% (1317/1317), 326.41 KiB | 470.00 KiB/s, done.\r\nResolving deltas: 100% (514/514), done.\r\nSubmodule path 'gen/thirdparty/IDL-Parser': checked out '9e36ac4b18c8083ac7106761a8a6e908e04ae458'\r\nkurt@kurt-Linux:~$ git clone --recursive https://github.com/eProsima/micro-XRCE-DDS.git\r\nfatal: destination path 'micro-XRCE-DDS' already exists and is not an empty directory.\r\nkurt@kurt-Linux:~$ cd micro-XRCE-DDS/\r\nkurt@kurt-Linux:~/micro-XRCE-DDS$ mkdir build\r\nkurt@kurt-Linux:~/micro-XRCE-DDS$ cd build\r\nkurt@kurt-Linux:~/micro-XRCE-DDS/build$ cmake -DTHIRDPARTY=ON ..\r\n-- The C compiler identification is GNU 7.3.0\r\n-- The CXX compiler identification is GNU 7.3.0\r\n-- Check for working C compiler: /usr/bin/cc\r\n-- Check for working C compiler: /usr/bin/cc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Check for working CXX compiler: /usr/bin/c++\r\n-- Check for working CXX compiler: /usr/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\n-- fastcdr library found...\r\n-- fastrtps library found...\r\n-- Found Asio: /home/kurt/micro-XRCE-DDS/agent/thirdparty/asio/asio/include  \r\n-- microcdr thirdparty is being updated...\r\n-- Check if the system is big endian\r\n-- Searching 16 bit integer\r\n-- Looking for sys/types.h\r\n-- Looking for sys/types.h - found\r\n-- Looking for stdint.h\r\n-- Looking for stdint.h - found\r\n-- Looking for stddef.h\r\n-- Looking for stddef.h - found\r\n-- Check size of unsigned short\r\n-- Check size of unsigned short - done\r\n-- Using unsigned short\r\n-- Check if the system is big endian - little endian\r\n-- microcdr library found...\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /home/kurt/micro-XRCE-DDS/build\r\nkurt@kurt-Linux:~/micro-XRCE-DDS/build$ make\r\nScanning dependencies of target microxrcedds_agent\r\n[  1%] Building CXX object agent/CMakeFiles/microxrcedds_agent.dir/src/cpp/Root.cpp.o\r\n[  3%] Building CXX object agent/CMakeFiles/microxrcedds_agent.dir/src/cpp/processor/Processor.cpp.o\r\n[  4%] Building CXX object agent/CMakeFiles/microxrcedds_agent.dir/src/cpp/client/ProxyClient.cpp.o\r\n[  6%] Building CXX object agent/CMakeFiles/microxrcedds_agent.dir/src/cpp/participant/Participant.cpp.o\r\n/home/kurt/micro-XRCE-DDS/agent/src/cpp/participant/Participant.cpp: In member function ‘virtual bool eprosima::uxr::Participant::matched(const dds::xrce::ObjectVariant&) const’:\r\n/home/kurt/micro-XRCE-DDS/agent/src/cpp/participant/Participant.cpp:152:43: error: no match for ‘operator==’ (operand types are ‘eprosima::fastrtps::ParticipantAttributes’ and ‘const eprosima::fastrtps::ParticipantAttributes’)\r\n     return parser_cond && (new_attributes == old_attributes);\r\n                            ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~\r\nagent/CMakeFiles/microxrcedds_agent.dir/build.make:134: recipe for target 'agent/CMakeFiles/microxrcedds_agent.dir/src/cpp/participant/Participant.cpp.o' failed\r\nmake[2]: *** [agent/CMakeFiles/microxrcedds_agent.dir/src/cpp/participant/Participant.cpp.o] Error 1\r\nCMakeFiles/Makefile2:124: recipe for target 'agent/CMakeFiles/microxrcedds_agent.dir/all' failed\r\nmake[1]: *** [agent/CMakeFiles/microxrcedds_agent.dir/all] Error 2\r\nMakefile:129: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\nkurt@kurt-Linux:~/micro-XRCE-DDS/build$ ^C\r\nkurt@kurt-Linux:~/micro-XRCE-DDS/build$ \r\n```\r\nI have tried this on two different machines/boards.  My old desktop computer and an UP board (both 64 bit Ubuntu 18.04.1 installs "},"comment":{"url":"https://api.github.com/repos/eProsima/Micro-XRCE-DDS/issues/comments/434580486","html_url":"https://github.com/eProsima/Micro-XRCE-DDS/issues/14#issuecomment-434580486","issue_url":"https://api.github.com/repos/eProsima/Micro-XRCE-DDS/issues/14","id":434580486,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDU4MDQ4Ng==","user":{"login":"julianbermudez","id":34604561,"node_id":"MDQ6VXNlcjM0NjA0NTYx","avatar_url":"https://avatars1.githubusercontent.com/u/34604561?v=4","gravatar_id":"","url":"https://api.github.com/users/julianbermudez","html_url":"https://github.com/julianbermudez","followers_url":"https://api.github.com/users/julianbermudez/followers","following_url":"https://api.github.com/users/julianbermudez/following{/other_user}","gists_url":"https://api.github.com/users/julianbermudez/gists{/gist_id}","starred_url":"https://api.github.com/users/julianbermudez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julianbermudez/subscriptions","organizations_url":"https://api.github.com/users/julianbermudez/orgs","repos_url":"https://api.github.com/users/julianbermudez/repos","events_url":"https://api.github.com/users/julianbermudez/events{/privacy}","received_events_url":"https://api.github.com/users/julianbermudez/received_events","type":"User","site_admin":false},"created_at":"2018-10-31T06:53:20Z","updated_at":"2018-10-31T06:53:20Z","author_association":"CONTRIBUTOR","body":"Hi @KurtE,\r\n\r\nI seems that you have already a Fast RTPS distribution installed in your machine, but the `operator==` has been implemented later. You can try to uninstall Fast RTPS and install it with `-DTHIRDPARTY=ON` from Micro XRCE-DDS."}}
{"actor":{"display_login":"julianbermudez"}}