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