MySQL Forums
Forum List  »  Connector/C++

Re: MySQL Connector/C++ 1.1.1: Microsoft Visual Studio 2017 - Why doesnt it work ?
Posted by: Luis Silva
Date: February 15, 2019 12:33PM

Hi!

Getting you r code, and if all include paths are correct, just missing something here:

list<Schema> schemaList = mySession.getSchemas();

list is a std::list (or set above using namespace std; as for the mysqlx namespace) and need the #include <list>.

Also, keep in mind to ad the vs14/mysqlcppconn8.lib

Any doubt, please ask.

Cheers,
Luís

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySQL Connector/C++ 1.1.1: Microsoft Visual Studio 2017 - Why doesnt it work ?
596
February 15, 2019 12:33PM


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.