stephane / libmodbus

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

link error LNK2019 #637

Closed planetixin closed 2 years ago

planetixin commented 2 years ago

I don't know why but it returns errors like:

1>main.obj : error LNK2019: unresolved external symbol impmodbus_close referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol impmodbus_free referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol impmodbus_mapping_new referenced in function _main 1>main.obj : error LNK2019: unresolved external symbol impmodbus_new_tcp referenced in function _main

and I don't know why.

aLAN-LDZ commented 2 years ago

did you solve the problem? I have the same one and I can't deal with it

stephane commented 2 years ago

No answer from reporter.