Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all 529 articles
Browse latest View live

Connector doesn't work (no replies)

$
0
0
Hello! I just started to code database manager to my project and I got problem. System is crashing when I try to create my database manager object. I tried to debug program and I found somethgin really wierd.

I have included all the headers and linked libraries so code goes throught the compiler.

Here is how I define driver and connection pointers:

sql::Driver* mSqlDriver;
sql::Connection* mSqlConnection;

I am initing driver this way:
void DatabaseManager::init()
{
mSqlDriver = get_driver_instance();
}

After I use my database manager method "connectPlug" the program crashes.

Here is the whole method:
void DatabaseManager::connectPlug()
{
if(isConnected == false)
{
mSqlConnection = mSqlDriver->connect("tcp://127.0.0.1:3306", "root", "asdfgh");
//mSqlConnection->createDatabase("DB_createdfromCpp");
}
else
{
OutputManager::getSingletonPtr()->writeToRunLog("System is already plugged to database!");
}
}

Debugger gives error message "Unhandled exception at 0x7855b690 in FPS login server.exe: 0xC0000005: Access violation reading location 0xcccccccc."

If I don't use the connect method and I close my program by pressing X to close my window, the program freezes for a short time and then there comes an error message of windows. If I comment those lines where I am getting driver and connection, the program works well. So what could be the problem? I tried to watch
some examples and they are doing same way. I am using VC2008 and I've linked connector dynamically (I have all the DLLs at the run directory).

link error only in release mode with Visual Studio 2008 (no replies)

$
0
0
Once again, a link error with an undefined symbol. I read the other reports, and mine looks different. The error message is the following:

1>Linking...
1> Creating library z:\PCdev\RepliKator2004\RK_Demo_2004\plugins\RepliKator04.bundle\contents\windows\RepliKator04.lib and object z:\PCdev\RepliKator2004\RK_Demo_2004\plugins\RepliKator04.bundle\contents\windows\RepliKator04.exp
1>RKConnector.obj : error LNK2001: unresolved external symbol __imp__sql_mysql_get_driver_instance@0


The interesting point is that the Debug version links just fine.

The Release version is set the same as the Debug version, except that the "Additional Library Directories" setting in the "Linker>General" property pane points to the release version of Connector/C++.

The release version of Connector/C++ was built following the build instructions and using the "Release" configuration of the project.

I am using Connector/C++ version 1.1.

My project is not an application, but a plugin for a third-party app.

In both Debug and Release mode, I use the default built version which I believe is the DLL version, not the static library version.

I really don't know how to approach this issue. I am definitely *not* a Windows developer, though I now have to do that job.


Any help or suggestion?

Thanks a million,


Jean-Denis

character set (no replies)

$
0
0
Hi,

I'm relatively new to mysql and the Connector/C++.
I'm using MySQL 5.1.45 with MySQL Connector C++ 1.0.5. I do compile under VC++.

I've created with no options database: d;
I've created a table with no options: t with only field f varchar(1);

I've created my program as follows:
string SQL = "INSERT INTO T1(f) VALUES(?)";
prep_stmt = con -> prepareStatement (SQL);
prep_stmt -> setString (1, "e");
int updatecount = prep_stmt -> executeUpdate();

And it works great.
Then I change
prep_stmt -> setString (1, "é"); // E with an accent...
and the execute update fails.

if I start the mysql prompt and do the insert statement it works fine.

Windows is using the latin1 characterset and mysql is using utf, so... I tried to change my table to use latin1, but still it fails.

Since I don't have to tell mysql what my characterset is when I connect, I think it expects unicode.

But I hope that I can tell in my C++ program that the data it get's is latin1 and that the table remains unicode. If not has anyone any idea on what is the best approach in this?

Thanks in advance,
Freek

- (no replies)

$
0
0
< fixed my problem already don't need help any more>

Xcode Connector/C++ problem (no replies)

$
0
0
I'm new to mysql and was looking to learn/play around with c++ and mysql. I'm running
-mysql-5.1.45-osx 10.5-x86_64
- The include files are located in usr/local/mysql-5.1.45-osx10.5-x86-64
-mysql-connector-c++-10.5-osx10.5-x86-64bit
- The include and lib files are located in usr/local/mysql/include and usr/local/mysql/lib

-Mac OSX 10.6 (snow leopard)
-Xcode 3


I’ve been researching this issue for a few days and found others with the same problem but none of their solutions resolved mine and I can’t seem to figure out why.

I do the following.
1) Create new Carbon C++ Application
2) Add all the header files from usr/local/mysql/include and usr/local/mysql/include/cppconn into the project
3) Add all the libraries from usr/local/mysql/lib to target/testproject/Link Binary with Libraries
4) Modified the project settings by highlighting the project then clicking info as follows
- Added to Search Paths “Header Search Paths”
* usr/local/mysql-5.1.45-osx10.5-x86-64/include/**
* usr/local/mysql/include/**
- Added to Search Paths “Library Search Paths”
* usr/local/mysql-5.1.45-osx10.5-x86-64/lib/**
* usr/local/mysql/lib/**
-Under linking “Other Linker Flags” I’ve done a number of things here to be honest I’m not sure really what to do here.
* -lmysqlclient –lm –lz

My code looks as follows (I’ve omitted the default code that xcode adds when you create a carbon c++ application):

#include <Carbon/Carbon.h>
#include <TApplication.h>
#include “TWindow.h”
#include <sstream>
#include <memory >
#include <string>
#include <stdexcept>


#include <driver.h>
#include <connection.h>
#include <statement.h>
#include <prepared_statement.h>
#include <resultset.h>
#include <metadata.h>
#include <resultset_metadata.h>
#include <exception.h>
#include <warning.h>

Using namespace std;
Using namespace sql;


int main(int argc, const char *argv[]) {

Driver *driver;
try {
driver = get_driver_instance();
}
catch(SQLException &e){
cout<<”SQL Exception: ”<<e.what();
}
catch(runtime_error &e){
cout<<”Runtime Exception: ”<<e.what();
}
return 0;
}


The error message I receive when I build and run is below. So I was wondering if anyone who familiar with this issue or has successfully connected to a mysql database via c++ and xcode could help me out tell me what I’m doing wrong. Thanks in advance.

“_get_driver_instance”,referenced from:
_main in main.o
Symbol(s) not found
Collect2:Id returned 1 exit status

Xcode C++ connector problem (-1 replies)

Retrieving UTF8 strings from DB (1 reply)

$
0
0
Hello,
I need to use ms vc++ with connector/c++. I can't, hovewer, get any utf8 string out of the db succesfully. Can someone point out to me what am i doing wrong or what could be missing in my approach?

First of all, my win32 app is unicode, i thought since my db is utf8 - unicode is the appropriate thing. I already wrote a function that converts e.g. mysql error messages to wchar_t* using mbstowcs_s.

When it came to converting actual string field data though, i saw that getString.c_str() points to a string which contains two-byte garbage in place of e.g. french or polish character. I thought _mbstrlen would count them properly, but no, it counts any multibyte character as two characters. Then i thought maybe mbstowcs_s would "glue" together these two bytes, but no, it treats them as two distinct characters.

What can i do to properly handle utf8 strings? Database must stay utf8 and i am already doing SET NAMES UTF8, which did not change a thing. Please assist.

Connector C++ with Visual Studio gives a memory access error (no replies)

$
0
0
Hi, I am trying to connect to my mysql database with a widow client using Visual Studio. Even if I follow every step of the tutorial: http://blog.ulf-wendel.de/?p=215
I get a memory access error. The error occurs the moment connect(....) is called.
I am thankful for any hint!!


Unbehandelte Ausnahme bei 0x7855b9f0 in Datenbanktest.exe: 0xC0000005: Zugriffsverletzung beim Lesen an Position 0xcccccccc.

mysql_connection.h causes "invalid covariant return type for..." during compile (no replies)

$
0
0
****EDIT: Nevermind for some reason I had put "mysql_connection.h" in my working directory. The problem we resolved when I removed it.






I am using Eclipse SDK 3.5.1 in Ubuntu 9.10 to invoke gcc 4.4.1 compile my code. I have compiled/installed boost 1.43.0 and mysql-connector-c++ 1.1.0~r791 (from source, not binary). I have linked to the mysqlcppconn library.

The error is coming from the "mysql_connection.h" file but here is the what I am trying to compile:

---code-------------------------------------------------
/*
* mtest.cpp
*
* Created on: Jun 4, 2010
* Author: aekholm
*/

#include <stdlib.h>
#include <iostream>
#include <sstream>
#include <stdexcept>

#include "mysql_connection.h"

#include <cppconn/driver.h>
#include <cppconn/exception.h>
#include <cppconn/resultset.h>
#include <cppconn/statement.h>
#include <cppconn/prepared_statement.h>

#define EXAMPLE_HOST "localhost"
#define EXAMPLE_USER "root"
#define EXAMPLE_PASS "password"
#define EXAMPLE_DB "world"

using namespace std;

int main(int argc, const char **argv) {

string url(argc >= 2 ? argv[1] : EXAMPLE_HOST);
const string user(argc >= 3 ? argv[2] : EXAMPLE_USER);
const string pass(argc >= 4 ? argv[3] : EXAMPLE_PASS);
const string database(argc >= 5 ? argv[4] : EXAMPLE_DB);

cout << "Connector/C++ tutorial framework..." << endl;
cout << endl;

try {

sql::Driver* driver = get_driver_instance();
std::auto_ptr<sql::Connection> con(driver->connect(url, user, pass));
con->setSchema(database);
std::auto_ptr<sql::Statement> stmt(con->createStatement());

stmt->execute("CALL get_pop(\"Uganda\", @pop)");

std::auto_ptr<sql::ResultSet> res(stmt->executeQuery(
"SELECT @pop AS _reply"));
while (res->next())
cout << "Population of Uganda: " << res->getString("_reply")
<< endl;

stmt->execute("CALL get_pop_continent(\"Asia\", @pop)");

res.reset(stmt->executeQuery("SELECT @pop AS _reply"));
while (res->next())
cout << "Population of Asia: " << res->getString("_reply") << endl;

stmt->execute("CALL get_world_pop(@pop)");

res.reset(stmt->executeQuery("SELECT @pop AS _reply"));
while (res->next())
cout << "Population of World: " << res->getString("_reply") << endl;

} catch (sql::SQLException &e) {
/*
The MySQL Connector/C++ throws three different exceptions:

- sql::MethodNotImplementedException (derived from sql::SQLException)
- sql::InvalidArgumentException (derived from sql::SQLException)
- sql::SQLException (derived from std::runtime_error)
*/
cout << "# ERR: SQLException in " << __FILE__;
cout << "(" << __FUNCTION__ << ") on line " << __LINE__ << endl;
/* Use what() (derived from std::runtime_error) to fetch the error message */
cout << "# ERR: " << e.what();
cout << " (MySQL error code: " << e.getErrorCode();
cout << ", SQLState: " << e.getSQLState() << " )" << endl;

return EXIT_FAILURE;
}
}

--/code-------------------------------------------------





Here is the console output:

---console-----------------------------------------------

**** Build of configuration Debug for project mysql_test ****

make all
Building file: ../mtest.cpp
Invoking: GCC C++ Compiler
g++ -I/usr/include/mysql -I/usr/local/src/boost/ -I/usr/local/src/mysql-connector-c++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"mtest.d" -MT"mtest.d" -o"mtest.o" "../mtest.cpp"
In file included from ../mtest.cpp:13:
../mysql_connection.h:34: error: invalid covariant return type for ‘virtual std::string sql::mysql::MySQL_Savepoint::getSavepointName()’
/usr/local/src/mysql-connector-c++/cppconn/connection.h:53: error: overriding ‘virtual sql::SQLString sql::Savepoint::getSavepointName()’
../mysql_connection.h:67: error: invalid covariant return type for ‘virtual std::string sql::mysql::MySQL_Connection::getCatalog()’
/usr/local/src/mysql-connector-c++/cppconn/connection.h:78: error: overriding ‘virtual sql::SQLString sql::Connection::getCatalog()’
../mysql_connection.h:69: error: invalid covariant return type for ‘virtual std::string sql::mysql::MySQL_Connection::getSchema()’
/usr/local/src/mysql-connector-c++/cppconn/connection.h:80: error: overriding ‘virtual sql::SQLString sql::Connection::getSchema()’
../mysql_connection.h:71: error: invalid covariant return type for ‘virtual std::string sql::mysql::MySQL_Connection::getClientInfo()’
/usr/local/src/mysql-connector-c++/cppconn/connection.h:82: error: overriding ‘virtual sql::SQLString sql::Connection::getClientInfo()’
make: *** [mtest.o] Error 1

--/console-----------------------------------------------





I'm not really sure exactly what is going here. If anyone could shed some light on the problem it would be greatly appreciated. Thanks.

Compile with Mingw (3 replies)

$
0
0
Hi all,
Is there a way to compile with Mingw? I'm not willing to use MSVC compiler and would like to have mingw compiled library. Is there a way? If no why?
I have searched for long hours but there seems no way (Many proposed but doesn't work). Anyone successful?

Thanks!

Access violation - in release (1 reply)

$
0
0
Hi guys,

I've read quite a few posts now explaining how apps won't compile in debug mode, because the library was originally compiled in release mode. However, I'm only able to compile in debug mode - or, rather, the project compiles perfectly under both settings, only under release mode I get an access violation error message upon execution of my app, as most would get under debug mode.

How do I correct this? I naturally need to be able to compile properly under release mode.

Thanks.

PS. I'm using Visual Studio 2010, and I've installed the connector using the MSI.

MySQL C++ Connector doesn't compile (1 reply)

$
0
0
Hi! I'm trying to install mysql c++ connector but I can't. I'm working with cmake project in Code::Blocks.

cmake . and ccmake . run well, but when I'm going to make "make" that happends:

enri@enri-laptop:~/Descargas/mysql-connector-c++-1.0.5$ sudo make
Scanning dependencies of target mysqlcppconn
[ 0%] Building CXX object driver/CMakeFiles/mysqlcppconn.dir/mysql_art_resultset.o
/home/enri/Descargas/mysql-connector-c++-1.0.5/driver/mysql_art_resultset.cpp: In member function ‘std::string sql::mysql::MyVal::getString()’:
/home/enri/Descargas/mysql-connector-c++-1.0.5/driver/mysql_art_resultset.cpp:57: error: ‘snprintf’ was not declared in this scope
/home/enri/Descargas/mysql-connector-c++-1.0.5/driver/mysql_art_resultset.cpp:63: error: ‘snprintf’ was not declared in this scope
/home/enri/Descargas/mysql-connector-c++-1.0.5/driver/mysql_art_resultset.cpp:69: error: ‘snprintf’ was not declared in this scope
/home/enri/Descargas/mysql-connector-c++-1.0.5/driver/mysql_art_resultset.cpp:75: error: ‘snprintf’ was not declared in this scope
make[2]: *** [driver/CMakeFiles/mysqlcppconn.dir/mysql_art_resultset.o] Error 1
make[1]: *** [driver/CMakeFiles/mysqlcppconn.dir/all] Error 2
make: *** [all] Error 2


Any idea?

Do you know how to use the compile library in my Code::Blocks project?

Thank you!

MySQL Connector/C++: Bug Reports + Feature Requests (no replies)

$
0
0
If you are using MySQL Connector/C++, and want to:
- File a Bug Report
- File a Feature Request
- http://bugs.mysql.com/search.php

MySQL Workbench is the flagship reference customer for Connector/C++:
- 1+Mil downloads
- Cross Platform (Win, MacOS, Linux)
- Core IDE written in C++
- Download source code http://dev.mysql.com/downloads/workbench/

You may want to look at the source code for how MySQL Workbench uses Connector/C++

- Edwin

Connector/C++: Multithreading (no replies)

$
0
0
Unlike C# or Java, currently the C++ standard does not specify Multithreading. This will change with C++0x (the next gen C++ standard).

C++0x standard includes Multithreading:
- http://www2.research.att.com/~bs/C++0xFAQ.html [Bjarne Stroustrup]
- http://en.wikipedia.org/wiki/C++0x
- http://www.justsoftwaresolutions.co.uk/threading/multithreading-in-c++0x-part-8-futures-and-promises.html

C++ Programming/Threading
- http://en.wikibooks.org/wiki/C++_Programming/Threading


mysql++ docs on multi-threading:
- http://tangentsoft.net/mysql++/doc/html/userman/threads.html
- http://tangentsoft.net/mysql++/doc/html/userman/tutorial.html#concurrentqueries


see the discussion starting July 1:
- http://bugs.mysql.com/bug.php?id=49694

"The application was unable to start correctly (0xc000007b)" while connecting to a database (1 reply)

$
0
0
Hey fellas.
I'm trying to connect my MySQL database using C++ connector.
I've done the next so far:
1.Installed the connector
2. Created a new project
3. Configured it as Active(Release)
4. In properties, under C/C++ -> General -> Additional Include Directories, I've added the connector's "include" folder
5. In Linker -> General -> Additional Libary Directories, I've added the "lib/opt" subfolder.
6. I've also added "mysqlcppconn.lib" under Linker -> Input -> Additional Dependencies
7/ I've copied "mysqlcppconn.dll" into the .exe folder

After all of this, I tried running this simple code:
---------------------------------------------------
#include <stdlib.h>
#include <iostream>

#include "mysql_connection.h"
#include "mysql_driver.h"
#include <cppconn/driver.h>
#include <cppconn/exception.h>
#include <cppconn/resultset.h>
#include <cppconn/statement.h>

using namespace std;

int main(void)
{ sql:: driver *driver;
sql::Connection *con;
driver = get_driver_instance();
con = driver->connect("tcp://127.0.0.1:3306", "root", "root");
}
----------------------------------------------------

But I just keeping getting this error:
"The application was unable to start correctly (0xc000007b)"

Any ideas ?
Thanks ahead

#error 1040, Too many connections, How to disconnect mysql connection manual use Connect/c++? (1 reply)

$
0
0
I want to Insert mass data into Mysql by multi-thread in Windows.
It shows #error 1040, Too many connections

I set the
max_connections = 1000 in my.ini

after run 1000 thead, insert 1000 data into mysql, I cannot insert more.
and I use "netstat -an" check the port stats.
show a lots of
TCP 127.0.0.1:3306 127.0.0.1:1160 ESTABLISHED
TCP 127.0.0.1:3306 127.0.0.1:1163 ESTABLISHED
TCP 127.0.0.1:3306 127.0.0.1:1166 ESTABLISHED
TCP 127.0.0.1:3306 127.0.0.1:1169 ESTABLISHED
TCP 127.0.0.1:3306 127.0.0.1:1172 ESTABLISHED
TCP 127.0.0.1:3306 127.0.0.1:1175 ESTABLISHED
TCP 127.0.0.1:3306 127.0.0.1:1178 ESTABLISHED
TCP 127.0.0.1:3306 127.0.0.1:1181 ESTABLISHED
TCP 127.0.0.1:3306 127.0.0.1:1184 ESTABLISHED

and

TCP 127.0.0.1:4879 127.0.0.1:3306 TIME_WAIT
TCP 127.0.0.1:4882 127.0.0.1:3306 TIME_WAIT
TCP 127.0.0.1:4887 127.0.0.1:3306 TIME_WAIT
TCP 127.0.0.1:4890 127.0.0.1:3306 TIME_WAIT
TCP 127.0.0.1:4893 127.0.0.1:3306 TIME_WAIT
TCP 127.0.0.1:4898 127.0.0.1:3306 TIME_WAIT
TCP 127.0.0.1:4901 127.0.0.1:3306 TIME_WAIT
TCP 127.0.0.1:4905 127.0.0.1:3306 TIME_WAIT

I need to disconnect immediately when I finished the thead. How can I do?
If I use the c API, Can use the mysql_close(&mysql);
But I dont know how to use the Connect/c++ to close the connection


try
{
sql::Driver *driver;
sql::Connection *con;
sql::Statement *stmt;
sql::ResultSet *res;

/* Create a connection */
driver = get_driver_instance();
con = driver->connect("tcp://127.0.0.1:3306", "root", "root");
/* Connect to the MySQL test database */
con->setSchema("test");

stmt = con->createStatement();
res = stmt->executeQuery("insert data sql here.............");
}
delete res;
delete stmt;
con->close();
delete con;

}
catch (sql::SQLException &e)
{
;
}

MySQL C++ Connector (1 reply)

$
0
0
I'm a newbie trying to build an app on openSUSE11.2/Eclipse using mysql-connector-c++-1.0.5-linux-sles10-x86-64bit.tar.gz unpacked into /usr/local/lib and include.
I get a linker error /usr/lib64/gcc/x86_64-suse-linux..../ld: skipping incompatible /usr/local/lib/libmysqlcppconn.so when searching for -lmysqlcppconn
/usr/lib64/gcc/x86_64-suse-linux..../ld: cannot find -lmysqlcppconn.
I've set up the Library Search Path and Library correctly I think.
Do I have an incompatability problem? I would appreciate any help.

MySQL Connector/C++ vs MySQL++ (1 reply)

$
0
0
Hi,

I'm looking at my options for changing the c++ library that I use to acees my mySql databases, I'm currently using the Rude library which is very good but I'm coming up against some limitations with it.

The main thing that I want to be able to do but cant is to determine the column types and names from a dynamic query, effectively allowing the user to write the query and my program to format the results

I know this can be done with MySql++ does the same go for MySQL Connector?

Is MySQL Connector generally the direction to go in rather than MySql++ ?

can't connect to MySQL (2 replies)

$
0
0
I built the connector/c++ from source. I test the connector/c++ use the example ship with the source and all the examples run correct,but when I try to run the program compiled by myself from the same source file in example, the program couldn't connect to MySQL server. By the way, the platform is Ubuntu 10.04. Hope some one can help me solve this problem, thanks!

MySQL connector c++: source build problem; error C2371 (1.0.5, VS10) (1 reply)

$
0
0
Hi there!

I've been trying to build mysql connector c++ 1.0.5 source for few days.
I had used cmake and generated a solutnion but when i ty to build it, i get error C2371.

i tryed:
>cmake -G "Visual Studio 10"
and building by VS 10 IDE

and

>cmake -G "NMake Makefiles"
and building by >nmake

with same result.


Error list:

Error 1 error C2371: 'int8_t' : redefinition; different basic types D:\ProgramLib\MySQLConnector\cppconn\config.h 60 1 mysqlcppconn-static
Error 2 error C2371: 'int8_t' : redefinition; different basic types D:\ProgramLib\MySQLConnector\cppconn\config.h 60 1 mysqlcppconn
Error 3 error C2371: 'int8_t' : redefinition; different basic types d:\programlib\mysqlconnector\cppconn\config.h 60 1 mysqlcppconn-static
Error 4 error C2371: 'int8_t' : redefinition; different basic types d:\programlib\mysqlconnector\cppconn\config.h 60 1 mysqlcppconn
Error 5 error C2371: 'int8_t' : redefinition; different basic types D:\ProgramLib\MySQLConnector\cppconn\config.h 60 1 mysqlcppconn
Error 6 error C2371: 'int8_t' : redefinition; different basic types D:\ProgramLib\MySQLConnector\cppconn\config.h 60 1 mysqlcppconn-static
Error 7 error C2371: 'int8_t' : redefinition; different basic types d:\programlib\mysqlconnector\cppconn\config.h 60 1 mysqlcppconn
Error 8 error C2371: 'int8_t' : redefinition; different basic types d:\programlib\mysqlconnector\cppconn\config.h 60 1 mysqlcppconn-static
Error 10 error C2371: 'int8_t' : redefinition; different basic types D:\ProgramLib\MySQLConnector\cppconn\config.h 60 1 mysqlcppconn
Error 11 error C2371: 'int8_t' : redefinition; different basic types d:\programlib\mysqlconnector\cppconn\config.h 60 1 mysqlcppconn
Error 12 error C2371: 'int8_t' : redefinition; different basic types d:\programlib\mysqlconnector\cppconn\config.h 60 1 mysqlcppconn
Error 13 error C2371: 'int8_t' : redefinition; different basic types D:\ProgramLib\MySQLConnector\cppconn\config.h 60 1 mysqlcppconn-static
[...]


when i commented the error line (as someone suggested) i get:

Error 4 error C2440: 'initializing' : cannot convert from 'int' to 'char *' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\utility 163 1 mysqlcppconn
Error 5 error C2439: 'std::_Pair_base<_Ty1,_Ty2>::first' : member could not be initialized D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\utility 163 1 mysqlcppconn
Error 7 error C2440: 'initializing' : cannot convert from 'int' to 'char *' D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\utility 163 1 mysqlcppconn-static
Error 8 error C2439: 'std::_Pair_base<_Ty1,_Ty2>::first' : member could not be initialized D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\utility 163 1 mysqlcppconn-static
Error 20 error LNK1181: cannot open input file '..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\test\LINK static_test
Error 22 error LNK1181: cannot open input file '..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\examples\LINK statement
Error 24 error LNK1181: cannot open input file '..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\examples\LINK resultset_types
Error 26 error LNK1181: cannot open input file '..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\examples\LINK resultset_meta
Error 27 error LNK1181: cannot open input file '..\..\..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\test\unit\classes\LINK test_resultset
Error 28 error LNK1181: cannot open input file '..\..\..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\test\unit\classes\LINK test_preparedstatement
Error 29 error LNK1181: cannot open input file '..\..\..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\test\unit\classes\LINK test_parametermetadata
Error 30 error LNK1181: cannot open input file '..\..\..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\test\unit\classes\LINK test_resultsetmetadata
Error 31 error LNK1181: cannot open input file '..\..\..\driver\Release\mysqlcppconn-static.lib' D:\ProgramLib\MySQLConnector\test\unit\classes\LINK test_art_resultset
Error 33 error LNK1181: cannot open input file '..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\examples\LINK resultset_binary
Error 35 error LNK1181: cannot open input file '..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\examples\LINK prepared_statement
Error 36 error LNK1181: cannot open input file '..\..\..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\test\unit\classes\LINK test_statement
Error 37 error LNK1181: cannot open input file '..\..\..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\test\unit\classes\LINK test_connection
Error 40 error LNK1181: cannot open input file '..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\examples\LINK exceptions
Error 41 error LNK1181: cannot open input file '..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\examples\LINK resultset
Error 45 error LNK1181: cannot open input file '..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\test\LINK driver_test
Error 46 error LNK1181: cannot open input file '..\..\..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\test\unit\example\LINK example
Error 49 error LNK1181: cannot open input file '..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\examples\LINK connect
Error 50 error LNK1181: cannot open input file '..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\examples\LINK connection_meta_schemaobj
Error 55 error LNK1181: cannot open input file '..\..\..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\test\unit\template_bug_group\LINK bug456
Error 56 error LNK1181: cannot open input file '..\..\..\driver\Release\mysqlcppconn.lib' D:\ProgramLib\MySQLConnector\test\unit\template_bug_group\LINK bug123


i'll be glad for any solution.
Viewing all 529 articles
Browse latest View live


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