stephane / libmodbus

A Modbus library for Linux, Mac OS, FreeBSD and Windows
http://libmodbus.org
GNU Lesser General Public License v2.1
3.33k stars 1.71k forks source link

No lib file created with MSYS #75

Closed Magonline closed 12 years ago

Magonline commented 12 years ago

Hello, I'm trieing to use libmodbus library (3.0.3) in a Ansi C Visual Studio 2005 console application.

First I tried to simply include modbus.h into my projekt (using also stdint.h and inttypes.h). The Result were multiple compiler errors.

Then I tried to generate a Library with MinGW & MSYS using the comands "./configure", "make" and "make install" in the MSYS- Shell. The result was a dll called "libmodbus-5.dll" and some object files. Unfortunately there was no .lib file created to use the dll inside VS.

I'm not very familier with compiling issues, if anyone can help me using the libmodbus library in my project I would realy appreciate this. Thanks in advance Michael

stephane commented 12 years ago

The current stable version of libmodbus (3.0.X) isn't compatible with Visual Studio. An effort is on going on the master branch.