KITrobotics / ati_force_torque

11 stars 6 forks source link

Installation in Noetic: link to libmodbus and stropt.h no such file or directory #15

Open AnlageM opened 2 years ago

AnlageM commented 2 years ago

I have some problems with the installation in ROS Noetic, Ubuntu 20.04.

I installed the libmodbus library, both from binary or from souce, and configured and make install. Anyway, libmod library files could not be found by the compiler. Library .c and .h files weren't in /usr/include/libmodbus. I solved by manually copying the source files to the /usr/include/libmodbus directory and added find_library(libmodbus libmodbus.so.5.1.0 REQUIRED) to CMakeList.txt. Might this work in your opinion?

Now the compiler finds the libmodbus included files, but cant'find stropt.h. I found the occurrences of stropt.h here I installed all those packages but I am not able to link them to this package. Any suggestion?

Thank you!

MagicBY commented 3 months ago

Hi @AnlageM, I am encountering the same issue here in ROS Noetic, Ubuntu 20.04. Did you solve the problem? Thanks.