|
-
February 2nd, 2012, 04:11 AM
#4
Re: MySQL/C++ SQLString.h missing
 Originally Posted by CodeCheck
Thank you for explaning this to me. However it now leaves me stuck as to how I am meant to connect C++ to MySQL...
It's not just a matter of getting a missing header file. You must make sure that you have set any required preprocessor symbols before you compile anything.
More than likely, that header file you received requires you to do something in advance that allows it to be used in a Visual C++ program. Usually there are preprocessor switches that you must set so that the source code doesn't take the wrong path of defining things that the compiler's headers have already defined.
In this case, the header believes that there is no stdint.h defined by your compiler, so defines its own version of int8_t. If you open that header, you will probably see #ifdef and #defines that makes sure that int8_t is defined only if a certain #define switch is set (or not set).
Regards,
Paul McKenzie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|