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
Trying to build in VS Code on Windows 10. Dependencies seem to be taken care of, but seems like modbus-data.c can't find config.h which is one folder down libmodbus/src/win23. Anyone seen this?
running: "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\HostX64\x64\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "C:\Users\Documents\rust\libmodbus-rs\target\debug\build\libmodbus-sys-0a5670e46a85bade\out\include" "-I" "libmodbus/src" "-FoC:\Users\Documents\rust\libmodbus-rs\target\debug\build\libmodbus-sys-0a5670e46a85bade\out\build\libmodbus/src\modbus-data.o" "-c" "libmodbus/src\modbus-data.c"
modbus-data.c
libmodbus/src\modbus-data.c(24): fatal error C1083: Cannot open include file: 'config.h': No such file or directory
exit code: 2
--- stderr
error occurred: Command "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\HostX64\x64\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "C:\Users\Documents\rust\libmodbus-rs\target\debug\build\libmodbus-sys-0a5670e46a85bade\out\include" "-I" "libmodbus/src" "-FoC:\Users\Documents\rust\libmodbus-rs\target\debug\build\libmodbus-sys-0a5670e46a85bade\out\build\libmodbus/src\modbus-data.o" "-c" "libmodbus/src\modbus-data.c" with args "cl.exe" did not execute successfully (status code exit code: 2).
The text was updated successfully, but these errors were encountered:
Trying to build in VS Code on Windows 10. Dependencies seem to be taken care of, but seems like modbus-data.c can't find config.h which is one folder down libmodbus/src/win23. Anyone seen this?
running: "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\HostX64\x64\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "C:\Users\Documents\rust\libmodbus-rs\target\debug\build\libmodbus-sys-0a5670e46a85bade\out\include" "-I" "libmodbus/src" "-FoC:\Users\Documents\rust\libmodbus-rs\target\debug\build\libmodbus-sys-0a5670e46a85bade\out\build\libmodbus/src\modbus-data.o" "-c" "libmodbus/src\modbus-data.c"
modbus-data.c
libmodbus/src\modbus-data.c(24): fatal error C1083: Cannot open include file: 'config.h': No such file or directory
exit code: 2
--- stderr
error occurred: Command "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\HostX64\x64\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "C:\Users\Documents\rust\libmodbus-rs\target\debug\build\libmodbus-sys-0a5670e46a85bade\out\include" "-I" "libmodbus/src" "-FoC:\Users\Documents\rust\libmodbus-rs\target\debug\build\libmodbus-sys-0a5670e46a85bade\out\build\libmodbus/src\modbus-data.o" "-c" "libmodbus/src\modbus-data.c" with args "cl.exe" did not execute successfully (status code exit code: 2).
The text was updated successfully, but these errors were encountered: