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
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