git clone https://github.com/stephane/libmodbus.git
cd libmodbus
./autogen.sh
./configure
make
sudo make install
cd ..
https://github.com/epsilonrt/mbpoll
cd mbpoll
mkdir build
cd build
cmake ..
Last metadata expiration check: 4:40:42 ago on Tue 19 Nov 2024 08:48:53 AM CST.
No match for argument: libmodbus-dev
Error: Unable to find a match: libmodbus-dev
mkdir: cannot create directory ‘build’: File exists
-- Checking for module 'libmodbus>=3.1.4'
-- Package 'libmodbus', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:607 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)
CMakeLists.txt:61 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
git clone https://github.com/stephane/libmodbus.git
cd libmodbus
./autogen.sh
./configure
make
sudo make install
cd ..
https://github.com/epsilonrt/mbpoll
cd mbpoll
mkdir build
cd build
cmake ..
Last metadata expiration check: 4:40:42 ago on Tue 19 Nov 2024 08:48:53 AM CST.
No match for argument: libmodbus-dev
Error: Unable to find a match: libmodbus-dev
mkdir: cannot create directory ‘build’: File exists
-- Checking for module 'libmodbus>=3.1.4'
-- Package 'libmodbus', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:607 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)
CMakeLists.txt:61 (pkg_check_modules)
-- Configuring incomplete, errors occurred!