by jasper » 24 May 2023, 06:40
Although COBIA works find on linux, some minor details (such as where is the registry stored, currently this would be exclusively in ~/.COBIA), there is no official CO-LaN release yet. The only part that is really needed from the SDK to develop against is the include folder - the include files work for both linux and Windows, so you can for now just compile against the Windows header files. The one difference between coding for linux and Windows is that COBIA strings are represented by UTF-8 on all platforms but Windows, but UTF-16 on Windows. So when you use strings and you want then to compile on both linux and Windows, you could e.g. use std::basic_string<COBIACharacter>, and string constants are best wrapped in the COBIATEXT macro, e.g. COBIATEXT("hello"), which evalutes to L"hello" if _WIN32 is defined, or "hello" otherwise.
You can at the moment compile COBIA on linux yourself, provided you are CO-LaN member and have been given access to the source code; cmake will set things up for you and also take care of installing the files to the right location (currently only for the current user on Linux).