Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

Legacy C issue (1 reply)

$
0
0
I am trying to use the newest connector (8.0.19) to build legacy c programs. This is the CPP connector but documentation indicates that it can also be used to run legacy c programs although there is little or no documentation on how to do this.

What I've tried is to create a new c project in Xcode 11; add the header search path for the mysql connector includes (/usr/local/mysql-connector-c++-8.0.19/include) and then add the include reference:

#include <mysql/jdbc.h>

into my (empty) program. However build fails with error that <map> cannot be resolved. It's referenced in the included file ../jdbc/cppcon/connection.h

Is this supposed to work? If so, what are the appropriate includes.

thanks for any response

NOTE: I also filed a bug for this

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>