MySQL C API Header File Problems
I am currently an electrical engineering student and I am working on a project.
My background is more hardware, but I find myself currently doing some software work.
I need a C program to be able to read in values from a MySQL table on another machine. I have installed MySQL and used the MySQL header file.
“#include <mysql.h> ”
However, when I compile the program I receive a series of messages:
“Could not find sys/types.h Would you like to look for it?”
“Could not find features.h Would you like to look for it?”
“Could not find sys/cdefs.h Would you like to look for it?”
I went online and found .txt versions of many of these header files, but I think there must be an easier way to solve this problem. I have not been involved with software for quite some time and could use a little help.
Looked through some other threads but couldn't find anything. Any ideas on what I am doing wrong?
Regards - Robby