Open MaTightAss opened 2 years ago
I am trying to build a static library, and I am getting the same issue mentioned here.
There is a modbus.h in libmodbus repository, I am thinking that's what it's looking for.
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.
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.