-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in the boost library on teo-manipulation computer #8
Comments
You could set udev rules to avoid
Not sure how to confirm this now (here is the PPA anyway), but I have a feeling the libboost1.68-dev package you list in the install guide only contains common headers for all Boost libraries. Canonical's PPA makes a distinction between libboost-dev (just headers) and libboost-all-dev (headers + compiled binaries). Boost interdependencies may vary across releases, so with Boost 1.68 you could be missing some dependencies, perhaps Boost.System (ref), which is not the case with Boost 1.70. I'd suggest taking a closer look at your dependencies and what is installed by apt, anyway (ref). For instance, in openrave-yarp-plugins we compiled a list of required Boost libs and whether they are header-only or need binaries: ref. See also ref and ref.
"End of file" -> no more data to read from? You could wrap the relevant bits in your code in a try-catch block and see whether this error is fatal or just a random data drop for which a workaround could be arranged. |
Some notes to keep in mind: $ dpkg -s libboost-dev | grep Version
Version: 1.58.0.1ubuntu1 This does not allow the library to be compiled correctly, showing the following error: [ 3%] Building CXX object libraries/YarpPlugins/SoftNeckSensors/sensor-integration/CMakeFiles/SensorIntegration.dir/SensorIntegration.cpp.o
In file included from /home/teo/repos/humasoft/yarp-devices/libraries/YarpPlugins/SoftNeckSensors/sensor-integration/SensorIntegration.h:4:0,
from /home/teo/repos/humasoft/yarp-devices/libraries/YarpPlugins/SoftNeckSensors/sensor-integration/SensorIntegration.cpp:1:
/home/teo/repos/humasoft/yarp-devices/libraries/YarpPlugins/SoftNeckSensors/sensor-integration/SerialComm.h:51:5: error: ‘io_context’ does not name a type; did you mean ‘ucontext’?
io_context io; //Active I/0 Functions
^~~~~~~~~~
ucontext As I have investigated this is due to a name change in the interface with the update to boost 1.66. This is why version 1.58 can be considered deprecated. Finally, the most serious error, which was the program closing due to a communication failure, has been solved by connecting the IMU through a small USB extension cable to a separate port on the manipulation-pc, without going through the white HUB. I close the issue. |
We are having some errors that we do not know the cause of. In order to work with the 3DMGX510 sensor library we need to install the boost 1.68 library for serial communication. (The unused dependencies of the Qt Serial Port library are pending to be eliminated). For this, the steps documented here have been followed.
This installation has been done outside of the robot (both on my personal computer and on the humasoft test-computer) and there has been no problem. Instead, Teo's manipulation computer makes errors.
Problems found:
sudo
). This is a problem regardless of which computer it is used on.I've tried to do as much cleaning as possible of previous versions or libraries that may have been previously installed on this computer but this has not solved the error .
On computers outside of Teo, the test was made to install both version 1.68 and 1.70 and there was no error shown
The text was updated successfully, but these errors were encountered: