How do I connect to Cassandra with the C++ driver?

843 Views Asked by At

I am trying to connect cassandra with c++ in linux ‘titan’ by using the cmake .nothing in the internet useful I found,

Can anyone help me with steps please?

1

There are 1 best solutions below

0
On

There are packages available for RHEL/CentOS and Ubuntu on the C++ driver Installation page. You can find the download links for the dependencies on the same page.

You'll need to install the dependencies and runtime library. See the Installation instructions for details.

Once you've installed the driver, try running the sample code for connecting to a Cassandra cluster in the C++ driver Getting started guide. Cheers!