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

Connector crashing on Windows (14 replies)

$
0
0
I am trying to install and use the c++ connector. I downloaded the DEBUG version of the connector. Linked the mysqlcppconn8.lib to my project, added the libcrypto-1_1.dll, libssl-1_1.dll and mysqlcppconn8-2-vs14.dll to my project directory. It compiles, seems to work, but crashes when opening a session. It looks like a bad library linked to the wrong dll or something (even though I did use both from the windows debug package).
I also added the preprocessor flag STATIC_CONCPP.

A simple: mysqlx::Session Sess(mysqlx://"root@127.0.0.1") crashes in the function:

Session(SessionSettings settings)
try
: Session_detail(settings)
{}
CATCH_AND_WRAP

with multiple memory errors like:
cdk::foundation::Generic_error at memory location 0x00AEE30C
[rethrow] at memory location 0x00000000.
mysqlx::abi2::r0::Error at memory location 0x00AEE9F0.


I use VS 2019 on windows. Downloaded the latest connector on DEBUG (I compile on DEBUG too).

Any idea?

Viewing all articles
Browse latest Browse all 527

Trending Articles



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