Building dies with a bunch of:
undefined reference to `tinyxml2...
Git Clone URL: | https://aur.archlinux.org/ignition-transport.git (read-only, click to copy) |
---|---|
Package Base: | ignition-transport |
Description: | The transport library combines ZeroMQ with Protobufs to create a fast and efficient message passing system. Asynchronous message publication and subscription is provided along with service calls and discovery. |
Upstream URL: | https://ignitionrobotics.org/libs/transport |
Licenses: | |
Groups: | |
Submitter: | bchretien |
Maintainer: | acxz |
Last Packager: | acxz |
Votes: | 12 |
Popularity: | 0.000001 |
First Submitted: | 2016-01-30 02:51 |
Last Updated: | 2020-12-09 23:28 |
Building dies with a bunch of:
undefined reference to `tinyxml2...
Development is on Github: https://github.com/acxz/pkgbuilds Please open issues and PRs there instead of commenting.
@joaocandre Go ahead and clean build all ignition-*
packages, specifically ignition-msgs
. That should fix it.
Suddenly I am encountering errors compiling this, apparently to recent protobuf
updates:
...
/usr/include/ignition/msgs4/ignition/msgs/actuators.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
17 | #error This file was generated by an older version of protoc which is
| ^~~~~
/usr/include/ignition/msgs4/ignition/msgs/actuators.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
18 | #error incompatible with your Protocol Buffer headers. Please
| ^~~~~
/usr/include/ignition/msgs4/ignition/msgs/actuators.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
19 | #error regenerate this file with a newer version of protoc.
| ^~~~~
...
No no not your fault, I was lazy and had only posted the warning on the ros-melodic-desktop-full
page since I didn't really think people would install this package on its own. I realize now that I should have posted the warning here as well.
EDIT: libpgm has been patched with the fix to the error.
@acxz Thanks for the fast response! Sorry for asking something that had a bug report.
I'm getting:
CMake Error in src/CMakeLists.txt:
Imported target "ZeroMQ::ZeroMQ" includes non-existent path
"/usr/lib/pgm-5.2/include"
in its INTERFACE_INCLUDE_DIRECTORIES.
Is that a problem with ZeroMQ or something that needs fix here?
@acxz Thanks. I'll report it upstream.
hmm, interesting. On my machine all the unit tests pass. I believe this issue would be better posted upstream directly to the ignition-transport repository.
Since this is a package and not development of ignition-transport I am fine with removing the unit testing.
EDIT: if you can post a link to the relevant upstream issue edited into your comment, that would be helpful for anyone else encountering the issue in the future.
I tried yay, it does almost gets installed.
But, my system keeps failing UNIT_ign_TEST. What's 'UNIT_ign_TEST'?
99% tests passed, 1 tests failed out of 90
Total Test time (real) = 508.42 sec
The following tests FAILED:
33 - UNIT_ign_TEST (Timeout)
Pinned Comments
acxz commented on 2020-02-03 02:19
Development is on Github: https://github.com/acxz/pkgbuilds Please open issues and PRs there instead of commenting.