Skip to content
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

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

Open
AnlageM opened this issue Mar 2, 2022 · 1 comment

Comments

@AnlageM
Copy link

AnlageM commented Mar 2, 2022

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
Copy link

MagicBY commented Aug 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants