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.hhere
I installed all those packages but I am not able to link them to this package. Any suggestion?
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 ofstropt.h
here I installed all those packages but I am not able to link them to this package. Any suggestion?Thank you!