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

get_driver_instance() function in Visual Studio 2017 (no replies)

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

Viewing all articles
Browse latest Browse all 527

Trending Articles



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