You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I compiled previous versions of libmodus (last 3.1.10) without any errors in my Virtual Windows Machine with MS Visual Studio Express 2008 SP1. But with the newest 3.1.11 I got these build errors:
libmodbus version
libmodbus-3.1.11
OS and/or distribution
Windows 10 (Virtual Machine VMware)
Environment
64 bit, Virtual Studio Express 2008 SP1
Description
I compiled previous versions of libmodus (last 3.1.10) without any errors in my Virtual Windows Machine with MS Visual Studio Express 2008 SP1. But with the newest 3.1.11 I got these build errors:
Sorry, its german:
1>modbus.c
1>..\modbus.c(927) : error C2143: Syntaxfehler: Es fehlt ';' vor 'Typ'
1>..\modbus.c(928) : error C2065: 'data': nichtdeklarierter Bezeichner
1>..\modbus.c(928) : error C2065: 'data': nichtdeklarierter Bezeichner
1>..\modbus.c(930) : error C2065: 'data': nichtdeklarierter Bezeichner
1>..\modbus.c(941) : error C2065: 'data': nichtdeklarierter Bezeichner
1>..\modbus.c(973) : error C2143: Syntaxfehler: Es fehlt ';' vor 'Typ'
1>..\modbus.c(975) : error C2065: 'data': nichtdeklarierter Bezeichner
1>modbus-tcp.c
1>..\modbus-tcp.c(522) : error C2065: 'EOVERFLOW': nichtdeklarierter Bezeichner
Translated:
Missing ; in row 927 in modbus.c: int data = (req[offset + 3] << 8) + req[offset + 4];
...
Undeclared identifier EOVERFLOW in modbus-tcp.c
See also my google groups entry, posted a week ago:
https://groups.google.com/g/libmodbus/c/XTiMoDFmNIM
Actual behavior if applicable
compiling errors
Expected behavior or suggestion
no errors
Steps to reproduce the behavior (commands or source code)
Follow these instructions:
https://github.com/stephane/libmodbus/wiki/Compile-dll-under-Windows-with-Visual-Studio-2008-Express
libmodbus output with debug mode enabled
needed?
The text was updated successfully, but these errors were encountered: