When lakers-c headers are generated by the cbindgen tool they currently are strictly C compatible, meaning cannot be linked to with C++. But there is a cbindgen option cpp_compat which enables C++ compatibility in a way which can still be C compatible.
The default lakers configuration in cbindgen.toml should include this option in the top-level group: