Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find config.h during build #19

Open
citizenanalog opened this issue Dec 20, 2023 · 0 comments
Open

Can't find config.h during build #19

citizenanalog opened this issue Dec 20, 2023 · 0 comments

Comments

@citizenanalog
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant