简体   繁体   中英

Linking error in connecting mysql with C++ VS2010

//#include <mysql.h>
#include "mysql_connection.h"
#include <cppconn/driver.h>
#include <cppconn/exception.h>
#include <cppconn/resultset.h>
#include <cppconn/statement.h>
#pragma comment(lib, "libmysql.lib")
#pragma comment(lib, "mysqlcppconn.lib")

Above are my libraries , i follow the step for configuration from here

here is my error :

在此处输入图片说明

为mysqlcppconn.lib添加项目“库目录”,请参见此处http://msdn.microsoft.com/en-us/library/vstudio/ee855621.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM