MySQL Forums
Forum List  »  Connector/C (libmysql)

Windows C API Gives me compiler issues
Posted by: Daniel Brown
Date: July 03, 2014 09:10AM

Hello,

I am having issues updating to a newer version of the C API than what I am currently using.
I do not know exactly which version I am using now, except that I can compile it just fine and that it's copyrighted 2003.

I downloaded the 32-bit windows C API.
I am using it in a LabWindows CVI Project.

I included libmysql.lib and mysqlclient.lib in my project. I also included libmysql.dll.
I also included MySQL.h in my custom header file.

When I compile, I constantly get an error that it cannot find <sys/types.h> or <io.h> header files.
I believe this has to do with the MYSQL_ABI_CHECK not being defined.
My old MySQL.h does not have a MYSQL_ABI_CHECK, and thus is not an issue.

What is MYSQL_ABI_CHECK? How do I include/install it?

Can anyone suggest why I am having these issues? I have tried everything I can think of. Much appreciated.

Options: ReplyQuote


Subject
Views
Written By
Posted
Windows C API Gives me compiler issues
2221
July 03, 2014 09:10AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.