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

modbus.h #23

Open
Mathias-Jensen opened this issue Mar 17, 2022 · 3 comments
Open

modbus.h #23

Mathias-Jensen opened this issue Mar 17, 2022 · 3 comments

Comments

@Mathias-Jensen
Copy link

I keep getting a fault saying "modbus.h: No such file or directory". I can figure out that i have not linked something correctly but i am having a really hard time figuring out how to link the different libraries. I have also thought that it might be because my libmodbus is not in the correct location, but again i can not read from the documentation where it is supposed to be. Hope u can help me.

@William-Brumble
Copy link

I am trying to build a static library, and I am getting the same issue mentioned here.

@William-Brumble
Copy link

There is a modbus.h in libmodbus repository, I am thinking that's what it's looking for.

@William-Brumble
Copy link

The README states libmodbus as a dependency.
I built static libraries out of libmodbus, and libmodbuspp.
Afterward, I can include/link and build with them without issues.
Go here: https://github.com/stephane/libmodbus and build that bad boy.
IMO, it should be included in this repo, so users have everything they need.

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