MySQL Forums
Forum List  »  Connector/C++

get_driver_instance() function in Visual Studio 2017
Posted by: Rafał Chrzanowski
Date: February 27, 2018 04:02PM

Hello and welcome,

I am using Visual Studio 2017 Community and I am trying to compile an example program, which features connector/c++.

I did everything from Developer Guide to make it work :
- Linked Boost libraries
- Linked Connector/C++ static library
- Switched from Debug to Release
- Installed binary (I really don't want to build from source unless I absolutly have to)

When I do all of this stuff and try to compile an example program, Visual Studio shows error:

1>MySQL test.obj : error LNK2001: unresolved external symbol _get_driver_instance

What can I do to make the program work?

Options: ReplyQuote


Subject
Views
Written By
Posted
get_driver_instance() function in Visual Studio 2017
1180
February 27, 2018 04:02PM


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.