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

How to install? #2

Open
Bagunda opened this issue Oct 10, 2023 · 0 comments
Open

How to install? #2

Bagunda opened this issue Oct 10, 2023 · 0 comments

Comments

@Bagunda
Copy link

Bagunda commented Oct 10, 2023

root@homas:~/modbus-client-server# ls
LICENSE  README.md  inih  modbus-client.c  modbus-server.c  modbus-server.ini
root@homas:~/modbus-client-server# gcc inih/ini.c modbus-server.c -o modbus-server -std=gnu99 `mysql_config --cflags --libs` `pkg-config --libs --cflags libmodbus`
-bash: mysql_config: command not found
-bash: pkg-config: command not found
modbus-server.c:15:10: fatal error: mysql.h: No such file or directory
   15 | #include <mysql.h>
      |          ^~~~~~~~~
compilation terminated.
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