About the C++ API category

The CVB++ API (see also this post) is a new object oriented wrapper for the :cvb: SDK. It has been designed as header-only library on top of the classic C-like API. Therefore its interface conveniently uses the C++11 standard library features.

Be aware that you must use a complier, that is fully C++11 compliant. For UI integration some optional headers based on Qt5 are provided. In order to enable high performance cross platform rendering, the following paint engines can be used:

  • Software rasterizer
  • OpenGL (ES) 2
  • OpenGL (ES) 3

The first two are part of Qt and available on most platforms. The third option requires at lease Qt 5.6 as it uses DMA transfer to the GPU. On incompatible hardware OpenGL (ES) 3 may disabled at compile time.

Recommendation

  • Use a CMake as build tool. :cvb: provides a script file to automatically find headers and libraries.
  • If you encounter missing :cvb: tools (currently all) be aware, that you may combine the C++ wrapper with :cvb:'s classic C API wherever it suits you.

3 posts were split to a new topic: Find CVB libraries via CMake