This is the official SnapModbus repository starting with release 1.0.1.
Previous releases are available in the SourceForge repository.
The official site is still here, where you can find a lot of info.
To make downloading and compiling more efficient on different operating systems, the package has been split.
You will find the old folders as separate repositories, so you can download only what you are interested in.
This is the list:
| Folder | Repository |
|---|---|
| /SnapModbus/examples | SnapModbus.examples |
| /SnapModbus/LabVIEW | SnapModbus.LabVIEW |
| /SnapModbus/stress_test | SnapModbus.stress_test |
| /SnapModbus/tools | SnapModbus.tools |
in SnapModbus.tools you will find source code and binaries of WinBroker and WinDevice, here in /tools there are only binaries.
The /build/bin/win32 and /build/bin/win64 folders already contain the latest Windows DLLs (and .lib), ready to be used. For other (*nix) operating systems you need to compile SnapModbus to match your architecture, libc version, etc.
To do this you need the C++ toolchain, which is usually already included in the distribution.
Otherwise, for example on Linux, you can install it with:
sudo apt install build-essential
Download and unpack this repository in your home, or use git:
git clone https://github.com/davenardella/SnapModbus.git
Enter in the OS folder (SnapModbus/build/< your OS >/), then:
make [clean | all | install]
gmake [clean | all | install]
Note: install switch requires sudo
Open the Solution file (/build/windows/VSXXXX/snapmb.sln) with Visual Studio (Community Edition is free and fine) then build it.