【发布时间】:2014-03-23 00:36:59
【问题描述】:
我正在尝试通过 Visual Studio 2013 (MSVC-12.0) 构建 MySQL++ 库。我已经下载了“mysql++-3.2.1.tar.gz”并解压。然后我将“mysql-connector-c-6.1.3-win32\include\”路径添加到包含路径,并将“mysql-connector-c-6.1.3-win32\lib\”路径添加到 mysqlpp 项目的库路径在 mysql++ 解决方案中并尝试构建它:
error LNK2001: unresolved external symbol mysql_thread_init
error LNK2001: unresolved external symbol mysql_num_rows
error LNK2001: unresolved external symbol mysql_num_fields
etc
我还应该链接到该项目的哪些内容?我该如何解决?
【问题讨论】: