How to get C++connetor to work with mariadb server?

Following the official documentatation for installing the C++Connector and using the task.cpp exmple aslo from the official mariadb page, i can not get g++ compiler to work with the libmaria-dev libary or something in that direction. For spesific error-code's see my stackoverflow post:

https://stackoverflow.com/questions/74165281/how-do-i-compile-and-use-mariadb-c-connector-library-in-debian-10

What am i doing wrong, or is something wrong with the library?

Brg & Thanks

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.