Mazurel / Modbus

Modbus library for modern C++
MIT License
63 stars 15 forks source link

FATAL Error: poll.h: No such file or directory #4

Open RensA22 opened 1 year ago

RensA22 commented 1 year ago

When adding this library to my project like described in the Readme.md, i get the following error.

In file included from /home/bumblebee/dev/optimal-sensor/lib/Modbus/src/Serial/connection.cpp:5: /home/bumblebee/dev/optimal-sensor/lib/Modbus/include/MB/Serial/connection.hpp:15:10: fatal error: poll.h: No such file or directory 15 | #include

Mazurel commented 1 month ago

Weird, this should be part of Linux development headers.

Do you have this file on your system: /usr/include/poll.h ?