Skip to content

Wrap craydl in a C api

Samuel Debionne requested to merge craydl-c-api into master

This intends to solve the following problem:

  • Rayonix camera comes with a backend computer with GCC 4.4, a pre c++11 compiler and Boost 1.46, also not compatible with c++11 and GCC > 4.5
  • Lima requires a modern C++11 compiler (or might require in the future)
  • Conda packages are build with GCC 7.2

Using a C wrapper around the SDK and compiling independently the C wrapper with the native compiler and Lima with Conda compiler solves this issue.

This is more a proof of concept to make sure that we are not stuck to support extremely old version of compilers just because we need to keep binary compatibility with SDKs for which no source code is available and recompiling is not an option. The effort to wrap the SDK in C could be automated, but the plugin probably needs to be updated by hand.

Edited by Laurent Claustre

Merge request reports

Loading