Bar30 in Jetson Nano with C++

Hello, I am developing a Biomimetic Underwater Vehicle, and I pretend to use the Bar30 sensor for obtain the depht and tempeture.

I use the middleware ROS and I want write all my drivers in C++.
There is only the library in Arduino in C ++ but in Linux there is no wire library. I tried use the libi2c (https://github.com/amaork/libi2c ) and adapt the library of arduino to c++. But I can read the data correctly.

Can someone help me please?

I can’t help with libi2c, but I’ve had success with the Intel MRAA library, see:

I’m running:
Ubuntu 18.04 on a small x86 board
ROS2 Eloquent (works with ROS2 Dashing as well)

you can help me?
I see the library and thank you a lot. But I have a problem in my code. Can you meet me in skype reunion?