libmodbus icon indicating copy to clipboard operation
libmodbus copied to clipboard

Added support for Visual Studio 2017 and x64 compilation.

Open MikDal002 opened this issue 5 years ago • 3 comments

Today I have been working with libmodbus and i finished with x64 version of library. It's enough to build, but i'm not sure at this moment if it is working.

EDIT: To be clear: building ends successful (so VS2017's files are correct), I am not sure only about full correctness of builded x64 library – simple tests showed that it is working.

MikDal002 avatar Apr 26 '19 10:04 MikDal002

Excuse me,How to generate libmodbus Library of x64 compiler under VS2015 in Windows system

zky19960 avatar Aug 17 '19 01:08 zky19960

Anyone can tell me how to generates the libmodbus dll of x64,using Mingw-W64 or ATL Module with VS

zky19960 avatar Aug 19 '19 03:08 zky19960

The files contain many moving parts (unique numbers, version, paths and so on).

It is easier to provide the list of settings to use, isn't it?

For Visual Studio, set your platform to x64 and make sure your set these settings in the project property pages:

  • General / Project Defaults / Configuration Type, Dynamic Library (.dll)
  • Linker / Input / Additional Dependencies, ws2_32.lib

stephane avatar Aug 17 '22 13:08 stephane